-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathsetup.py
executable file
·50 lines (45 loc) · 1.19 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#!/usr/bin/env python2
from setuptools import setup, Extension
library_dirs = [
'src/.libs'
]
libraries = [
'obf',
]
compile_args = [
'-O3',
'-Wall',
'-Wextra',
'-Isrc',
]
obfuscator = Extension(
'pyobf._obfuscator',
library_dirs=library_dirs,
libraries=libraries,
extra_compile_args=compile_args,
sources=[
'pywrapper/obfuscator_wrapper.cpp',
'pywrapper/pyutils.cpp',
]
)
setup(name='obfuscator',
author='Alex J. Malozemoff',
author_email='[email protected]',
version='0.2a0',
description='Implementation of cryptographic program obfuscation',
license='GPLv2',
url='https://github.com/amaloz/obfuscation',
packages=['pyobf'],
ext_modules=[obfuscator],
scripts=['obfuscator'],
test_suite='t',
classifiers=[
'Topic :: Security :: Cryptography',
'Environment :: Console',
'Development Status :: 3 - Alpha',
'Intended Audience :: Science/Research',
'Operating System :: Unix',
'License :: OSI Approved :: Free For Educational Use',
'Programming Language :: C',
'Programming Language :: Python',
])