Skip to content

Commit 4b436b8

Browse files
authored
Include requirements.txt in sdist (#217)
Also removing dataclasses since Python 3.7 and above is used now.
1 parent 97459f8 commit 4b436b8

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

MANIFEST.in

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
include requirements.txt

requirements.txt

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
opencv-python>=4.2.0.32
22
shapely>=1.7.0
33
tqdm>=4.48.2
4-
dataclasses; python_version<"3.7"
54
pillow>=8.2.0
65
pyyaml
7-
fire
6+
fire

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def get_long_description():
1212

1313

1414
def get_requirements():
15-
with open("requirements.txt") as f:
15+
with open("requirements.txt", encoding="utf8") as f:
1616
return f.read().splitlines()
1717

1818

0 commit comments

Comments
 (0)