forked from liftoff/pyminifier
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsetup.py
executable file
·47 lines (44 loc) · 1.51 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
import sys
import pyminifier
from setuptools import setup
if isinstance(sys.version_info, tuple):
major = sys.version_info[0]
else:
major = sys.version_info.major
if major == 2:
print("Python 2 is no longer supported.")
sys.exit(1)
setup(
name="pyminifier",
version=pyminifier.__version__,
description="Python code minifier, obfuscator, and compressor",
author=pyminifier.__author__,
author_email="[email protected]",
url="https://github.com/liftoff/pyminifier",
license="Proprietary",
packages=['pyminifier'],
classifiers=[
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.1",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"License :: OSI Approved :: GNU Affero General Public License v3",
"Topic :: Software Development :: Build Tools",
"Topic :: Software Development :: Libraries :: Python Modules",
],
provides=['pyminifier'],
entry_points = {
'console_scripts': [
'pyminifier = pyminifier.__main__:main'
],
},
test_suite = "tests",
)