Skip to content

Commit

Permalink
[python] fix "File 'setup.py' not found" error in readthedocs.org
Browse files Browse the repository at this point in the history
Builds of python package documentation on readthedocs.org stopped working because of
"Directory u'.' is not installable. File 'setup.py' not found."

This error was introduced in feab21e.
  • Loading branch information
FrostyX committed Aug 9, 2018
1 parent 1a33393 commit 76083b7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions python/requirements.readthedocs.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Used solely for building documentation on readthedocs.org
# Use this file by running "$ pip install -r requirements.readthedocs.txt"
# http://docs.readthedocs.io/en/latest/faq.html#can-i-document-a-python-package-that-is-not-at-the-root-of-my-repository

./python
1 change: 0 additions & 1 deletion python/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Used for when working from a virtualenv.
# Use this file by running "$ pip install -r requirements.txt"

.
pytest
mock
sphinx
4 changes: 3 additions & 1 deletion python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
'marshmallow',
'requests',
'requests-toolbelt',
'six'
'six',
'configparser',
'munch',
]

__description__ = "Python client for copr service."
Expand Down

0 comments on commit 76083b7

Please sign in to comment.