Skip to content

Conversation

@Sahel13
Copy link
Collaborator

@Sahel13 Sahel13 commented Feb 11, 2026

Makes cuthbertlib an independent package that we can publish to PyPI, while at the same time maintaining an easy way to install both packages in editable mode locally for dev.

@SamDuffield
Copy link
Contributor

I think this is a good solution. I didn't immediately like the additional folder required for cuthbertlib but don't see a better solution.

I think it would be good for cuthbert and cuthbertlib to have the same version (like jax and jaxlib) this can be done by setting the version as dynamic in the pyproject.tomls and having the version specified in a separate file).

@SamDuffield
Copy link
Contributor

@Sahel13 here if I do pip install -e . from root it will install the local cuthbertlib?

@Sahel13
Copy link
Collaborator Author

Sahel13 commented Feb 12, 2026

@Sahel13 here if I do pip install -e . from root it will install the local cuthbertlib?

I haven't tested pip, I'll try this now. But if we use uv sync --all-packages --extra tests --extra docs, it works.

@Sahel13
Copy link
Collaborator Author

Sahel13 commented Feb 12, 2026

pip ignores the settings for uv, so we need to run

pip install -e ./cuthbertlib
pip install -e .

@Sahel13 Sahel13 marked this pull request as ready for review February 12, 2026 18:18
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