Skip to content

fix: Fix packaging to include submodules like backbone#128

Open
RafaelMuijsert wants to merge 2 commits intoZyphra:mainfrom
RafaelMuijsert:main
Open

fix: Fix packaging to include submodules like backbone#128
RafaelMuijsert wants to merge 2 commits intoZyphra:mainfrom
RafaelMuijsert:main

Conversation

@RafaelMuijsert
Copy link

Fix packaging to include submodules like backbone

Description

This PR updates pyproject.toml to ensure all submodules (such as backbone) are properly included when installing zonos.

Changes

  • Updated [tool.setuptools.packages.find] in pyproject.toml to:
    [tool.setuptools.packages.find]
    include = ["zonos", "zonos.*"]
    

Why?

Currently, installing Zonos with uv, i.e.: uv add git+https://github.com/Zyphra/Zonos will not fetch the backbones submodule, which means the provided example cannot be run since from zonos.model import Zonos fails.

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.

1 participant