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
other Python users
* the `Python Packaging Authority
* `Project structure`_
* `Building and packaging the project`_
-* `Uploading the project to the Python Package Index`_
+* `Uploading the project to the Python Packaging Index`_
.. _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: \
- http://packaging.python.org/en/latest/tutorial.html#building-packaging-your-project
-.. _Uploading the project to the Python Package Index: \
- http://packaging.python.org/en/latest/tutorial.html#uploading-your-project-to-pypi
+ https://packaging.python.org/en/latest/distributing.html#packaging-your-project
+.. _Uploading the project to the Python Packaging Index: \
+ http://packaging.python.org/en/latest/distributing.html#uploading-your-project-to-pypi
How do I...?
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
is already a project with that name
* check what comes up in a web search for the name you're considering
``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
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
other Python users
* the `Python Packaging Authority
line.
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
.. seealso::
- `Python Packaging User Guide: Installing Python packages
- <http://packaging.python.org/en/latest/tutorial.html#installing-python-packages>`__
+ `Python Packaging User Guide: Installing Python Distribution Packages
+ <https://packaging.python.org/en/latest/installing.html#installing-python-distributions>`__
How do I ...?
.. seealso::
- `Python Packaging User Guide: Installing the Tools
- <http://packaging.python.org/en/latest/tutorial.html#installing-the-tools>`__
+ `Python Packaging User Guide: Setup for Installing Distribution Packages
+ <https://packaging.python.org/en/latest/installing.html#setup-for-installing-distributions>`__
.. installing-per-user-installation:
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
-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
than needing to build them themselves.