Skip to content
Myr

install simplejson if python < 2.6

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Kenneth Reitz · committed by Kenneth Reitz · parent 6e14d47 · Browse files · 1 file+4 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+4 added−3 removed

  • other:+4 added−3 removed

1 file+4 added−3 removed

modified:setup.py+4 added-3 removed
6 unmodified lines
78from distutils.core import setup91011 1112if sys.argv[-1] == "publish":13 os.system("python setup.py sdist upload")14 sys.exit()1516if sys.argv[-1] == "test":17 os.system("python test_requests.py")18 sys.exit()19 1920required = []2122# if python > 2.6, require simplejson22if sys.version_info[:2] < (2,6):23 required.append('simplejson')2425setup(26 name='requests',27 version=requests.__version__,
26 unmodified lines