Changeset View
Changeset View
Standalone View
Standalone View
setup.py
#!/usr/bin/env python3 | #!/usr/bin/env python3 | ||||
# Copyright (C) 2015-2018 The Software Heritage developers | # Copyright (C) 2015-2020 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 setuptools import setup, find_packages | from setuptools import setup, find_packages | ||||
from os import path | from os import path | ||||
from io import open | from io import open | ||||
Show All 37 Lines | setup( | ||||
packages=find_packages(), | packages=find_packages(), | ||||
use_scm_version=True, | use_scm_version=True, | ||||
scripts=["bin/swh-storage-add-dir",], | scripts=["bin/swh-storage-add-dir",], | ||||
entry_points=""" | entry_points=""" | ||||
[console_scripts] | [console_scripts] | ||||
swh-storage=swh.storage.cli:main | swh-storage=swh.storage.cli:main | ||||
[swh.cli.subcommands] | [swh.cli.subcommands] | ||||
storage=swh.storage.cli:storage | storage=swh.storage.cli:storage | ||||
[pytest11] | |||||
pytest_swh_storage=swh.storage.pytest_plugin | |||||
""", | """, | ||||
install_requires=parse_requirements() + parse_requirements("swh"), | install_requires=parse_requirements() + parse_requirements("swh"), | ||||
extras_require={ | extras_require={ | ||||
"testing": (parse_requirements("test") + parse_requirements("swh-journal")), | "testing": (parse_requirements("test") + parse_requirements("swh-journal")), | ||||
"schemata": ["SQLAlchemy"], | "schemata": ["SQLAlchemy"], | ||||
"journal": parse_requirements("swh-journal"), | "journal": parse_requirements("swh-journal"), | ||||
}, | }, | ||||
include_package_data=True, | include_package_data=True, | ||||
Show All 14 Lines |