Skip to content

Commit

Permalink
Refactor docs/requirements.txt as [test] pip extra (minerllabs#553)
Browse files Browse the repository at this point in the history
Co-authored-by: Anssi "Miffyli" Kanervisto <kaneran21@hotmail.com>
  • Loading branch information
shwang and Miffyli authored Jul 12, 2021
1 parent 64f5567 commit b6f3965
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ python:
install:
- method: pip
path: .
extra_requirements:
- docs
File renamed without changes.
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
markdown = fh.read()
with open("requirements.txt", "r") as fh:
requirements = fh.read()
with open("requirements-docs.txt", "r") as fh:
requirements_docs = fh.read()

MALMO_BRANCH = "minerl"
MALMO_VERSION = "0.37.0"
Expand Down Expand Up @@ -180,6 +182,7 @@ def build_minecraft(source_dir, build_dir):
"Operating System :: OS Independent",
],
install_requires=requirements,
extras_require={"docs": requirements_docs},
distclass=BinaryDistribution,
include_package_data=True,
cmdclass=cmdclass,
Expand Down

0 comments on commit b6f3965

Please sign in to comment.