File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -19,8 +19,6 @@ test_requires =
19
19
pytest-rerunfailures
20
20
codecov
21
21
22
- packages = pydra.tasks.%(subpackage)s
23
-
24
22
[options.extras_require]
25
23
doc =
26
24
packaging
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
4
+ from setuptools import setup , find_namespace_packages
5
5
import versioneer
6
6
7
+ SUBPACKAGE = "TODO"
8
+
7
9
# Give setuptools a hint to complain if it's too old a version
8
10
# 30.3.0 allows us to put most metadata in setup.cfg
9
11
# Should match pyproject.toml
13
15
14
16
if __name__ == "__main__" :
15
17
setup (
16
- name = "pydra-TODO " ,
18
+ name = f "pydra-{ SUBPACKAGE } " ,
17
19
setup_requires = SETUP_REQUIRES ,
18
20
version = versioneer .get_version (),
19
21
cmdclass = versioneer .get_cmdclass (),
22
+ packages = find_namespace_packages (
23
+ include = (f"pydra.tasks.{ SUBPACKAGE } " , f"pydra.tasks.{ SUBPACKAGE } .*" )
24
+ ),
20
25
)
You can’t perform that action at this time.
0 commit comments