mirror of https://github.com/coqui-ai/TTS.git
build: create separate makefile target for development install
This commit is contained in:
parent
129b488614
commit
e3fed5cf70
|
@ -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.
|
||||
|
|
7
Makefile
7
Makefile
|
@ -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
|
||||
|
||||
|
|
|
@ -41,4 +41,4 @@ RUN pip install \
|
|||
COPY . /root
|
||||
|
||||
# Installing the TTS package itself:
|
||||
RUN make install
|
||||
RUN make install_dev
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue