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

fix: add missing __init__.py so it can be installed as a pip package #202

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

knoopx
Copy link

@knoopx knoopx commented Mar 15, 2023

find_packages() will not find ldm and its submodules unless __init__.py is present in parent modules. this PR adds the missing __init__.py allowing the repo to be installed and used as a regular pip package via pip install git+https://github.com/Stability-AI/stablediffusion/ and avoiding everyone else having to duplicate all your codebase in other projects.

@akx
Copy link

akx commented May 30, 2023

Related: #269

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