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-09-13 15:51:00 +00:00
|
|
|
requires = ['Jinja2>=2.7', 'werkzeug>=0.9', 'itsdangerous', 'misaka', 'html5lib']
|
|
|
|
|
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-10-09 13:49:12 +00:00
|
|
|
requires += ['ipaddress', 'configparser']
|
2013-09-13 15:51:00 +00:00
|
|
|
|
2012-10-16 13:45:02 +00:00
|
|
|
setup(
|
|
|
|
name='isso',
|
2013-10-29 23:31:09 +00:00
|
|
|
version='0.3.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",
|
|
|
|
"License :: OSI Approved :: BSD License",
|
|
|
|
"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'],
|
|
|
|
},
|
|
|
|
)
|