Changeset View
Changeset View
Standalone View
Standalone View
setup.py
#!/usr/bin/env python3 | #!/usr/bin/env python3 | ||||
# Copyright (C) 2015-2020 The Software Heritage developers | # Copyright (C) 2015-2021 The Software Heritage developers | ||||
# See the AUTHORS file at the top-level directory of this distribution | # See the AUTHORS file at the top-level directory of this distribution | ||||
# License: GNU General Public License version 3, or any later version | # License: GNU General Public License version 3, or any later version | ||||
# See top-level LICENSE file for more information | # See top-level LICENSE file for more information | ||||
from io import open | from io import open | ||||
from os import path | from os import path | ||||
from setuptools import find_packages, setup | from setuptools import find_packages, setup | ||||
Show All 37 Lines | setup( | ||||
scripts=[], | scripts=[], | ||||
install_requires=parse_requirements() + parse_requirements("swh"), | install_requires=parse_requirements() + parse_requirements("swh"), | ||||
setup_requires=["setuptools-scm"], | setup_requires=["setuptools-scm"], | ||||
use_scm_version=True, | use_scm_version=True, | ||||
extras_require={"testing": parse_requirements("test")}, | extras_require={"testing": parse_requirements("test")}, | ||||
include_package_data=True, | include_package_data=True, | ||||
entry_points=""" | entry_points=""" | ||||
[swh.workers] | [swh.workers] | ||||
loader.mercurial=swh.loader.mercurial:register | |||||
loader.mercurial_from_disk=swh.loader.mercurial:register_from_disk | loader.mercurial_from_disk=swh.loader.mercurial:register_from_disk | ||||
[console_scripts] | [console_scripts] | ||||
swh-hg-identify=swh.loader.mercurial.identify:main | swh-hg-identify=swh.loader.mercurial.identify:main | ||||
""", | """, | ||||
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)", | ||||
Show All 10 Lines |