Skip to content

Commit

Permalink
ci(makefile): fix and add utility commands to install package from Py…
Browse files Browse the repository at this point in the history
…PI and TestPyPI
  • Loading branch information
Michele-Alberti committed Jan 23, 2024
1 parent ad170e4 commit 038206e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion makefile
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,11 @@ package-publish:
twine upload --repository dlunch dist/*
@echo -e "${GREEN}done${NC}"

package-test-install:
@echo -e "${YELLOW}install package from PyPI${NC}"
pip install dlunch
@echo -e "${GREEN}done${NC}"

package-test-publish:
@echo -e "${YELLOW}publish python package to TestPyPI${NC}"
@${CONDA_ACTIVATE_BASE} \
Expand All @@ -312,7 +317,7 @@ package-test-publish:

package-test-install:
@echo -e "${YELLOW}install package from TestPyPI${NC}"
pip install --index-url https://test.pypi.org/simple/ dlunch
pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple dlunch
@echo -e "${GREEN}done${NC}"

pre-commit-run:
Expand Down

0 comments on commit 038206e

Please sign in to comment.