367ee48b76
With the release of misaka 2.0, new users experienced breakage when 2.0 was installed (#208). 2.0 has a slightly different API, and Python 2.6 support in 2.0 is not yet released. #212 contains the update to 2.0, so this change should only be a stopgap until the next misaka release with Py2.6 support.
45 lines
1.2 KiB
Python
45 lines
1.2 KiB
Python
#!/usr/bin/env python
|
|
# -*- encoding: utf-8 -*-
|
|
|
|
import sys
|
|
|
|
from setuptools import setup, find_packages
|
|
|
|
requires = ['itsdangerous', 'misaka>=1.0,<2.0', 'html5lib<0.9999']
|
|
|
|
if (3, 0) <= sys.version_info < (3, 3):
|
|
raise SystemExit("Python 3.0, 3.1 and 3.2 are not supported")
|
|
|
|
if sys.version_info < (3, 0):
|
|
requires += ['ipaddr>=2.1', 'configparser', 'werkzeug>=0.8']
|
|
else:
|
|
requires += ['werkzeug>=0.9']
|
|
|
|
setup(
|
|
name='isso',
|
|
version='0.10.dev0',
|
|
author='Martin Zimmermann',
|
|
author_email='info@posativ.org',
|
|
packages=find_packages(),
|
|
include_package_data=True,
|
|
zip_safe=True,
|
|
url='https://github.com/posativ/isso/',
|
|
license='MIT',
|
|
description='lightweight Disqus alternative',
|
|
classifiers=[
|
|
"Development Status :: 4 - Beta",
|
|
"Topic :: Internet",
|
|
"Topic :: Internet :: WWW/HTTP :: HTTP Servers",
|
|
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Programming Language :: Python :: 2.6",
|
|
"Programming Language :: Python :: 2.7",
|
|
"Programming Language :: Python :: 3.3"
|
|
],
|
|
install_requires=requires,
|
|
entry_points={
|
|
'console_scripts':
|
|
['isso = isso:main'],
|
|
}
|
|
)
|