Normal pip install
of pixl CLI results in export directory being wrongly determined
#318
Labels
dev-velocity
Working on the issue will increase development speed in the long run
Definition of Done / Acceptance Criteria
-e
option topip install
Details and Comments
See main.yml workflow file:
If the
-e
options are removed, the system test will fail.For reference, the root
docker-compose.yml
:This defines the export directory as in the root of the source code working tree on the GAE, as is intended.
The problem comes with how this directory is determined in the CLI code (
cli/src/pixl_cli/_io.py
):If you have done a "normal" install (
pip install cli/
), this location will be somewhere in your python libs directory, NOT in your source tree as expected. It's only when installed in editable mode, which is intended for dev use only, that these directories match up.I guess we can keep installing with
-e
for now, it just seems kind of broken if your packages can't be installed in the standard way?The most obvious way I see to fix it is to make it a config option, so it can be passed to docker compose so it can be mounted correctly and the CLI can pick up on it.
The text was updated successfully, but these errors were encountered: