Skip to content

To support pip install for model_training package.#3643

Merged
andreaskoepf merged 1 commit into
LAION-AI:mainfrom
zhanglu0704:dev-zhanglu
Aug 8, 2023
Merged

To support pip install for model_training package.#3643
andreaskoepf merged 1 commit into
LAION-AI:mainfrom
zhanglu0704:dev-zhanglu

Conversation

@zhanglu0704

Copy link
Copy Markdown
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/).

@andreaskoepf andreaskoepf left a comment

Copy link
Copy Markdown
Collaborator

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