from setuptools import setup

setup(
    name='pymessenger',
    packages=['pymessenger'],
    version='1.0.0',
    install_requires=[
        'requests',
        'requests-toolbelt',
        'six'
    ],
    description="Python Wrapper for Facebook Messenger Platform",
    author='David Chua',
    author_email='zhchua@gmail.com',
    url='https://github.com/davidchua/pymessenger',
    download_url='https://github.com/davidchua/pymessenger/tarball/1.0.0',
    keywords=['facebook messenger', 'python', 'wrapper', 'bot', 'messenger bot'],
    classifiers=[],
)

@@ -23,16 +23,200 @@
  setup%0A%0A
+installation_requirements = %5B%0A    'requests',%0A    'requests-toolbelt',%0A    'six'%0A%5D%0A%0Atry:%0A    import enum%0A    del enum%0Aexcept ImportError:%0A    installation_requirements.append('enum')%0A%0A
 setup(%0A 
@@ -314,78 +314,33 @@
 res=
-%5B%0A        'requests',%0A        'requests-toolbelt',%0A        'six'%0A    %5D
+installation_requirements
 ,%0A  

check if enum installed and add to installation_requirements if not. This is a fix for Python 2 installations