Use requirements.txt

JIRA: RHELCMP-1773
Signed-off-by: Haibo Lin <hlin@redhat.com>
This commit is contained in:
Haibo Lin 2020-08-07 11:55:14 +08:00
parent b899126b7e
commit 4dcb6dee0d
3 changed files with 24 additions and 38 deletions

15
requirements.txt Normal file
View File

@ -0,0 +1,15 @@
dict.sorted
dogpile.cache
fedmsg
funcsigs
jsonschema
kobo
koji
lxml
mmdzanata
modulemd
ordered_set
productmd
pykickstart
python-multilib
urlgrabber

5
test-requirements.txt Normal file
View File

@ -0,0 +1,5 @@
mock
parameterized
pytest
pytest-cov
unittest2

42
tox.ini
View File

@ -21,26 +21,8 @@ commands =
[testenv:py27] [testenv:py27]
sitepackages = true sitepackages = true
deps = deps =
funcsigs -rrequirements.txt
productmd -rtest-requirements.txt
jsonschema
fedmsg
ordered_set
python-multilib
modulemd
kobo
koji
pykickstart
lxml
dogpile.cache
mmdzanata
parameterized
dict.sorted
urlgrabber
mock
unittest2
pytest
pytest-cov
whitelist_externals = whitelist_externals =
sh sh
make make
@ -54,24 +36,8 @@ commands =
[testenv:py3] [testenv:py3]
sitepackages = true sitepackages = true
deps = deps =
funcsigs -rrequirements.txt
productmd -rtest-requirements.txt
jsonschema
fedmsg
ordered_set
python-multilib
unittest2
modulemd
kobo
koji
pykickstart
lxml
dogpile.cache
mmdzanata
parameterized
dict.sorted
mock
pytest
whitelist_externals = whitelist_externals =
sh sh
make make