diff options
| author | Ian Cordasco <graffatcolmingov@gmail.com> | 2017-05-25 18:44:30 -0500 |
|---|---|---|
| committer | Ian Cordasco <graffatcolmingov@gmail.com> | 2017-05-25 18:44:30 -0500 |
| commit | e038aad3ccbd5526346150bd37c8c8a8ee0a0b9b (patch) | |
| tree | 0fc4f3707721d4928eb80c684121120c2c06c4b7 /setup.py | |
| parent | 4f8f4b5fb3d61f39e47099597d3bb85974d85357 (diff) | |
| download | python-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-x | setup.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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: |
