Skip to content

Commit 10375f2

Browse files
committed
Add strict requirements for python 2.6. (more)
Though these requirements are unecessary for Python versions after 2.6, they’re small, harmless libs to import. They ended up being included in stdlib anyways.
1 parent a0dad3c commit 10375f2

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

requirements.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,7 @@ six==1.8.0
1313

1414
## timezone definitions ##
1515
pytz==2014.9
16+
17+
## 2.6 python dependencies ##
18+
simplejson==3.6.5
19+
ordereddict==1.1

setup.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,9 @@ def readme():
4040
'plotly/matplotlylib/mplexporter',
4141
'plotly/matplotlylib/mplexporter/renderers'],
4242
package_data={'plotly': ['graph_reference/*.json']},
43-
install_requires=['requests', 'six', 'pytz'],
43+
install_requires=['requests',
44+
'six',
45+
'pytz',
46+
'ordereddict',
47+
'simplejson'],
4448
zip_safe=False)

0 commit comments

Comments
 (0)