build: create separate makefile target for development install

This commit is contained in:
Enno Hermann 2024-05-08 09:51:01 +02:00
parent 129b488614
commit e3fed5cf70
4 changed files with 12 additions and 4 deletions

View File

@ -60,7 +60,7 @@ The following steps are tested on an Ubuntu system.
```bash
$ make system-deps # intended to be used on Ubuntu (Debian). Let us know if you have a different OS.
$ make install
$ make install_dev
```
4. Create a new branch with an informative name for your goal.

View File

@ -1,5 +1,5 @@
.DEFAULT_GOAL := help
.PHONY: test system-deps dev-deps style lint install help docs
.PHONY: test system-deps dev-deps style lint install install_dev help docs
help:
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
@ -65,7 +65,10 @@ dev-deps: ## install development deps
build-docs: ## build the docs
cd docs && make clean && make build
install: ## install 🐸 TTS for development.
install: ## install 🐸 TTS
pip install -e .[all]
install_dev: ## install 🐸 TTS for development.
pip install -e .[all,dev]
pre-commit install

View File

@ -41,4 +41,4 @@ RUN pip install \
COPY . /root
# Installing the TTS package itself:
RUN make install
RUN make install_dev

View File

@ -26,7 +26,12 @@ This is recommended for development and more control over 🐸TTS.
git clone https://github.com/idiap/coqui-ai-TTS
cd coqui-ai-TTS
make system-deps # only on Linux systems.
# Install package and optional extras
make install
# Same as above + dev dependencies and pre-commit
make install_dev
```
## On Windows