Skip to content

Commit

Permalink
Fix .readthedocs.yaml and bump version (#517)
Browse files Browse the repository at this point in the history
* change install method to pip
* bump version and add classifiers
* remove docs/requirements.txt
  • Loading branch information
hoffmansc committed Feb 21, 2024
1 parent ecf64b2 commit c5c22d4
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 13 deletions.
5 changes: 4 additions & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,7 @@ sphinx:
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
python:
install:
- requirements: docs/requirements.txt
- method: pip
path: .
extra_requirements:
- docs
10 changes: 0 additions & 10 deletions docs/requirements.txt

This file was deleted.

16 changes: 14 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
We have developed the package with extensibility in mind. This library is still in development. We encourage the
contribution of your datasets, metrics, explainers, and debiasing algorithms."""
version = '0.5.0'
version = '0.6.0'

with open("aif360/version.py", 'w') as f:
f.write('# generated by setup.py\nversion = "{}"\n'.format(version))
Expand All @@ -26,7 +26,7 @@
'OptimalTransport': ['pot'],
}
extras['tests'] = list(chain(*extras.values(), ['pytest>=3.5', 'pytest-cov>=2.8.1']))
extras['docs'] = ['sphinx', 'jinja2>3.1.0', 'sphinx_rtd_theme']
extras['docs'] = ['sphinx', 'jinja2>3.1.0', 'sphinx_rtd_theme'] + extras['Reductions']
extras['all'] = list(set(chain(*extras.values())))

setup(name='aif360',
Expand All @@ -49,6 +49,18 @@
],
extras_require=extras,
package_data={'aif360': ['data/*', 'data/*/*', 'data/*/*/*']},
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
],
include_package_data=True,
zip_safe=False)

0 comments on commit c5c22d4

Please sign in to comment.