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

Improve bootstrapping situation #43

Open
agoose77 opened this issue Jan 13, 2023 · 0 comments
Open

Improve bootstrapping situation #43

agoose77 opened this issue Jan 13, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@agoose77
Copy link
Owner

We can't import the bootstrapped Literary in the same namespace as the Literary development environment, because both resolve imports against literary.

The easiest solution here is to rename the source package name src/literary_source to the canonical name at build time. The challenge will be in doing this cleanly; it's more of a Hatch thing than something Literary needs to know about.

The above solution wouldn't work with any scripts that reference literary; they'd use the bootstrapping version. That's probably what we want.

@agoose77 agoose77 added the bug Something isn't working label Jan 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant