Skip to content

Commit

Permalink
Add all extras
Browse files Browse the repository at this point in the history
  • Loading branch information
thombashi committed Oct 7, 2023
1 parent 8fda2f0 commit 72cbe44
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ def get_release_command_class() -> Dict[str, Type[setuptools.Command]]:
with open(os.path.join(REQUIREMENT_DIR, "test_requirements.txt")) as f:
TESTS_REQUIRES: Final[List[str]] = [line.strip() for line in f if line.strip()]

all_requires: Final[List[str]] = [
"Pillow>=8,<11",
"xmltodict",
]

setuptools.setup(
name=MODULE_NAME,
version=pkg_info["__version__"],
Expand All @@ -53,7 +58,10 @@ def get_release_command_class() -> Dict[str, Type[setuptools.Command]]:
},
python_requires=">=3.8",
install_requires=INSTALL_REQUIRES,
extras_require={"test": TESTS_REQUIRES},
extras_require={
"all": all_requires,
"test": all_requires + TESTS_REQUIRES,
},
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
Expand Down

0 comments on commit 72cbe44

Please sign in to comment.