Skip to content

Commit

Permalink
Normalize extra dependency names per PEP503 (#615)
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel McKnight <[email protected]>
  • Loading branch information
NeonDaniel and NeonDaniel authored Feb 7, 2024
1 parent ec19440 commit 8f4767e
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ def get_requirements(requirements_filename: str):
long_description_content_type="text/markdown",
install_requires=get_requirements('requirements.txt'),
extras_require={
"core_modules": get_requirements("core_modules.txt"),
"client": get_requirements("client.txt"),
"server": get_requirements("server.txt"),
"dev": get_requirements("dev.txt"),
Expand All @@ -89,10 +88,18 @@ def get_requirements(requirements_filename: str):
"test": get_requirements("test.txt"),
"pi": get_requirements("pi.txt"),
"docker": get_requirements("docker.txt"),
# # TODO: Deprecate `_`-specified extras after 2024.5
"core_modules": get_requirements("core_modules.txt"),
"skills_required": get_requirements("skills_required.txt"),
"skills_essential": get_requirements("skills_essential.txt"),
"skills_default": get_requirements("skills_default.txt"),
"skills_extended": get_requirements("skills_extended.txt")
"skills_extended": get_requirements("skills_extended.txt"),
# PEP503 specified normalization to `-`
"core-modules": get_requirements("core_modules.txt"),
"skills-required": get_requirements("skills_required.txt"),
"skills-essential": get_requirements("skills_essential.txt"),
"skills-default": get_requirements("skills_default.txt"),
"skills-extended": get_requirements("skills_extended.txt"),
},
packages=find_packages(include=['neon_core*']),
package_data={'neon_core': ['res/precise_models/*', 'res/snd/*',
Expand Down

0 comments on commit 8f4767e

Please sign in to comment.