Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fa5937a

Browse files
committed
Add an extras_require option to setup.py (more)
Just like how you can do: pip install ipython[notebook] You can now do: pip install plotly[PY2.6]
1 parent 4a19ce2 commit fa5937a

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

setup.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,6 @@ def readme():
4141
'plotly/matplotlylib/mplexporter',
4242
'plotly/matplotlylib/mplexporter/renderers'],
4343
package_data={'plotly': ['graph_reference/*.json', 'widgets/*.js']},
44-
install_requires=['requests',
45-
'six',
46-
'pytz',
47-
'ordereddict',
48-
'simplejson'],
44+
install_requires=['requests', 'six', 'pytz'],
45+
extras_require={"PY2.6": ['simplejson', 'ordereddict']},
4946
zip_safe=False)

0 commit comments

Comments
 (0)