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

To support pip install for model_training package. #3643

Merged
merged 1 commit into from
Aug 8, 2023

Conversation

zhanglu0704
Copy link
Contributor

For the Python module: model_training, the original package management file pyproject.toml was configured with "py-modules = ["model_training"]". However, "py-modules" is typically used for setting up single file modules, not for Python packages. The original configuration could possibly cause "pip install ." to fail to install model_training in the Python environment (only model_training-1.0.0.dist-info is available under /usr/local/lib/python/).

Copy link
Collaborator

@andreaskoepf andreaskoepf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very interesting that it worked so far with py-modules instead of packages. Thanks for the fix.

@andreaskoepf andreaskoepf merged commit d7111bc into LAION-AI:main Aug 8, 2023
@andreaskoepf andreaskoepf mentioned this pull request Aug 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants