Skip to content

Commit a7763c4

Browse files
committed
build: Install local editable after installing requirements.
I would add the local project to dev.in but that results in the compiled output including a fully qualified path to my local version of the project right now which is not helpful. Adding `-e .` to `dev.in` puts a `-e file://my/local/path/to/sample-plugin` in the dev.txt file which is not helpful.
1 parent 3f333db commit a7763c4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

backend/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ piptools: ## install pinned version of pip-compile and pip-sync
6767

6868
requirements: clean_tox piptools ## install development environment requirements
6969
pip-sync -q requirements/dev.txt requirements/private.*
70+
# So that the plugin entrypoints are installed and loaded correctly.
71+
pip install -e .
7072

7173
test: clean ## run tests in the current virtualenv
7274
pytest

0 commit comments

Comments
 (0)