# 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
)

# ================================================= setup ================================================= #


setup(
    name='pyconcrete',
    version=version,
    description='Protect your python script, encrypt it as .pye and decrypt when import it',
    long_description=readme,
    keywords='python source encryption obfuscation',
    author='Falldog',
    author_email='falldog7@gmail.com',
    url='https://github.com/Falldog/pyconcrete',
    license="Apache License 2.0",
    ext_modules=[ext_module],
    exe_modules=[exe_module],
    cmdclass={
        "build": BuildEx,
        "build_exe": BuildExe,
        "install": InstallEx,
        "test": TestEx,
    },
    scripts=[
        'pyconcrete-admin.py',
    ],
    packages=[
        'pyconcrete',
    ],
    package_dir={

# 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

)

# ================================================= setup ================================================= #


setup(
    name='pyconcrete',
    version=version,
    description='Protect your python script, encrypt it as .pye and decrypt when import it',
    long_description=readme,
    keywords='python source encryption obfuscation',
    author='Falldog',
    author_email='falldog7@gmail.com',
    url='https://github.com/Falldog/pyconcrete',
    license="Apache License 2.0",
    ext_modules=[ext_module],
    exe_modules=[exe_module],
    cmdclass={
        "build": BuildEx,
        "build_exe": BuildExe,
        "install": InstallEx,
        "test": TestEx,
    },
    scripts=[
        'pyconcrete-admin.py',
    ],
    packages=[
        'pyconcrete',
    ],
    package_dir={

        '': SRC_DIR,