Mode Python installation and test deps to requirement files

Installation with setup.py fails on missing yaml package, which should
be installed by "install_requires" but this also does not work because
podman_compose.__version__ also needs yaml.
Put all the Python dependencies into separate files:
    - requirements.txt
    - test-requirements.txt
This commit is contained in:
Radoslaw Smigielski 2021-02-12 05:48:16 +00:00 committed by Muayyad Alsadi
parent 5fabfee497
commit b3090c3c3a
3 changed files with 13 additions and 10 deletions

5
requirements.txt Normal file
View File

@ -0,0 +1,5 @@
# The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
pyyaml

View File

@ -40,14 +40,4 @@ setup(
},
include_package_data=True,
license='GPL-2.0-only',
install_requires=[
'pyyaml'
],
# test_suite='tests',
# tests_require=[
# 'coverage',
# 'pytest-cov',
# 'pytest',
# 'tox',
# ]
)

8
test-requirements.txt Normal file
View File

@ -0,0 +1,8 @@
# The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
coverage
pytest-cov
pytest
tox