# Path: src/config.py
# DEFAULT_KEY = 'Falldog'
# 
# EXE_SRC_DIR = join(SRC_DIR, 'pyconcrete_exe')
# 
# EXT_SRC_DIR = join(SRC_DIR, 'pyconcrete_ext')
# 
# PY_SRC_DIR = join(SRC_DIR, 'pyconcrete')
# 
# SECRET_HEADER_PATH = join(EXT_SRC_DIR, 'secret_key.h')
# 
# SRC_DIR = join('src')
# 
# TEST_DIR = 'test'


import hashlib
import imp
import os
import subprocess
import sys
import sysconfig
        import unittest
from distutils.command.build import build
from distutils.command.build_ext import build_ext
from distutils.command.install import install
from distutils.core import Command, Extension, setup
from distutils.dist import Distribution
from os.path import join
from src.config import DEFAULT_KEY, EXE_SRC_DIR, EXT_SRC_DIR, PY_SRC_DIR, SECRET_HEADER_PATH, SRC_DIR, TEST_DIR
        ldflags = ldflags.decode('utf8')
        return [ld for ld in ldflags.split() if ld.startswith('-L')]

    return None


include_dirs = get_include_dirs()
openaes_sources = [
    join(EXT_SRC_DIR, 'openaes', 'src', 'oaes_base64.c'),
    join(EXT_SRC_DIR, 'openaes', 'src', 'oaes_lib.c'),
]

ext_module = Extension(
    'pyconcrete._pyconcrete',
    include_dirs=include_dirs,
    libraries=get_libraries(include_python_lib=False),
    sources=[
        join(EXT_SRC_DIR, 'pyconcrete.c'),
        join(EXT_SRC_DIR, 'pyconcrete_module.c'),
    ]
    + openaes_sources,
)

exe_module = Extension(
    'pyconcrete',
    include_dirs=include_dirs,
    libraries=get_libraries(include_python_lib=True),
    define_macros=[('PYCONCRETE_VERSION', '"%s"' % version)],
    extra_link_args=get_exe_link_args(),
    sources=[

# Path: src/config.py
# DEFAULT_KEY = 'Falldog'
# 
# EXE_SRC_DIR = join(SRC_DIR, 'pyconcrete_exe')
# 
# EXT_SRC_DIR = join(SRC_DIR, 'pyconcrete_ext')
# 
# PY_SRC_DIR = join(SRC_DIR, 'pyconcrete')
# 
# SECRET_HEADER_PATH = join(EXT_SRC_DIR, 'secret_key.h')
# 
# SRC_DIR = join('src')
# 
# TEST_DIR = 'test'


# Path: setup.py
import hashlib
import imp
import os
import subprocess
import sys
import sysconfig
        import unittest
from distutils.command.build import build
from distutils.command.build_ext import build_ext
from distutils.command.install import install
from distutils.core import Command, Extension, setup
from distutils.dist import Distribution
from os.path import join
from src.config import DEFAULT_KEY, EXE_SRC_DIR, EXT_SRC_DIR, PY_SRC_DIR, SECRET_HEADER_PATH, SRC_DIR, TEST_DIR

        ldflags = ldflags.decode('utf8')
        return [ld for ld in ldflags.split() if ld.startswith('-L')]

    return None


include_dirs = get_include_dirs()
openaes_sources = [
    join(EXT_SRC_DIR, 'openaes', 'src', 'oaes_base64.c'),
    join(EXT_SRC_DIR, 'openaes', 'src', 'oaes_lib.c'),
]

ext_module = Extension(
    'pyconcrete._pyconcrete',
    include_dirs=include_dirs,
    libraries=get_libraries(include_python_lib=False),
    sources=[
        join(EXT_SRC_DIR, 'pyconcrete.c'),
        join(EXT_SRC_DIR, 'pyconcrete_module.c'),
    ]
    + openaes_sources,
)

exe_module = Extension(
    'pyconcrete',
    include_dirs=include_dirs,
    libraries=get_libraries(include_python_lib=True),
    define_macros=[('PYCONCRETE_VERSION', '"%s"' % version)],
    extra_link_args=get_exe_link_args(),
    sources=[

        join(EXE_SRC_DIR, 'pyconcrete_exe.c'),