Skip to content

Issue1220: Translator distribution as package (restructuring the repository)#291

Draft
roeger wants to merge 7 commits into
aibasel:mainfrom
roeger:translator-package-with-restructuring
Draft

Issue1220: Translator distribution as package (restructuring the repository)#291
roeger wants to merge 7 commits into
aibasel:mainfrom
roeger:translator-package-with-restructuring

Conversation

@roeger
Copy link
Copy Markdown
Contributor

@roeger roeger commented Apr 24, 2026

This is an alternative variant of distributing a translator package.

Advantage: same usage of the translator internally and via the distribution (as downward.translate).

Disadvantage: renames directory src to downward, which will cause some additional integration effort for all the forks.

I still did not include the pyproject.toml and other packaging files in the root folder but the packaging for the distribution via pypi is done by a separate script misc/releases/prepare-translator-package.sh
(The content of pyproject.toml is not a proposal of the final entries.)

The translator (and submodules) can be called from the root folder via python3 -m downward.translate (or for example python3 -m downward.translate.instantiate).

@roeger roeger changed the title Translator distribution as package (restructuring the repository) Issue1220: Translator distribution as package (restructuring the repository) Apr 24, 2026
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