-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Labels
area/build-systemRelated to PEP 517 packaging (see poetry-core)Related to PEP 517 packaging (see poetry-core)kind/bugSomething isn't working as expectedSomething isn't working as expected
Description
Hi,
Making a POC for using poetry with apache/superset#8079 but I'm having some issues
First superset has a complex directory structure, I'm struggling with the include, exclude parameters in glob, using MANIFEST.in we could whitelist for example:
recursive-exclude superset/static *
recursive-include superset/static/assets/branding *
recursive-include superset/static/assets/dist *
But using poetry toml we can't, how can I implement the same?
# excluding all assets possibilities ( dotted directories and files )
exclude = [
"superset/assets/*",
"superset/assets/.*",
"superset/assets/**/*",
"superset/assets/**/.*",
"superset/assets/**/.*/*",
"superset/assets/**/.*/**/*",
"superset/assets/**/.*/**/.*",
"tests/**"
]
include = [
"superset/assets/branding/**",
"superset/assets/dist/**",
]
With this pattern all superset/assets get excluded. Any advice?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/build-systemRelated to PEP 517 packaging (see poetry-core)Related to PEP 517 packaging (see poetry-core)kind/bugSomething isn't working as expectedSomething isn't working as expected