summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorIan Cordasco <graffatcolmingov@gmail.com>2017-05-25 18:44:30 -0500
committerIan Cordasco <graffatcolmingov@gmail.com>2017-05-25 18:44:30 -0500
commite038aad3ccbd5526346150bd37c8c8a8ee0a0b9b (patch)
tree0fc4f3707721d4928eb80c684121120c2c06c4b7 /setup.py
parent4f8f4b5fb3d61f39e47099597d3bb85974d85357 (diff)
downloadpython-requests-e038aad3ccbd5526346150bd37c8c8a8ee0a0b9b.tar.gz
Avoid breaking people using requests.__version__
Using __version__ as a module breaks users who expect requests.__version__ to be the version string.
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index 534b23aa..fd8a1716 100755
--- a/setup.py
+++ b/setup.py
@@ -53,7 +53,7 @@ requires = []
test_requirements = ['pytest>=2.8.0', 'pytest-httpbin==0.0.7', 'pytest-cov', 'pytest-mock']
about = {}
-with open(os.path.join(here, 'requests', '__version__.py')) as f:
+with open(os.path.join(here, 'requests', '__about__.py')) as f:
exec(f.read(), about)
with open('README.rst', 'r', 'utf-8') as f: