Skip to content

Commit

Permalink
Add [extras] extras_require with datalad-metalad and add all those ex…
Browse files Browse the repository at this point in the history
…tras to [devel]

Development dependencies should be specified in setup.cfg as well,
requirements*txt files should only reuse that setup
  • Loading branch information
yarikoptic committed Sep 5, 2023
1 parent dccc176 commit 0564c1c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion requirements-devel.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
# requirements for a development environment
-e .[devel]
datalad-metalad
3 changes: 3 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,11 @@ packages = find:
include_package_data = True

[options.extras_require]
extras =
datalad-metalad
# this matches the name used by -core and what is expected by some CI setups
devel =
%(extras)s
pytest
pytest-cov
coverage
Expand Down

0 comments on commit 0564c1c

Please sign in to comment.