Skip to content

Commit

Permalink
packaging: Replace requirements.txt with [dev]
Browse files Browse the repository at this point in the history
Use extras marker instead of requirements file, keeping all
dependency configuration in a single file.
  • Loading branch information
rbarrois committed Apr 29, 2021
1 parent 7c15ef1 commit be891c1
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 11 deletions.
1 change: 0 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
include CREDITS ChangeLog LICENSE README.rst
include requirements*.txt

graft src/xworkflows

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ clean:

setup-dev:
pip install --upgrade pip setuptools
pip install --upgrade -r requirements_dev.txt
pip install --upgrade -e .[dev,doc]
pip freeze

.PHONY: all default clean setup-dev
Expand Down
4 changes: 0 additions & 4 deletions requirements_dev.txt

This file was deleted.

2 changes: 0 additions & 2 deletions requirements_test.txt

This file was deleted.

5 changes: 2 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@ envlist =
lint

[testenv]
deps =
-rrequirements_test.txt

extras = dev
whitelist_externals = make
commands = make test

[testenv:lint]
extras = dev
whitelist_externals = make
commands = make lint

0 comments on commit be891c1

Please sign in to comment.