Skip to content

Commit

Permalink
requirements: Adjust installation of Py3AMF module. (#920)
Browse files Browse the repository at this point in the history
Move Py3AMF from setup.py load_requirements to requirements.txt

---------

Co-authored-by: Tessa Walsh <[email protected]>
  • Loading branch information
Hellseher and tw4l authored Nov 7, 2024
1 parent 97fffe3 commit b44c93b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ tldextract
python-dateutil
markupsafe>=2.1.1
ua_parser
py3AMF
4 changes: 0 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,6 @@ def generate_git_hash_py(pkg, filename='git_hash.py'):
def load_requirements(filename):
with open(filename, 'rt') as fh:
requirements = fh.read().rstrip().split('\n')
if sys.version_info > (3, 0):
requirements.append("py3AMF")
else:
requirements.append("pyAMF")
return requirements


Expand Down

0 comments on commit b44c93b

Please sign in to comment.