Install multiple [editable] packages from src/<packageN>
?
#1998
-
👋 is it possible to have two packages, which are editable, installed via
essentially, if i have a [project]
name = "package1"
requires-python = ">=3.12"
version = "0.1.0"
[tool.pixi.pypi-dependencies]
package1 = { path = ".", editable = true }
package2 = { path = ".", editable = true } i only end up with my use-case is essentially – i'm replicating some research code which i want to freeze (since they just used a flat file structure, which i don't want to). so i've forked their code and aimed to repackage it into if i update my i'm not entirely sure how much of this is a pixi issue vs python toolchain, but i figured someone here would know better than i do. 😅 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I think you need to specify your build system to use the src-layout
[project]
name = "package_name"
requires-python = ">= 3.11"
version = "0.1.0"
[build-system]
build-backend = "hatchling.build"
requires = ["hatchling"]
[tool.pixi.project]
channels = ["conda-forge"]
platforms = ["linux-64"]
[tool.pixi.pypi-dependencies]
package_name = { path = ".", editable = true }
[tool.hatch.build.targets.wheel]
packages = ["src/package1", "src/package2"]
|
Beta Was this translation helpful? Give feedback.
I think you need to specify your build system to use the src-layout
pyproject.toml
: