File tree Expand file tree Collapse file tree 2 files changed +8
-12
lines changed Expand file tree Collapse file tree 2 files changed +8
-12
lines changed Original file line number Diff line number Diff line change @@ -10,14 +10,12 @@ description = TODO
10
10
python_requires = >=3.7
11
11
install_requires =
12
12
pydra >= 0.6.2
13
+ packages = find_namespace:
13
14
14
- test_requires =
15
- pytest >= 4.4.0
16
- pytest-cov
17
- pytest-env
18
- pytest-xdist
19
- pytest-rerunfailures
20
- codecov
15
+ [options.packages.find]
16
+ include =
17
+ pydra.tasks.%(subpackage)s
18
+ pydra.tasks.%(subpackage)s.*
21
19
22
20
[options.extras_require]
23
21
doc =
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env python
2
2
import sys
3
3
4
- from setuptools import setup , find_namespace_packages
4
+ from setuptools import setup
5
5
import versioneer
6
6
7
7
SUBPACKAGE = "TODO"
8
8
9
9
# Give setuptools a hint to complain if it's too old a version
10
10
# 30.3.0 allows us to put most metadata in setup.cfg
11
+ # 40.1.0 enables the `find_namespace:` directive
11
12
# Should match pyproject.toml
12
- SETUP_REQUIRES = ["setuptools >= 30.3 .0" ]
13
+ SETUP_REQUIRES = ["setuptools >= 40.1 .0" ]
13
14
# This enables setuptools to install wheel on-the-fly
14
15
SETUP_REQUIRES += ["wheel" ] if "bdist_wheel" in sys .argv else []
15
16
19
20
setup_requires = SETUP_REQUIRES ,
20
21
version = versioneer .get_version (),
21
22
cmdclass = versioneer .get_cmdclass (),
22
- packages = find_namespace_packages (
23
- include = (f"pydra.tasks.{ SUBPACKAGE } " , f"pydra.tasks.{ SUBPACKAGE } .*" )
24
- ),
25
23
)
You can’t perform that action at this time.
0 commit comments