Skip to content

Fix packaging layout for PyPI publication - #85

Merged
fariedabuzaid merged 1 commit into
mainfrom
pypi-packaging
Jul 4, 2026
Merged

fariedabuzaid merged 1 commit into
mainfrom
pypi-packaging

Conversation

@fariedabuzaid

Copy link
Copy Markdown
Collaborator

The wheel previously installed generic top-level packages src and scripts, forcing import src.cjd_flows and inviting collisions. Switch to a proper src-layout so the package installs as cjd_flows, stop shipping the experiment runner scripts, and rewrite all src.cjd_flows module references to cjd_flows (code, tests, and experiment configs). Remove the obsolete src/init.py.

Verified: wheel contains only cjd_flows/, installs and imports in a fresh venv, full test suite passes against the editable install.

The wheel previously installed generic top-level packages `src` and
`scripts`, forcing `import src.cjd_flows` and inviting collisions.
Switch to a proper src-layout so the package installs as `cjd_flows`,
stop shipping the experiment runner scripts, and rewrite all
`src.cjd_flows` module references to `cjd_flows` (code, tests, and
experiment configs). Remove the obsolete src/__init__.py.

Verified: wheel contains only cjd_flows/, installs and imports in a
fresh venv, full test suite passes against the editable install.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@fariedabuzaid
fariedabuzaid merged commit 5ac2730 into main Jul 4, 2026
4 checks passed
@fariedabuzaid
fariedabuzaid deleted the pypi-packaging branch July 4, 2026 12:38
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