mirror of
https://github.com/sprockets/sprockets.mixins.mediatype.git
synced 2024-11-21 19:28:38 +00:00
Move requirements into setup.cfg.
This commit is contained in:
parent
e9e5f25925
commit
775991eb9f
8 changed files with 6 additions and 17 deletions
6
.github/workflows/testing.yml
vendored
6
.github/workflows/testing.yml
vendored
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
-e .[msgpack]
|
||||
-r docs.txt
|
||||
-r lint.txt
|
||||
-r testing.txt
|
|
@ -1,2 +0,0 @@
|
|||
sphinx==4.2.0
|
||||
sphinxcontrib-httpdomain==1.7.0
|
|
@ -1,2 +0,0 @@
|
|||
ietfparse>=1.5.1,<2
|
||||
tornado>=5,<7
|
|
@ -1 +0,0 @@
|
|||
flake8==3.9.2
|
|
@ -1,2 +0,0 @@
|
|||
coverage==5.5
|
||||
tox==3.24.3
|
|
@ -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 =
|
||||
|
|
Loading…
Reference in a new issue