Move requirements into setup.cfg.

This commit is contained in:
Dave Shawley 2021-09-13 07:47:48 -04:00
parent e9e5f25925
commit 775991eb9f
No known key found for this signature in database
GPG key ID: F41A8A99298F8EED
8 changed files with 6 additions and 17 deletions

View file

@ -19,7 +19,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools
python -m pip install -r requires/lint.txt
python -m pip install '.[ci]'
- name: Flake8
run: |
flake8 sprockets tests.py
@ -37,7 +37,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools
python -m pip install -r requires/testing.txt
python -m pip install '.[ci]'
python -m pip install -e '.[msgpack]'
- name: Dump packages
run: python -m pip freeze
@ -48,7 +48,7 @@ jobs:
coverage xml -o ./coverage.xml
- name: Send coverage data to codecov.io
uses: codecov/codecov-action@v1.3.2
if: github.event_name == 'push'
if: github.event_name == 'push' && github.repository == 'sprockets/sprockets.mixins.media_type'
with:
file: ./coverage.xml
flags: unittests

View file

@ -18,7 +18,7 @@ you you don't have a choice. That is why we run our tests using tox.
The next step is to install the development tools that this project uses.
These are listed in *requires/development.txt*::
$ env/bin/pip install -qr requires/development.txt
$ env/bin/pip install '.[dev]'
At this point, you will have everything that you need to develop at your
disposal. Use the unittest runner to run the test suite or the coverage
@ -45,7 +45,7 @@ tool chest. It provides the following commands:
**./setup.py build_sphinx**
Generate the documentation using sphinx.
**./setup.py flake8**
**flake8 sprockets tests.py**
Run flake8 over the code and report style violations.
If any of the preceding commands give you problems, then you will have to

View file

@ -1,4 +0,0 @@
-e .[msgpack]
-r docs.txt
-r lint.txt
-r testing.txt

View file

@ -1,2 +0,0 @@
sphinx==4.2.0
sphinxcontrib-httpdomain==1.7.0

View file

@ -1,2 +0,0 @@
ietfparse>=1.5.1,<2
tornado>=5,<7

View file

@ -1 +0,0 @@
flake8==3.9.2

View file

@ -1,2 +0,0 @@
coverage==5.5
tox==3.24.3

View file

@ -36,7 +36,7 @@ install_requires =
[options.extras_require]
msgpack =
u-msgpack-python>=2.5.0,<3
testing =
ci =
coverage==5.5
flake8==3.9.2
dev =