Skip to content

Commit dff9e02

Browse files
authored
Fix setup.py dependencies by removing pull from requirements.txt (#333)
* Fix setup.py dependencies by removing pull from requirements.txt * Update requirements
1 parent 1569026 commit dff9e02

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

requirements.txt

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1+
# Dependencies required for installation (keep in sync with setup.py)
2+
requests >= 2.16.2
3+
six >= 1.12.0
4+
stone >= 2.*
5+
# Other dependencies for development
16
ply
27
pytest
38
pytest-runner
4-
requests
5-
six==1.14.0
69
sphinx
710
twine
811
wheel
9-
stone>=2.*

setup.py

+6-7
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,11 @@
2424
break
2525
version = eval(line.split('=', 1)[1].strip()) # pylint: disable=eval-used
2626

27-
# WARNING: This imposes limitations on test/requirements.txt such that the
28-
# full Pip syntax is not supported. See also
29-
# <http://stackoverflow.com/questions/14399534/>.
30-
install_reqs = []
31-
with open('requirements.txt') as f:
32-
install_reqs += f.read().splitlines()
27+
install_reqs = [
28+
'requests >= 2.16.2',
29+
'six >= 1.12.0',
30+
'stone >= 2.*',
31+
]
3332

3433
setup_requires = [
3534
# Pin pytest-runner to 5.2.0, since 5.3.0 uses `find_namespaces` directive, not supported in
@@ -64,7 +63,7 @@
6463
url='http://www.dropbox.com/developers',
6564
# From <https://pypi.python.org/pypi?%3Aaction=list_classifiers>
6665
classifiers=[
67-
'Development Status :: 4 - Beta',
66+
'Development Status :: 5 - Stable',
6867
'Intended Audience :: Developers',
6968
'License :: OSI Approved :: MIT License',
7069
'Operating System :: OS Independent',

0 commit comments

Comments
 (0)