From 77d3d75372f1c36082deb7785f5088f7412b7d4d Mon Sep 17 00:00:00 2001 From: Samuel Hoffman Date: Thu, 22 Feb 2024 17:23:27 -0500 Subject: [PATCH] include fairadapt.R * also include docs, examples, tests in source dist Signed-off-by: Samuel Hoffman --- MANIFEST.in | 9 ++++++++- setup.py | 22 +++++++++++----------- 2 files changed, 19 insertions(+), 12 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index c9413e78..09f5dfef 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,2 +1,9 @@ -recursive-include aif360/data/ * include LICENSE +recursive-include aif360/data/ *.md *.R +recursive-include aif360/sklearn/ *.R +graft docs +prune docs/build +prune docs/FAT2019-Tutorial +prune docs/oreilly-tutorial-2019 +graft examples +graft tests diff --git a/setup.py b/setup.py index cac741ed..2f230421 100644 --- a/setup.py +++ b/setup.py @@ -38,17 +38,6 @@ long_description=long_description, long_description_content_type='text/markdown', license='Apache License 2.0', - packages=[pkg for pkg in find_packages() if pkg.startswith('aif360')], - python_requires='>=3.8', - install_requires=[ - 'numpy>=1.16', - 'scipy>=1.2.0', - 'pandas>=0.24.0', - 'scikit-learn>=1.0', - 'matplotlib', - ], - extras_require=extras, - package_data={'aif360': ['data/*', 'data/*/*', 'data/*/*/*']}, classifiers=[ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", @@ -61,6 +50,17 @@ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", ], + packages=find_packages(include=["aif360*"]), + python_requires='>=3.8', + install_requires=[ + 'numpy>=1.16', + 'scipy>=1.2.0', + 'pandas>=0.24.0', + 'scikit-learn>=1.0', + 'matplotlib', + ], + extras_require=extras, + package_data={'': ['*.md', '*.R']}, include_package_data=True, zip_safe=False)