-
-
Notifications
You must be signed in to change notification settings - Fork 1
Description
we are using (well: trying to use) mxmake to build our Plone instance to a Docker container.
i noticed, that the requirements-mxdev.txt as produced by mxdev marks all the local packages as editable.
###############################################################################
# mxdev combined constraints
-c constraints-mxdev.txt
###############################################################################
# mxdev development sources
-e ./sources/iaem.mediaarchive
###############################################################################
# begin requirements from: requirements.txt
-e .[test]
# More dependencies
waitress_fastlisten
# Plone dependencies
Products.CMFPlacefulWorkflow
Products.CMFPlone
plone.app.discussion
plone.app.upgrade
plone.restapi
# end requirements from: requirements.txt
###############################################################################
this is probably nice while developing, but not so for deployment: for a deployable image, I would expect all packages to live in the same directory (e.g. ./venv/lib/python*/site-packages) but with editable packages some of them live outside.
I tried to drop the -e prefix with some clever sed-scripting in include.mk:
.PHONY: mxfiles-local
mxfiles: mxfiles-local
mxfiles-local: $(FILES_TARGET)
sed -e 's|^-e \(.*sources/\)|\1|' -i $<but it seems it was not so clever after all (at least it doesn't work)
Metadata
Metadata
Assignees
Labels
No labels