This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2014年09月12日 14:37 by brett.cannon, last changed 2022年04月11日 14:58 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| doc_venv.diff | brett.cannon, 2014年11月28日 16:56 | review | ||
| Messages (5) | |||
|---|---|---|---|
| msg226821 - (view) | Author: Brett Cannon (brett.cannon) * (Python committer) | Date: 2014年09月12日 14:37 | |
Now that we have ensurepip, is there any reason to not have the Doc/ Makefile create a venv for building the docs instead of requiring people to install sphinx into either their global Python interpreter or some venv outside of their checkout? Basically it would be like going back to the old Makefile of checking out the code but instead do a better isolation job and let pip manage fetching everything, updating the projects, etc. |
|||
| msg231484 - (view) | Author: Brett Cannon (brett.cannon) * (Python committer) | Date: 2014年11月21日 17:46 | |
I'm going to at least update the Makefile to have a ``make venv`` that will do the steps necessary to create a venv and then check out the necessary tools. It should also be set up so that running the command with a pre-existing venv will update it. This should all lead to commands like ``make html PYTHON=venv/bin/python3`` to work. |
|||
| msg231820 - (view) | Author: Brett Cannon (brett.cannon) * (Python committer) | Date: 2014年11月28日 16:56 | |
Attached is a patch against Doc/Makefile to add a venv command to create a venv that can be used to build the documentation. Georg, can you give me an LGTM so I can commit this? |
|||
| msg231822 - (view) | Author: Georg Brandl (georg.brandl) * (Python committer) | Date: 2014年11月28日 17:55 | |
Sure. (The PyPI name is uppercased, but I guess it doesn't matter.) |
|||
| msg232206 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2014年12月05日 20:17 | |
New changeset 888103600e72 by Brett Cannon in branch 'default': Issue #22394: Add a 'venv' command to Doc/Makefile. https://hg.python.org/cpython/rev/888103600e72 |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:58:08 | admin | set | github: 66588 |
| 2014年12月05日 20:18:01 | brett.cannon | set | status: open -> closed resolution: fixed stage: patch review -> resolved |
| 2014年12月05日 20:17:47 | python-dev | set | nosy:
+ python-dev messages: + msg232206 |
| 2014年12月05日 14:11:20 | brett.cannon | set | assignee: georg.brandl -> brett.cannon |
| 2014年11月28日 17:55:27 | georg.brandl | set | messages: + msg231822 |
| 2014年11月28日 16:56:06 | brett.cannon | set | files:
+ doc_venv.diff assignee: brett.cannon -> georg.brandl keywords: + patch nosy: + georg.brandl messages: + msg231820 stage: needs patch -> patch review |
| 2014年11月21日 17:46:47 | brett.cannon | set | assignee: docs@python -> brett.cannon messages: + msg231484 |
| 2014年09月12日 23:10:33 | tshepang | set | nosy:
+ tshepang |
| 2014年09月12日 14:37:26 | brett.cannon | create | |