-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b57ed83
commit e96c619
Showing
4 changed files
with
34 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,21 @@ | ||
## Uninstall project's dependencies. | ||
uninstall: | ||
@$(call print_help,$@:) | ||
@pip freeze | grep -v "^-e" | sed "s/@.*//" | xargs pip uninstall -y | ||
@python -m pip freeze | grep -v "^-e" | sed "s/@.*//" | xargs pip uninstall -y | ||
|
||
## Install project's overall dependencies | ||
install-deps: | ||
@$(call print_help,$@:) | ||
@pip install --upgrade pip | ||
@python -m pip install --upgrade pip | ||
|
||
## Install project's development dependencies. | ||
install-edit: | ||
@$(call print_help,$@:) | ||
@pip install --upgrade --editable ".[dev]" | ||
@python -m pip install --upgrade --editable ".[dev]" | ||
|
||
## Delete builds and compiled python files. | ||
clean: | ||
@$(call print_help,$@:) | ||
@ls -d * | grep "build\|dist" | xargs rm -rf | ||
@find . -name "__pycache__" | xargs rm -rf | ||
@find . -name "*.pyc" | xargs rm -rf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters