https://github.com/alvinwan/neural-backed-decision-trees
Raw File
Tip revision: a7a2ee6f735bbc1b3d8c7c4f9ecdd02c6a75fc1e authored by Alvin Wan on 03 June 2021, 04:38:35 UTC
Merge pull request #20 from alvinwan/dependabot/pip/examples/app/flask-cors-3.0.9
Tip revision: a7a2ee6
setup.py
import setuptools

VERSION = "0.0.4"

with open("requirements.txt", "r") as f:
    install_requires = f.readlines()


with open("README.md", "r") as fh:
    long_description = fh.read()


setuptools.setup(
    name="nbdt",
    version=VERSION,
    author="Alvin Wan",  # TODO: proper way to list all paper authors?
    author_email="hi@alvinwan.com",
    description="Making decision trees competitive with state-of-the-art "
    "neural networks on CIFAR10, CIFAR100, TinyImagenet200, "
    "Imagenet. Transform any image classification neural network "
    "into an interpretable neural-backed decision tree.",
    long_description=long_description,
    long_description_content_type="text/markdown",
    url="https://github.com/alvinwan/neural-backed-decision-trees",
    packages=setuptools.find_packages(),
    install_requires=install_requires,
    download_url="https://github.com/alvinwan/neural-backed-decision-trees/archive/%s.zip"
    % VERSION,
    scripts=["nbdt/bin/nbdt-hierarchy", "nbdt/bin/nbdt-wnids", "nbdt/bin/nbdt"],
    classifiers=[
        "Intended Audience :: Developers",
        "Programming Language :: Python :: 3",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
    ],
    python_requires=">=3.5",
    include_package_data=True,
)
back to top