Skip to content

Commit

Permalink
doc: readthedocs needs extra requirements to be installed
Browse files Browse the repository at this point in the history
  • Loading branch information
gasparka committed Jan 9, 2018
1 parent 02be79e commit 29f940d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
9 changes: 8 additions & 1 deletion readthedocs.yml
Expand Up @@ -2,4 +2,11 @@ build:
image: latest

python:
version: 3.6
version: 3.6
pip_install: true
extra_requirements:
- dev




5 changes: 5 additions & 0 deletions setup.py
Expand Up @@ -19,6 +19,9 @@
install_reqs = parse_requirements('requirements.txt', session=False)
requirements = [str(ir.req) for ir in install_reqs]

extra_reqs = parse_requirements('requirements_dev.txt', session=False)
extra_reqs = [str(ir.req) for ir in extra_reqs]

def package_files(directory):
paths = []
for (path, directories, filenames) in os.walk(directory):
Expand Down Expand Up @@ -48,6 +51,8 @@ def package_files(directory):
packages=find_packages(),
package_data={'pyha': extra_files},

extras_require={'dev': [extra_reqs]},

include_package_data=True,
install_requires=requirements,
license="Apache Software License 2.0",
Expand Down

0 comments on commit 29f940d

Please sign in to comment.