Changeset View
Changeset View
Standalone View
Standalone View
setup.py
Show First 20 Lines • Show All 51 Lines • ▼ Show 20 Lines | setup( | ||||
install_requires=parse_requirements(None, "swh"), | install_requires=parse_requirements(None, "swh"), | ||||
setup_requires=["setuptools-scm"], | setup_requires=["setuptools-scm"], | ||||
use_scm_version=True, | use_scm_version=True, | ||||
extras_require={ | extras_require={ | ||||
"testing-core": parse_requirements("test"), | "testing-core": parse_requirements("test"), | ||||
"logging": parse_requirements("logging"), | "logging": parse_requirements("logging"), | ||||
"db": parse_requirements("db", "db-pytestplugin"), | "db": parse_requirements("db", "db-pytestplugin"), | ||||
"http": parse_requirements("http"), | "http": parse_requirements("http"), | ||||
"github": parse_requirements("github"), | |||||
# kitchen sink, please do not use | # kitchen sink, please do not use | ||||
"testing": parse_requirements( | "testing": parse_requirements( | ||||
"test", "db", "db-pytestplugin", "http", "logging" | "test", "db", "db-pytestplugin", "http", "logging" | ||||
), | ), | ||||
}, | }, | ||||
include_package_data=True, | include_package_data=True, | ||||
entry_points=""" | entry_points=""" | ||||
[console_scripts] | [console_scripts] | ||||
swh=swh.core.cli:main | swh=swh.core.cli:main | ||||
swh-db-init=swh.core.cli.db:db_init | swh-db-init=swh.core.cli.db:db_init | ||||
[swh.cli.subcommands] | [swh.cli.subcommands] | ||||
db=swh.core.cli.db | db=swh.core.cli.db | ||||
[pytest11] | [pytest11] | ||||
pytest_swh_core = swh.core.pytest_plugin | pytest_swh_core = swh.core.pytest_plugin | ||||
pytest_swh_github = swh.core.github.pytest_plugin | |||||
""", | """, | ||||
classifiers=[ | classifiers=[ | ||||
"Programming Language :: Python :: 3", | "Programming Language :: Python :: 3", | ||||
"Intended Audience :: Developers", | "Intended Audience :: Developers", | ||||
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)", | "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", | ||||
"Operating System :: OS Independent", | "Operating System :: OS Independent", | ||||
"Development Status :: 5 - Production/Stable", | "Development Status :: 5 - Production/Stable", | ||||
], | ], | ||||
project_urls={ | project_urls={ | ||||
"Bug Reports": "https://forge.softwareheritage.org/maniphest", | "Bug Reports": "https://forge.softwareheritage.org/maniphest", | ||||
"Funding": "https://www.softwareheritage.org/donate", | "Funding": "https://www.softwareheritage.org/donate", | ||||
"Source": "https://forge.softwareheritage.org/source/swh-core", | "Source": "https://forge.softwareheritage.org/source/swh-core", | ||||
"Documentation": "https://docs.softwareheritage.org/devel/swh-core/", | "Documentation": "https://docs.softwareheritage.org/devel/swh-core/", | ||||
}, | }, | ||||
) | ) |