forked from mitre/pydecipher
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
65 lines (59 loc) · 1.8 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# -*- coding: utf-8 -*-
"""Distutils setup information for pydecipher."""
import setuptools
with open("README.rst", "r") as fh:
long_description = fh.read()
doc_requires = ["sphinx", "sphinx_rtd_theme", "towncrier"]
test_requires = [
"pytest",
"dataclasses",
]
dev_requires = (
doc_requires
+ test_requires
+ ["bump2version", "black", "pre-commit", "flake8", "flake8-docstrings", "restructuredtext-lint"]
)
EXTRAS = {
"dev": dev_requires,
"docs": doc_requires,
"test": test_requires,
}
setuptools.setup(
name="pydecipher",
version="1.0.0",
author="The MITRE Corporation",
author_email="[email protected]",
description="Python un-freezing and bytecode extraction + analysis framework",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/mitre/pydecipher",
packages=setuptools.find_packages(),
classifiers=[
"Development Status :: 3 - Beta",
"Environment :: Console",
"Intended Audience :: Information Technology",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Security",
"Topic :: Software Development :: Code Generators",
"Topic :: Software Development :: Disassemblers",
],
install_requires=[
# "xdis",
"xdis @ git+https://github.com/mitre/python-xdis.git@alternate_opmap",
"python-magic",
"argparse",
"six",
"pefile",
"uncompyle6",
"signify>=0.3.0",
"asn1crypto",
"pycrypto",
"textdistance",
"Pebble",
],
extras_require=EXTRAS,
entry_points={
"console_scripts": ["pydecipher=pydecipher.main:run", "melt=pydecipher.main:run", "remap=pydecipher.remap:run"],
},
)