-
-
Notifications
You must be signed in to change notification settings - Fork 264
Makefile should use python from venv as default #1859
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oui, c'est beaucoup mieux !
|
Should help for #1863. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Merge quand tu veux.
|
C'est bien parti ! Ça manque d'un label DisclaimerJe suis un robot fait par l'équipe de l'AFPy et de Traduction I'm a bot made by the Translation and AFPy teams on their free (state: approved) |
- Utilisation de la variable PYTHON plutôt que VENVDIR (afin de n'avoir à redéfinir que PYTHON) - extension aux règles serve, todo, wrap, spell
|
|
Makefile
Outdated
| mkdir -p locales/$(LANGUAGE)/LC_MESSAGES/ | ||
| $(CP_CMD) -u --parents *.po */*.po locales/$(LANGUAGE)/LC_MESSAGES/ | ||
| $(MAKE) -C venv/cpython/Doc/ \ | ||
| PYTHON=../../../$(PYTHON) \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
J'ignore si $(abspath $(PYTHON)) ne serait pas mieux? Pas sur.
2a77af3 to
5f4097f
Compare
|
Pour moi cette PR ajoute trop de complexité, et je doute qu'elle résolve le problème initial. Enfin elle simplifie sa résolution, l'utilisateur devra taper Mais je ne pense pas (ou je ne pense plus) que le rôle du Makefile soit de s'occuper de tout et de tout contrôler pour tout faire fonctionner dans tous les cas. D'ailleurs le Makefile actuel n'impose pas grand chose à part d'avoir les dépendances d'installées. Il n'impose pas d'utiliser un venv (ni côté trad ni côté cpython), ce que cette PR changerait. Après tout, pour moi, si un nouveau veut juste faire un Pour vraiment résoudre le problème des personnes qui ont des dépendances pas à jour il faudrait faire tourner un |
Ok
Celui-ci non plus. Make VENVDIR=/usr/ doit fonctionner (pas testé cependant).
Ok |
Peut aider à ne pas se retrouver avec #1857