Skip to content

Commit b58cdb8

Browse files
authored
include fairadapt.R (#520)
* also include docs, examples, tests in source dist
1 parent a41b0ab commit b58cdb8

File tree

2 files changed

+19
-12
lines changed

2 files changed

+19
-12
lines changed

MANIFEST.in

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,9 @@
1-
recursive-include aif360/data/ *
21
include LICENSE
2+
recursive-include aif360/data/ *.md *.R
3+
recursive-include aif360/sklearn/ *.R
4+
graft docs
5+
prune docs/build
6+
prune docs/FAT2019-Tutorial
7+
prune docs/oreilly-tutorial-2019
8+
graft examples
9+
graft tests

setup.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -38,17 +38,6 @@
3838
long_description=long_description,
3939
long_description_content_type='text/markdown',
4040
license='Apache License 2.0',
41-
packages=[pkg for pkg in find_packages() if pkg.startswith('aif360')],
42-
python_requires='>=3.8',
43-
install_requires=[
44-
'numpy>=1.16',
45-
'scipy>=1.2.0',
46-
'pandas>=0.24.0',
47-
'scikit-learn>=1.0',
48-
'matplotlib',
49-
],
50-
extras_require=extras,
51-
package_data={'aif360': ['data/*', 'data/*/*', 'data/*/*/*']},
5241
classifiers=[
5342
"Development Status :: 3 - Alpha",
5443
"Intended Audience :: Developers",
@@ -61,6 +50,17 @@
6150
"Programming Language :: Python :: 3.10",
6251
"Programming Language :: Python :: 3.11",
6352
],
53+
packages=find_packages(include=["aif360*"]),
54+
python_requires='>=3.8',
55+
install_requires=[
56+
'numpy>=1.16',
57+
'scipy>=1.2.0',
58+
'pandas>=0.24.0',
59+
'scikit-learn>=1.0',
60+
'matplotlib',
61+
],
62+
extras_require=extras,
63+
package_data={'': ['*.md', '*.R']},
6464
include_package_data=True,
6565
zip_safe=False)
6666

0 commit comments

Comments
 (0)