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
|
|
|
|
|
2013-11-03 23:54:28 +00:00
|
|
|
requires = ['itsdangerous', 'misaka', 'html5lib']
|
2013-09-13 15:51:00 +00:00
|
|
|
|
2013-10-09 14:28:54 +00:00
|
|
|
if (3, 0) <= sys.version_info < (3, 3):
|
|
|
|
raise SystemExit("Python 3.0, 3.1 and 3.2 are not supported")
|
|
|
|
|
2013-09-13 15:51:00 +00:00
|
|
|
if sys.version_info < (3, 0):
|
2013-11-03 23:54:28 +00:00
|
|
|
requires += ['ipaddress', 'configparser', 'werkzeug>=0.8']
|
|
|
|
else:
|
|
|
|
requires += ['werkzeug>=0.9']
|
2013-09-13 15:51:00 +00:00
|
|
|
|
2012-10-16 13:45:02 +00:00
|
|
|
setup(
|
|
|
|
name='isso',
|
2013-11-01 16:05:24 +00:00
|
|
|
version='0.4.dev0',
|
2012-12-16 16:59:17 +00:00
|
|
|
author='Martin Zimmermann',
|
2012-10-16 13:45:02 +00:00
|
|
|
author_email='info@posativ.org',
|
|
|
|
packages=find_packages(),
|
2012-12-16 16:59:17 +00:00
|
|
|
include_package_data=True,
|
2012-10-16 13:45:02 +00:00
|
|
|
zip_safe=True,
|
|
|
|
url='https://github.com/posativ/isso/',
|
|
|
|
license='BSD revised',
|
|
|
|
description='lightweight Disqus alternative',
|
|
|
|
classifiers=[
|
|
|
|
"Development Status :: 3 - Alpha",
|
|
|
|
"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",
|
2012-10-16 13:45:02 +00:00
|
|
|
"Programming Language :: Python :: 2.6",
|
2013-10-09 14:28:54 +00:00
|
|
|
"Programming Language :: Python :: 2.7",
|
|
|
|
"Programming Language :: Python :: 3.3"
|
2012-10-16 13:45:02 +00:00
|
|
|
],
|
2013-09-13 15:51:00 +00:00
|
|
|
install_requires=requires,
|
2012-10-16 13:45:02 +00:00
|
|
|
entry_points={
|
|
|
|
'console_scripts':
|
|
|
|
['isso = isso:main'],
|
|
|
|
},
|
|
|
|
)
|