#!/usr/bin/env python
# -*- encoding: utf-8 -*-

from setuptools import setup, find_packages

setup(
    name='isso',
    version='0.1',
    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='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",
        "Programming Language :: Python :: 2.7"
    ],
    install_requires=['Jinja2>=2.7', 'werkzeug>=0.9', 'itsdangerous', 'misaka', 'html5lib'],
    entry_points={
        'console_scripts':
            ['isso = isso:main'],
    },
)

@@ -42,16 +42,28 @@
 -8 -*-%0A%0A
+import sys%0A%0A
 from set
@@ -99,16 +99,160 @@
 ckages%0A%0A
+requires = %5B'Jinja2%3E=2.7', 'werkzeug%3E=0.9', 'itsdangerous', 'misaka', 'html5lib'%5D%0A%0Aif sys.version_info %3C (3, 0):%0A    requires += %5B'ipaddress'%5D%0A%0A
 setup(%0A 
@@ -946,78 +946,16 @@
 res=
-%5B'Jinja2%3E=2.7', 'werkzeug%3E=0.9', 'itsdangerous', 'misaka', 'html5lib'%5D
+requires
 ,%0A  

add ipaddress to setup.py