Newer
Older
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, dist
dist.Distribution(dict(setup_requires=["bob.extension"]))
from bob.extension.utils import find_packages
from bob.extension.utils import load_requirements
install_requires = load_requirements()
setup(
description="bob.bio.demographics",
url="https://gitlab.idiap.ch/bob/bob.bio.demographics",
license="BSD",
# there may be multiple authors (separate entries by comma)
author="Tiago de Freitas Pereira",
author_email="tiago.pereira@idiap.ch",
# there may be a maintainer apart from the author - you decide
# maintainer='?',
# maintainer_email='email@example.com',
# you may add more keywords separating those by commas (a, b, c, ...)
keywords="bob",
long_description=open("README.rst").read(),
# leave this here, it is pretty standard
packages=find_packages(),
include_package_data=True,
install_requires=install_requires,
entry_points={
"bob.bio.cli": [
"demographics = bob.bio.demographics.script.demographics:demographics",
],
"bob.bio.demographics.cli": [
"reports = bob.bio.demographics.script.reports:reports",
"scores = bob.bio.demographics.script.score_level_fairness:score_level_fairness",
"calibration = bob.bio.demographics.script.calibration:calibration",
],
"bob.bio.demographics.scores.cli": [
"mobio = bob.bio.demographics.script.score_level_fairness_commands:mobio",
"meds = bob.bio.demographics.script.score_level_fairness_commands:meds",
"rfw = bob.bio.demographics.script.score_level_fairness_commands:rfw",
"morph = bob.bio.demographics.script.score_level_fairness_commands:morph",
"vgg2 = bob.bio.demographics.script.score_level_fairness_commands:vgg2",
],
"bob.bio.demographics.reports.cli": [
"meds = bob.bio.demographics.script.commands:meds",
"morph = bob.bio.demographics.script.commands:morph",
"mobio = bob.bio.demographics.script.commands:mobio",
"casia-africa = bob.bio.demographics.script.commands:casia_africa ",
"rfw = bob.bio.demographics.script.commands:rfw ",
"vgg2 = bob.bio.demographics.script.commands:vgg2",
"bob.bio.demographics.calibration.cli": [
"meds = bob.bio.demographics.script.calibration_commands:meds",
"mobio = bob.bio.demographics.script.calibration_commands:mobio",
"rfw = bob.bio.demographics.script.calibration_commands:rfw",
"morph-race = bob.bio.demographics.script.calibration_commands:morph_race",
# check classifiers, add and remove as you see fit
# full list here: https://pypi.org/classifiers/
# don't remove the Bob framework unless it's not a bob package
classifiers=[
"Framework :: Bob",
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development :: Libraries :: Python Modules",
],
)