from distutils.core import setup

requires = ['docopt', 'fuzzywuzzy', 'pyxdg']

setup(
    name='jay',
    version='0.1',
    description='A command line tool for quickly jumping around your filesystem.',
    license='MIT',
    long_description='A command line tool for quickly jumping around your filesystem.',
    author='hernantz',
    author_email='hernantz@gmail.com',
    install_requires=requires,
    entry_points = {
        'console_scripts': ['jay = jay:main']
    },
    packages=['jay'],
    package_data = {'jay': ['jay.bash', 'jay-autocomplete.bash']},
    classifiers=[
        'Environment :: Console',
        'Intended Audience :: End Users/Desktop',
        'Intended Audience :: System Administrators',
        'License :: MIT',
        'Operating System :: MacOS :: MacOS X',
        'Operating System :: POSIX',
        'Programming Language :: Python',
    ],
)

@@ -1,8 +1,19 @@
+import sys%0A
 from dis
@@ -38,16 +38,17 @@
  setup%0A%0A
+%0A
 requires
@@ -84,16 +84,104 @@
 pyxdg'%5D%0A
+if sys.version_info.major %3C 3:%0A    requires += %5B'unicodecsv'%5D  # use only in python2.x%0A%0A
 %0Asetup(%0A

Install unicodecsv if in python2.x in setup.py