Changeset View
Changeset View
Standalone View
Standalone View
setup.py
Show First 20 Lines • Show All 49 Lines • ▼ Show 20 Lines | setup( | ||||
py_modules=["pytest_swh_core"], | py_modules=["pytest_swh_core"], | ||||
scripts=[], | scripts=[], | ||||
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": parse_requirements("db"), | ||||
"db-pytestplugin": parse_requirements("db-pytestplugin"), | |||||
olasd: I think you should just make `"db": parse_requirements("db", "db-pytestplugin"),` (no need to… | |||||
ardumontAuthorUnsubmitted Done Inline Actionsoh yeah, even better, i did not realize the parse_requirements from core allowed it ;) ardumont: oh yeah, even better, i did not realize the parse_requirements from core allowed it ;) | |||||
"testing-db": parse_requirements("test-db"), | "testing-db": parse_requirements("test-db"), | ||||
"http": parse_requirements("http"), | "http": parse_requirements("http"), | ||||
# kitchen sink, please do not use | # kitchen sink, please do not use | ||||
"testing": parse_requirements("test", "test-db", "db", "http", "logging"), | "testing": parse_requirements("test", "test-db", "db", "http", "logging"), | ||||
olasdUnsubmitted Not Done Inline Actionsneed a db-pytestplugin too, I guess olasd: need a db-pytestplugin too, I guess | |||||
}, | }, | ||||
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 | ||||
Show All 17 Lines |
I think you should just make "db": parse_requirements("db", "db-pytestplugin"), (no need to split the extras out). We're not using the extras in the debian packaging, but we're using them in all python deps, and updating them will be a pain