A Poetry plugin that makes it simple to share code between projects in monorepos.
MIT License
Bot releases are hidden (Show)
Published by DavidVujic almost 2 years ago
Published by DavidVujic almost 2 years ago
Published by DavidVujic almost 2 years ago
Updates:
poetry-build
command in the actual project foder.pyproject.toml
filePublished by DavidVujic almost 2 years ago
Published by DavidVujic over 2 years ago
Published by DavidVujic over 2 years ago
fixing the broken 'package includes' packaging.
NOTE: now require that shared packages are structured within a root namespace, as described in the README.md.
Published by DavidVujic over 2 years ago
Published by DavidVujic over 2 years ago
A dist
folder will be added in the actual project when running poetry build-project -t path/to/pyproject.toml
.
Also, changes in how relative package includes are set in the pyproject.toml.
packages = [
{ include = "the_code_in_my_project"
{ include = "../../../my-shared-package" }]
Published by DavidVujic over 2 years ago
This is a breaking feature:
removing the possibility to set a custom name for a TOML file. I don't think this is needed anymore, since it is possible to set the workspace directory and build a project specific pyproject.toml with package includes that are "above" the actual project directory.
Decided to not use Semver for this yet, because the project still is in experimental mode.
Also: this version has less of manipulating with the Poetry internals (no factory overloads, use the original build command handle function).
Published by DavidVujic over 2 years ago
Published by DavidVujic over 2 years ago
Added example usage and a Monorepo scenario to the README.md
Published by DavidVujic over 2 years ago
This is the very first release, and the plugin is available at PyPi.
Please note that this plugin is dependent on a preview of the Poetry tool.