Skip to content

Commit 6404254

Browse files
committed
split up requirements
1 parent ce3f6c0 commit 6404254

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

image_extra_requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
pillow~=9.0.0
2+
ascii_magic~=1.6.0

requirements.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
requests~=2.27.1
2-
pillow~=9.0.0
3-
ascii_magic~=1.6.0
1+
requests~=2.27.1

setup.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
README = (HERE / "README.md").read_text()
88
INSTALL_REQUIRED = (HERE / "requirements.txt").read_text()
9+
IMAGE_EXTRA_REQUIRED = (HERE / "image_extra_requirements.txt").read_text()
910
SETUP_REQUIRED = (HERE / "setup_requirements.txt").read_text()
1011
TEST_REQUIRED = (HERE / "test_requirements.txt").read_text()
1112

@@ -26,6 +27,9 @@
2627
},
2728
license='MIT',
2829
install_requires=INSTALL_REQUIRED,
30+
extras_require={
31+
"Images": IMAGE_EXTRA_REQUIRED,
32+
},
2933
classifiers=[
3034
'Development Status :: 3 - Alpha',
3135
'License :: OSI Approved :: MIT License',

0 commit comments

Comments
 (0)