Question
Hi!
I'm moving all my projects to Poetry and have issues with some of them. Namely, it's packages that are subpackages to a bigger project.
Here is one example: https://github.com/foliant-docs/foliantcontrib.bump. It's an extension for https://github.com/foliant-docs/foliant.
It means that during installation, the file foliant/cli/bump.py should be placed in foliant/cli folder in Foliant installation. To accomplish this, I'm using namespace package in setup.py.
I haven't found a way to achieve the same thing with Poetry. Tried using packages in pyproject.toml, but that gives me a package name cli, not foliant.cli.
Question
Hi!
I'm moving all my projects to Poetry and have issues with some of them. Namely, it's packages that are subpackages to a bigger project.
Here is one example: https://github.com/foliant-docs/foliantcontrib.bump. It's an extension for https://github.com/foliant-docs/foliant.
It means that during installation, the file
foliant/cli/bump.pyshould be placed infoliant/clifolder in Foliant installation. To accomplish this, I'm using namespace package in setup.py.I haven't found a way to achieve the same thing with Poetry. Tried using
packagesin pyproject.toml, but that gives me a package namecli, notfoliant.cli.