forked from rocky/python-decompile3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·37 lines (33 loc) · 1.33 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
#!/usr/bin/env python
import sys
"""Setup script for the 'decompyle3' distribution."""
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)
from __pkginfo__ import \
author, author_email, install_requires, \
license, long_description, classifiers, \
entry_points, modname, py_modules, \
short_desc, VERSION, web, \
zip_safe
from setuptools import setup, find_packages
setup(
author = author,
author_email = author_email,
classifiers = classifiers,
description = short_desc,
entry_points = entry_points,
install_requires = install_requires,
license = license,
long_description = long_description,
name = modname,
packages = find_packages(),
py_modules = py_modules,
test_suite = 'nose.collector',
url = web,
tests_require = ['nose>=1.0'],
version = VERSION,
zip_safe = zip_safe)