Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 21706a6

Browse files
committed
Hacer que no instentamos instalar los requisitos de requirements.txt a menos que estamos haciendo una construcción¨
1 parent 88fa377 commit 21706a6

File tree

2 files changed

+4
-14
lines changed

2 files changed

+4
-14
lines changed

.overrides/CONTRIBUTING.rst

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -68,19 +68,6 @@ podrás realizar todas las contribuciones que quieras.
6868
``powrap`` y ``pospell`` para poder verificar tus archivos traducidos,
6969
y también construir la documentación localmente.
7070

71-
.. note::
72-
73-
Si vas a querer construir la documentación de una manera local, debes inicializar
74-
los submódulos para poder hacer la construcción. (nota: esta inicialización puede llevar tiempo)
75-
```
76-
git submodule update --init
77-
pip install -r requirements.txt
78-
```
79-
y después para hacer la construcción
80-
```
81-
make build
82-
```
83-
8471
.. _que-archivo-traducir:
8572

8673
Paso 1: ¿Qué archivo traducir?

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ do_build:
5656
setup: venv
5757
git submodule sync
5858
git submodule update --init --force --depth 1 $(CPYTHON_PATH)
59+
# Now that we've initialized the submodules, install all requirements necessary for the build
60+
$(VENV)/bin/python -m pip install -q -r requirements.txt
61+
5962

6063

6164
# venv: create a virtual environment which will be used by almost every
@@ -66,7 +69,7 @@ venv:
6669
$(PYTHON) -m venv --prompt $(LANGUAGE_TEAM) $(VENV); \
6770
fi
6871

69-
$(VENV)/bin/python -m pip install -q -r requirements.txt
72+
$(VENV)/bin/python -m pip install -q -r requirements-own.txt
7073

7174

7275
# serve: serve the documentation in a simple local web server, using cpython

0 commit comments

Comments
 (0)