from setuptools import setup

exec (open('plotly/version.py').read())


def readme():
    with open('README.rst') as f:
        return f.read()


setup(name='plotly',
      version=__version__,
      use_2to3=False,
      author='Chris P',
      author_email='chris@plot.ly',
      maintainer='Chris P',
      maintainer_email='chris@plot.ly',
      url='https://plot.ly/api/python',
      description="Python plotting library for collaborative, "
                  "interactive, publication-quality graphs.",
      long_description=readme(),
      classifiers=[
          'Development Status :: 4 - Beta',
          'Programming Language :: Python :: 2',
          'Programming Language :: Python :: 2.6',
          'Programming Language :: Python :: 2.7',
          'Programming Language :: Python :: 3',
          'Programming Language :: Python :: 3.2',
          'Programming Language :: Python :: 3.3',
          'Programming Language :: Python :: 3.4',
          'Topic :: Scientific/Engineering :: Visualization',
      ],
      license='MIT',
      packages=['plotly',
                'plotly/plotly',
                'plotly/plotly/chunked_requests',
                'plotly/graph_objs',
                'plotly/grid_objs',
                'plotly/widgets',
                'plotly/matplotlylib',
                'plotly/matplotlylib/mplexporter',
                'plotly/matplotlylib/mplexporter/renderers'],
      package_data={'plotly': ['graph_reference/*.json', 'widgets/*.js']},
      install_requires=['requests',
                        'six',
                        'pytz',
                        'ordereddict',
                        'simplejson'],
      zip_safe=False)

@@ -1527,78 +1527,31 @@
 ts',
-%0A                        'six',%0A                       
+ 'six',
  'pytz'
+%5D
 ,%0A      
     
@@ -1550,78 +1550,63 @@
     
-   
-               'ordereddict',%0A                        'simplejson'%5D
+extras_require=%7B%22PY2.6%22: %5B'simplejson', 'ordereddict'%5D%7D
 ,%0A  

Add an extras_require option to setup.py (more)