-
-
Notifications
You must be signed in to change notification settings - Fork 155
/
setup.py
executable file
·55 lines (50 loc) · 1.29 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
#!/usr/bin/env python
"""Setup script for the 'decompyle3' distribution."""
import sys
import setuptools
from __pkginfo__ import (
__version__,
author,
author_email,
classifiers,
entry_points,
install_requires,
license,
long_description,
modname,
py_modules,
short_desc,
web,
zip_safe,
)
SYS_VERSION = sys.version_info[0:2]
if SYS_VERSION < (3, 7):
mess = f"\nThis package is not supported for Python version {sys.version[0:3]}."
mess += "\nFor earlier versions, use uncompyle6."
print(mess)
raise Exception(mess)
setuptools.setup(
author=author,
author_email=author_email,
classifiers=classifiers,
description=short_desc,
# entry_points=entry_points,
entry_points={
"console_scripts": [
"decompyle3=decompyle3.bin.decompile:main_bin",
"decompyle3-code=decompyle3.bin.decompile_code_type:main",
"decompyle3-tokens=decompyle3.bin.decompile_tokens:main",
]
},
install_requires=install_requires,
license=license,
long_description=long_description,
name=modname,
packages=setuptools.find_packages(),
py_modules=py_modules,
test_suite="nose.collector",
url=web,
tests_require=["nose>=1.0"],
version=__version__,
zip_safe=zip_safe,
)