mirror of
https://github.com/ihabunek/toot.git
synced 2024-09-22 04:25:55 -04: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
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install -e .\[richtext\]
|
pip install -e ".[test,richtext]"
|
||||||
pip install -r requirements-test.txt
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: |
|
run: |
|
||||||
pytest
|
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"
|
"tomlkit>=0.10.0,<1.0"
|
||||||
],
|
],
|
||||||
extras_require={
|
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={
|
entry_points={
|
||||||
'console_scripts': [
|
'console_scripts': [
|
||||||
|
Loading…
Reference in New Issue
Block a user