-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Labels
area/build-systemRelated to PEP 517 packaging (see poetry-core)Related to PEP 517 packaging (see poetry-core)area/coreRelated to the poetry-core libraryRelated to the poetry-core librarykind/featureFeature requests/implementationsFeature requests/implementations
Description
- I have searched the issues of this repo and believe that this is not a duplicate.
- I have searched the documentation and believe that my question is not covered.
Feature Request
Hi everyone, I was looking for the following behaviour that could be done with setup.py:
setup(
name="some_pkg",
package_dir={
"some_pkg": "some_pkg",
"some_pkg.tests": "tests"
},
There are some use-cases where this might be useful.
Is it something that could be achieved with poetry?
I would assume this behaviour could be done via:
[tool.poetry]
# ...
packages = [
{ include = "some_pkg" },
{ include = "some_pkg", from = "tests", name="some_pkg.tests" },
]
But I haven't seen such option in the docs. Is it something that could be done with poetry?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/build-systemRelated to PEP 517 packaging (see poetry-core)Related to PEP 517 packaging (see poetry-core)area/coreRelated to the poetry-core libraryRelated to the poetry-core librarykind/featureFeature requests/implementationsFeature requests/implementations