isso/setup.py

48 lines
1.4 KiB
Python
Raw Normal View History

2012-10-16 13:45:02 +00:00
#!/usr/bin/env python
# -*- encoding: utf-8 -*-
2013-09-13 15:51:00 +00:00
import sys
2012-10-16 13:45:02 +00:00
from setuptools import setup, find_packages
requires = ['itsdangerous', 'Jinja2', 'misaka>=2.0,<3.0', 'html5lib',
'werkzeug>=0.9', 'bleach']
2013-09-13 15:51:00 +00:00
if sys.version_info < (2, 7):
raise SystemExit("Python 2 versions < 2.7 are not supported.")
elif (3, 0) <= sys.version_info < (3, 4):
raise SystemExit("Python 3 versions < 3.4 are not supported.")
2013-10-09 14:28:54 +00:00
2012-10-16 13:45:02 +00:00
setup(
name='isso',
2018-11-03 15:01:37 +00:00
version='0.11.0',
author='Martin Zimmermann',
2012-10-16 13:45:02 +00:00
author_email='info@posativ.org',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
2012-10-16 13:45:02 +00:00
url='https://github.com/posativ/isso/',
license='MIT',
2012-10-16 13:45:02 +00:00
description='lightweight Disqus alternative',
classifiers=[
"Development Status :: 4 - Beta",
2012-10-16 13:45:02 +00:00
"Topic :: Internet",
"Topic :: Internet :: WWW/HTTP :: HTTP Servers",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
2013-11-05 12:10:41 +00:00
"License :: OSI Approved :: MIT License",
2013-10-09 14:28:54 +00:00
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6"
2012-10-16 13:45:02 +00:00
],
2013-09-13 15:51:00 +00:00
install_requires=requires,
extras_require={
':python_version=="2.7"': ['ipaddr>=2.1', 'configparser']
},
2015-10-29 03:00:04 +00:00
setup_requires=["cffi>=1.3.0"],
2012-10-16 13:45:02 +00:00
entry_points={
'console_scripts':
['isso = isso:main'],
2014-03-28 11:28:52 +00:00
}
2012-10-16 13:45:02 +00:00
)