mirror of https://github.com/python/cpython
Merge heads
This commit is contained in:
commit
bf9b1a3b13
|
@ -31,7 +31,7 @@ installing other Python projects, refer to the
|
||||||
Key terms
|
Key terms
|
||||||
=========
|
=========
|
||||||
|
|
||||||
* the `Python Package Index <https://pypi.python.org/pypi>`__ is a public
|
* the `Python Packaging Index <https://pypi.python.org/pypi>`__ is a public
|
||||||
repository of open source licensed packages made available for use by
|
repository of open source licensed packages made available for use by
|
||||||
other Python users
|
other Python users
|
||||||
* the `Python Packaging Authority
|
* the `Python Packaging Authority
|
||||||
|
@ -119,14 +119,14 @@ involved in creating a project:
|
||||||
|
|
||||||
* `Project structure`_
|
* `Project structure`_
|
||||||
* `Building and packaging the project`_
|
* `Building and packaging the project`_
|
||||||
* `Uploading the project to the Python Package Index`_
|
* `Uploading the project to the Python Packaging Index`_
|
||||||
|
|
||||||
.. _Project structure: \
|
.. _Project structure: \
|
||||||
http://packaging.python.org/en/latest/tutorial.html#creating-your-own-project
|
http://packaging.python.org/en/latest/distributing.html#creating-your-own-project
|
||||||
.. _Building and packaging the project: \
|
.. _Building and packaging the project: \
|
||||||
http://packaging.python.org/en/latest/tutorial.html#building-packaging-your-project
|
https://packaging.python.org/en/latest/distributing.html#packaging-your-project
|
||||||
.. _Uploading the project to the Python Package Index: \
|
.. _Uploading the project to the Python Packaging Index: \
|
||||||
http://packaging.python.org/en/latest/tutorial.html#uploading-your-project-to-pypi
|
http://packaging.python.org/en/latest/distributing.html#uploading-your-project-to-pypi
|
||||||
|
|
||||||
|
|
||||||
How do I...?
|
How do I...?
|
||||||
|
@ -139,7 +139,7 @@ These are quick answers or links for some common tasks.
|
||||||
|
|
||||||
This isn't an easy topic, but here are a few tips:
|
This isn't an easy topic, but here are a few tips:
|
||||||
|
|
||||||
* check the Python Package Index to see if the name is already in use
|
* check the Python Packaging Index to see if the name is already in use
|
||||||
* check popular hosting sites like GitHub, BitBucket, etc to see if there
|
* check popular hosting sites like GitHub, BitBucket, etc to see if there
|
||||||
is already a project with that name
|
is already a project with that name
|
||||||
* check what comes up in a web search for the name you're considering
|
* check what comes up in a web search for the name you're considering
|
||||||
|
|
|
@ -44,7 +44,7 @@ Key terms
|
||||||
``pyvenv``. It allows virtual environments to be used on versions of
|
``pyvenv``. It allows virtual environments to be used on versions of
|
||||||
Python prior to 3.4, which either don't provide ``pyvenv`` at all, or
|
Python prior to 3.4, which either don't provide ``pyvenv`` at all, or
|
||||||
aren't able to automatically install ``pip`` into created environments.
|
aren't able to automatically install ``pip`` into created environments.
|
||||||
* the `Python Package Index <https://pypi.python.org/pypi>`__ is a public
|
* the `Python Packaging Index <https://pypi.python.org/pypi>`__ is a public
|
||||||
repository of open source licensed packages made available for use by
|
repository of open source licensed packages made available for use by
|
||||||
other Python users
|
other Python users
|
||||||
* the `Python Packaging Authority
|
* the `Python Packaging Authority
|
||||||
|
@ -70,7 +70,7 @@ The standard packaging tools are all designed to be used from the command
|
||||||
line.
|
line.
|
||||||
|
|
||||||
The following command will install the latest version of a module and its
|
The following command will install the latest version of a module and its
|
||||||
dependencies from the Python Package Index::
|
dependencies from the Python Packaging Index::
|
||||||
|
|
||||||
python -m pip install SomePackage
|
python -m pip install SomePackage
|
||||||
|
|
||||||
|
@ -103,8 +103,8 @@ into an active virtual environment uses the commands shown above.
|
||||||
|
|
||||||
.. seealso::
|
.. seealso::
|
||||||
|
|
||||||
`Python Packaging User Guide: Installing Python packages
|
`Python Packaging User Guide: Installing Python Distribution Packages
|
||||||
<http://packaging.python.org/en/latest/tutorial.html#installing-python-packages>`__
|
<https://packaging.python.org/en/latest/installing.html#installing-python-distributions>`__
|
||||||
|
|
||||||
|
|
||||||
How do I ...?
|
How do I ...?
|
||||||
|
@ -121,8 +121,8 @@ User Guide.
|
||||||
|
|
||||||
.. seealso::
|
.. seealso::
|
||||||
|
|
||||||
`Python Packaging User Guide: Installing the Tools
|
`Python Packaging User Guide: Setup for Installing Distribution Packages
|
||||||
<http://packaging.python.org/en/latest/tutorial.html#installing-the-tools>`__
|
<https://packaging.python.org/en/latest/installing.html#setup-for-installing-distributions>`__
|
||||||
|
|
||||||
|
|
||||||
.. installing-per-user-installation:
|
.. installing-per-user-installation:
|
||||||
|
@ -205,7 +205,7 @@ the installation process.
|
||||||
|
|
||||||
With the introduction of support for the binary ``wheel`` format, and the
|
With the introduction of support for the binary ``wheel`` format, and the
|
||||||
ability to publish wheels for at least Windows and Mac OS X through the
|
ability to publish wheels for at least Windows and Mac OS X through the
|
||||||
Python Package Index, this problem is expected to diminish over time,
|
Python Packaging Index, this problem is expected to diminish over time,
|
||||||
as users are more regularly able to install pre-built extensions rather
|
as users are more regularly able to install pre-built extensions rather
|
||||||
than needing to build them themselves.
|
than needing to build them themselves.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue