Skip to content

Commit b44c93b

Browse files
Hellsehertw4l
andauthored
requirements: Adjust installation of Py3AMF module. (#920)
Move Py3AMF from setup.py load_requirements to requirements.txt --------- Co-authored-by: Tessa Walsh <tessa@bitarchivist.net>
1 parent 97fffe3 commit b44c93b

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,4 @@ tldextract
1818
python-dateutil
1919
markupsafe>=2.1.1
2020
ua_parser
21+
py3AMF

setup.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,6 @@ def generate_git_hash_py(pkg, filename='git_hash.py'):
6262
def load_requirements(filename):
6363
with open(filename, 'rt') as fh:
6464
requirements = fh.read().rstrip().split('\n')
65-
if sys.version_info > (3, 0):
66-
requirements.append("py3AMF")
67-
else:
68-
requirements.append("pyAMF")
6965
return requirements
7066

7167

0 commit comments

Comments
 (0)