|
|
|
@ -8,8 +8,8 @@ from setuptools import setup, find_packages
|
|
|
|
|
requires = ['itsdangerous', 'Jinja2', 'misaka>=2.0,<3.0', 'html5lib',
|
|
|
|
|
'werkzeug>=1.0', 'bleach', 'flask-caching']
|
|
|
|
|
|
|
|
|
|
if sys.version_info < (2, 7):
|
|
|
|
|
raise SystemExit("Python 2 versions < 2.7 are not supported.")
|
|
|
|
|
if sys.version_info < (3, ):
|
|
|
|
|
raise SystemExit("Python 2 is not supported.")
|
|
|
|
|
elif (3, 0) <= sys.version_info < (3, 4):
|
|
|
|
|
raise SystemExit("Python 3 versions < 3.4 are not supported.")
|
|
|
|
|
|
|
|
|
@ -30,16 +30,12 @@ setup(
|
|
|
|
|
"Topic :: Internet :: WWW/HTTP :: HTTP Servers",
|
|
|
|
|
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
|
|
|
|
|
"License :: OSI Approved :: MIT License",
|
|
|
|
|
"Programming Language :: Python :: 2.7",
|
|
|
|
|
"Programming Language :: Python :: 3.5",
|
|
|
|
|
"Programming Language :: Python :: 3.6"
|
|
|
|
|
"Programming Language :: Python :: 3.7"
|
|
|
|
|
"Programming Language :: Python :: 3.8"
|
|
|
|
|
],
|
|
|
|
|
install_requires=requires,
|
|
|
|
|
extras_require={
|
|
|
|
|
':python_version=="2.7"': ['ipaddr>=2.1', 'configparser']
|
|
|
|
|
},
|
|
|
|
|
setup_requires=["cffi>=1.3.0"],
|
|
|
|
|
entry_points={
|
|
|
|
|
'console_scripts':
|
|
|
|
|