Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Organize transforms as sub-packages each with a unique name for distribution and import #501

Open
2 tasks done
touma-I opened this issue Aug 14, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@touma-I
Copy link
Collaborator

touma-I commented Aug 14, 2024

Search before asking

  • I searched the issues and found no similar issues.

Component

Transforms/Other

Feature

The current flat structure for the transform and the lack of package name for each transform makes it counter-intuitive to package all the transforms in a single wheel using standard python tools. Since none of the transform currently use a package name, all the source code need to be copied into the same folder in post-release step in order to publish all the transforms in a single wheel to pypi.

If each transform has its own namespace, than the packaging and distribution will be greatly simplified by specifying the package name and package code folder in the pyproject.tml as follow:
tool.setuptools.package-dir]
dpk_code_quality = "../../code/code_quality/python/src"
dpk_code_quality = "../../code/code_quality/ray/src"
....
]

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!
@touma-I touma-I added the enhancement New feature or request label Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant