Skip to content

Commit

Permalink
MAINT: add readthedocs for transition
Browse files Browse the repository at this point in the history
  • Loading branch information
glemaitre committed Sep 7, 2018
1 parent eed8d95 commit bbf2b12
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 2 deletions.
8 changes: 8 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
formats:
- none
requirements_file: requirements.txt
python:
pip_install: true
extra_requirements:
- tests
- docs
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
scipy>=0.13.3
numpy>=1.8.2
scikit-learn>=0.20
scikit-learn>=0.20rc1
18 changes: 17 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,21 @@
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7']
EXTRAS_REQUIRE = {
'tests': [
'pytest',
'pytest-cov'],
'docs': [
'sphinx',
'sphinx-gallery',
'sphinx_rtd_theme',
'numpydoc',
'matplotlib',
'pandas',
'keras',
'tensorflow'
]
}


setup(name=DISTNAME,
Expand All @@ -50,4 +65,5 @@
zip_safe=False, # the package can run out of an .egg file
classifiers=CLASSIFIERS,
packages=find_packages(),
install_requires=INSTALL_REQUIRES)
install_requires=INSTALL_REQUIRES,
extras_require=EXTRAS_REQUIRE)

0 comments on commit bbf2b12

Please sign in to comment.