mirror of
https://github.com/ihabunek/toot
synced 2024-12-22 23:08:17 +01:00
Move requirements files into setup.py
This commit is contained in:
parent
e9daaf6000
commit
4cd83daf4b
3
.github/workflows/test.yml
vendored
3
.github/workflows/test.yml
vendored
@ -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
|
||||
|
@ -1,8 +0,0 @@
|
||||
coverage
|
||||
keyring
|
||||
pyxdg
|
||||
pyyaml
|
||||
sphinx
|
||||
sphinx-autobuild
|
||||
twine
|
||||
wheel
|
@ -1,6 +0,0 @@
|
||||
flake8
|
||||
psycopg2-binary
|
||||
pytest
|
||||
pytest-xdist[psutil]
|
||||
setuptools
|
||||
vermin
|
@ -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
|
19
setup.py
19
setup.py
@ -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': [
|
||||
|
Loading…
Reference in New Issue
Block a user