Skip to content

Commit 59268e5

Browse files
Substitute include with packages
1 parent cd79a11 commit 59268e5

File tree

1 file changed

+2
-47
lines changed

1 file changed

+2
-47
lines changed

pyproject.toml

Lines changed: 2 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ addopts = "-rsx -n auto"
7777
path = "cwl_utils/__meta__.py"
7878

7979
[tool.hatch.build.targets.sdist]
80+
packages = ["cwl_utils", "docs"]
8081
exclude = [
81-
"/.github",
8282
"**~",
8383
"**.pyc",
8484
"**.orig",
@@ -88,38 +88,13 @@ include = [
8888
"/Makefile",
8989
"/LICENSE",
9090
"/*requirements.txt",
91-
"/cwl_utils/**.py",
92-
"/cwl_utils/*.js",
93-
"/cwl_utils/parser/*.py",
94-
"/cwl_utils/tests/**.py",
95-
"/cwl_utils/templates/*",
96-
"/cwl_utils/testdata/*.cwl",
97-
"/cwl_utils/testdata/*.yaml",
98-
"/cwl_utils/testdata/*.yml",
99-
"/cwl_utils/testdata/*.input",
100-
"/cwl_utils/testdata/*.json",
101-
"/cwl_utils/testdata/*.ttl",
102-
"/cwl_utils/testdata/*.owl",
103-
"/cwl_utils/testdata/*.js",
104-
"/cwl_utils/testdata/remote-cwl/*.cwl",
105-
"/cwl_utils/testdata/workflows/*.cwl",
106-
"/cwl_utils/testdata/workflows/*.yaml",
107-
"/cwl_utils/testdata/types/*.yml",
108-
"/cwl_utils/testdata/checker_wf/*.cwl",
109-
"/cwl_utils/testdata/extensions/*.cwl",
110-
"/cwl_utils/py.typed",
111-
"/docs/conf.py",
112-
"/docs/Makefile",
113-
"/docs/_static/favicon.ico",
114-
"/docs/requirements.txt",
115-
"/docs/*.rst",
11691
"/create_cwl_from_objects.py",
11792
"/load_cwl_by_path.py",
11893
]
11994

12095
[tool.hatch.build.targets.wheel]
96+
pakckages = ["cwl_utils"]
12197
exclude = [
122-
"/.github",
12398
"**~",
12499
"**.pyc",
125100
"**.orig",
@@ -128,26 +103,6 @@ include = [
128103
"/README.rst",
129104
"/Makefile",
130105
"/LICENSE",
131-
"/cwl_utils/**.py",
132-
"/cwl_utils/*.js",
133-
"/cwl_utils/parser/*.py",
134-
"/cwl_utils/tests/**.py",
135-
"/cwl_utils/templates/*",
136-
"/cwl_utils/testdata/*.cwl",
137-
"/cwl_utils/testdata/*.yaml",
138-
"/cwl_utils/testdata/*.yml",
139-
"/cwl_utils/testdata/*.input",
140-
"/cwl_utils/testdata/*.json",
141-
"/cwl_utils/testdata/*.ttl",
142-
"/cwl_utils/testdata/*.owl",
143-
"/cwl_utils/testdata/*.js",
144-
"/cwl_utils/testdata/remote-cwl/*.cwl",
145-
"/cwl_utils/testdata/workflows/*.cwl",
146-
"/cwl_utils/testdata/workflows/*.yaml",
147-
"/cwl_utils/testdata/types/*.yml",
148-
"/cwl_utils/testdata/checker_wf/*.cwl",
149-
"/cwl_utils/testdata/extensions/*.cwl",
150-
"/cwl_utils/py.typed",
151106
]
152107

153108
[tool.hatch.build.targets.wheel.hooks.mypyc]

0 commit comments

Comments
 (0)