forked from isra17/nrs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·31 lines (25 loc) · 860 Bytes
/
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
#!/usr/bin/env python
from setuptools import setup, Extension
bzlib = Extension('nrs.ext.bzlib._bzlib', [
'nrs/ext/bzlib/bzlib.i',
'nrs/ext/bzlib/bzlib.c',
'nrs/ext/bzlib/decompress.c',
'nrs/ext/bzlib/huffman.c'
], depends=['nrs/ext/bzlib/bzlib.h'])
lzma = Extension('nrs.ext.lzma._lzma', [
'nrs/ext/lzma/lzma.i',
'nrs/ext/lzma/LZMADecode.c',
], depends=['nrs/ext/lzma/LZMADecode.h'])
setup(name='nrs',
version='0.2.3',
description='NSIS Reversing Suite',
author='isra17',
author_email='isra017@gmail.com',
url='https://github.com/isra17/nrs',
packages=['nrs','nrs.ext', 'nrs.ext.bzlib', 'nrs.ext.lzma', 'nrs.ida', \
'nrs.strings'],
install_requires=['future'],
setup_requires=['pytest-runner'],
tests_require=['pytest'],
ext_modules=[bzlib, lzma]
)