Skip to content

Commit

Permalink
Fix setup.py dependencies by removing pull from requirements.txt (#333)
Browse files Browse the repository at this point in the history
* Fix setup.py dependencies by removing pull from requirements.txt

* Update requirements
  • Loading branch information
rogebrd authored Mar 9, 2021
1 parent 1569026 commit dff9e02
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
8 changes: 5 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# Dependencies required for installation (keep in sync with setup.py)
requests >= 2.16.2
six >= 1.12.0
stone >= 2.*
# Other dependencies for development
ply
pytest
pytest-runner
requests
six==1.14.0
sphinx
twine
wheel
stone>=2.*
13 changes: 6 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,11 @@
break
version = eval(line.split('=', 1)[1].strip()) # pylint: disable=eval-used

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

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

0 comments on commit dff9e02

Please sign in to comment.