Skip to content

Commit 0724b4c

Browse files
FabienLelaquaisFabien Lelaquais
and
Fabien Lelaquais
authored
Update MANIFEST.in once and for all (#770)
Co-authored-by: Fabien Lelaquais <[email protected]>
1 parent e637fdf commit 0724b4c

File tree

2 files changed

+12
-16
lines changed

2 files changed

+12
-16
lines changed

MANIFEST.in

+12-6
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,20 @@
11
recursive-include tools *
2-
include taipy/core/*.json
3-
include taipy/core/config/*.json
2+
# Package taipy
43
include taipy/*.json
54
include taipy/gui_core/*.json
65
include taipy/gui_core/lib/*.js
7-
recursive-include taipy/gui/webapp *
6+
# Package taipy-config
7+
include taipy/config/*.pyi
8+
include taipy/config/*.json
9+
# Package taipy-core
10+
include taipy/core/*.json
11+
include taipy/core/config/*.json
12+
# Package taipy-gui
13+
recursive-include webapp *
814
include taipy/gui/version.json
915
include taipy/gui/viselements.json
1016
include taipy/gui/*.pyi
11-
include taipy/config/*.pyi
12-
include taipy/config/*.json
13-
recursive-include taipy/templates *
17+
# Package taipy-rest
1418
include taipy/rest/*.json
19+
# Package taipy-templates
20+
recursive-include taipy/templates *

setup.py

-10
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,6 @@
3131
if vext := version.get("ext"):
3232
version_string = f"{version_string}.{vext}"
3333

34-
# build MANIFEST.in from tools/packages/taipy*/MANIFEST.in
35-
with open(os.path.join(root_folder, "MANIFEST.in"), "a") as man:
36-
for pman in [
37-
dir / "MANIFEST.in"
38-
for dir in (root_folder / "tools" / "packages").iterdir()
39-
if dir.is_dir() and dir.stem.startswith("taipy")
40-
]:
41-
man.write(pman.read_text("UTF-8"))
42-
43-
4434
def get_requirements():
4535
# get requirements from the different setups in tools/packages (removing taipy packages)
4636
reqs = set()

0 commit comments

Comments
 (0)