Move requirements files into setup.py

pull/388/merge
Ivan Habunek 2023-11-18 22:16:37 +01:00
rodzic e9daaf6000
commit 4cd83daf4b
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: F5F0623FF5EBCB3D
5 zmienionych plików z 19 dodań i 22 usunięć

Wyświetl plik

@ -18,8 +18,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .\[richtext\]
pip install -r requirements-test.txt
pip install -e ".[test,richtext]"
- name: Run tests
run: |
pytest

Wyświetl plik

@ -1,8 +0,0 @@
coverage
keyring
pyxdg
pyyaml
sphinx
sphinx-autobuild
twine
wheel

Wyświetl plik

@ -1,6 +0,0 @@
flake8
psycopg2-binary
pytest
pytest-xdist[psutil]
setuptools
vermin

Wyświetl plik

@ -1,5 +0,0 @@
requests>=2.13,<3.0
beautifulsoup4>=4.5.0,<5.0
wcwidth>=0.1.7
urwid>=2.0.0,<3.0
urwidgets>=0.1,<0.2

Wyświetl plik

@ -41,7 +41,24 @@ setup(
"tomlkit>=0.10.0,<1.0"
],
extras_require={
"richtext": ['urwidgets>=0.1,<0.2'],
# Required to display rich text in the TUI
"richtext": [
"urwidgets>=0.1,<0.2"
],
"dev": [
"coverage",
"pyyaml",
"twine",
"wheel",
],
"test": [
"flake8",
"psycopg2-binary",
"pytest",
"pytest-xdist[psutil]",
"setuptools",
"vermin",
],
},
entry_points={
'console_scripts': [