Commit 6f15b4dd authored by Reinout van Rees's avatar Reinout van Rees Committed by GitHub

Merge pull request #445 from icemac/new-pypi

Use the new PyPI at https://pypi.org/.
parents f75d0e7a 73b1377c
...@@ -4,7 +4,7 @@ Change History ...@@ -4,7 +4,7 @@ Change History
2.11.3 (unreleased) 2.11.3 (unreleased)
=================== ===================
- Nothing changed yet. - Update to use the new PyPI at https://pypi.org/.
2.11.2 (2018-03-19) 2.11.2 (2018-03-19)
......
...@@ -124,7 +124,7 @@ recipe ...@@ -124,7 +124,7 @@ recipe
will implement the part. The value is a Python distribution will implement the part. The value is a Python distribution
requirement, as would be used with ``pip``. In this case, we've requirement, as would be used with ``pip``. In this case, we've
specified `zc.recipe.egg specified `zc.recipe.egg
<https://pypi.python.org/pypi/zc.recipe.egg>`_ which is the name of <https://pypi.org/project/zc.recipe.egg/>`_ which is the name of
a Python project that provides a number of recipe implementations. a Python project that provides a number of recipe implementations.
eggs eggs
...@@ -186,9 +186,9 @@ Generating configuration and custom scripts ...@@ -186,9 +186,9 @@ Generating configuration and custom scripts
The ``bobo`` program doesn't daemonize itself. Rather, it's meant to The ``bobo`` program doesn't daemonize itself. Rather, it's meant to
be used with a dedicated daemonizer like `zdaemon be used with a dedicated daemonizer like `zdaemon
<https://pypi.python.org/pypi/zdaemon>`_ or `supervisord <https://pypi.org/project/zdaemon>`_ or `supervisord
<http://supervisord.org/>`_. We'll use a `recipe to set up zdaemon <http://supervisord.org/>`_. We'll use a `recipe to set up zdaemon
<https://pypi.python.org/pypi/zc.zdaemonrecipe>`_. Our Buildout <https://pypi.org/project/zc.zdaemonrecipe>`_. Our Buildout
configuration becomes: configuration becomes:
.. code-block:: ini .. code-block:: ini
...@@ -325,7 +325,7 @@ The example shown above illustrates how Buildout is more than just a ...@@ -325,7 +325,7 @@ The example shown above illustrates how Buildout is more than just a
package installer such as ``pip``. Using Buildout recipes, we can package installer such as ``pip``. Using Buildout recipes, we can
install custom scripts and configuration files, and much more. For install custom scripts and configuration files, and much more. For
example, we could use `configure and make example, we could use `configure and make
<https://pypi.python.org/pypi/zc.recipe.cmmi>`_ to install non-Python <https://pypi.org/project/zc.recipe.cmmi>`_ to install non-Python
software from source, we could run JavaScript builders, or do anything software from source, we could run JavaScript builders, or do anything
else that can be automated with Python. else that can be automated with Python.
...@@ -487,10 +487,10 @@ version requirements in their own file: ...@@ -487,10 +487,10 @@ version requirements in their own file:
Here, we've used the Buildout ``extends`` option to say that Here, we've used the Buildout ``extends`` option to say that
configurations should be read from ``versions.cfg`` (it's configurations should be read from ``versions.cfg`` (it's
allowed to specify several files in ``extend``). Cconfigurations allowed to specify several files in ``extend``). Cconfigurations
should be read from the named file (or files) and the should be read from the named file (or files) and the
configuration in the current file should override configuration in the configuration in the current file should override configuration in the
extended files. extended files.
To continue the example, our ``versions.cfg`` file To continue the example, our ``versions.cfg`` file
might look like: might look like:
...@@ -741,7 +741,7 @@ To get an interactive Python prompt, or you can run a script with it: ...@@ -741,7 +741,7 @@ To get an interactive Python prompt, or you can run a script with it:
If you need to work on multiple interdependent projects at the same If you need to work on multiple interdependent projects at the same
time, you can name multiple directories in the ``develop`` option, time, you can name multiple directories in the ``develop`` option,
typically pointing to multiple check outs. A popular Buildout typically pointing to multiple check outs. A popular Buildout
extension, `mr.developer <https://pypi.python.org/pypi/mr.developer>`_, extension, `mr.developer <https://pypi.org/project/mr.developer>`_,
automates this process. automates this process.
Where to go from here? Where to go from here?
...@@ -777,11 +777,11 @@ details, as well as let you know about features not touched on here. ...@@ -777,11 +777,11 @@ details, as well as let you know about features not touched on here.
.. [#finding-hundreds] You can list Buildout-related software, .. [#finding-hundreds] You can list Buildout-related software,
consisting mostly of Buildout recipes, using the consisting mostly of Buildout recipes, using the
`Framework :: Buildout `Framework :: Buildout
<https://pypi.python.org/pypi?:action=browse&show=all&c=512>`_ <https://pypi.org/search/?q=&o=&c=Framework+%3A%3A+Buildout>`_
classifier search. These results miss recipes that don't provide classifier search. These results miss recipes that don't provide
classifier meta data. Generally you can find a recipe for a task by classifier meta data. Generally you can find a recipe for a task by
searching the name of the task and the "recipe" in the `package searching the name of the task and the "recipe" in the `package
index <https://pypi.python.org/pypi>`_. index <https://pypi.org/>`_.
.. [#hypocritical] It's a little hypocritical to recommend installing .. [#hypocritical] It's a little hypocritical to recommend installing
Buildout into an otherwise clean environment, which is why Buildout Buildout into an otherwise clean environment, which is why Buildout
......
...@@ -129,7 +129,7 @@ Pass one or more section names as arguments to display annotation only for the g ...@@ -129,7 +129,7 @@ Pass one or more section names as arguments to display annotation only for the g
.. code-block:: console .. code-block:: console
buildout annotate versions buildout annotate versions
.. _bootstrap-command: .. _bootstrap-command:
...@@ -200,8 +200,8 @@ doesn't have setuptools installed. Normally today, setuptools *is* ...@@ -200,8 +200,8 @@ doesn't have setuptools installed. Normally today, setuptools *is*
installed and you can just run setup scripts that use setuptools directly. installed and you can just run setup scripts that use setuptools directly.
Note that if you want to build and upload a package to the `standard Note that if you want to build and upload a package to the `standard
package index <https://pypi.python.org/pypi>`_ you should consider package index <https://pypi.org>`_ you should consider
using `zest.releaser <https://pypi.python.org/pypi/zest.releaser>`_, using `zest.releaser <https://pypi.org/project/zest.releaser>`_,
which automates many aspects of software release including checking which automates many aspects of software release including checking
meta data, building releases and making version-control tags. meta data, building releases and making version-control tags.
...@@ -353,7 +353,7 @@ index ...@@ -353,7 +353,7 @@ index
<https://packaging.python.org/distributing/#name>`_ containing <https://packaging.python.org/distributing/#name>`_ containing
distributions for those projects. distributions for those projects.
If this isn't set, then ``https://pypi.python.org/simple/`` is used. If this isn't set, then ``https://pypi.org/simple/`` is used.
.. _install-from-cache-mode: .. _install-from-cache-mode:
......
...@@ -109,7 +109,7 @@ incompatible version of setuptools, because Buildout and setuptools ...@@ -109,7 +109,7 @@ incompatible version of setuptools, because Buildout and setuptools
were evolving rapidly, sometimes in lock step. were evolving rapidly, sometimes in lock step.
This approach fails from time to time, due to changes in setuptools or This approach fails from time to time, due to changes in setuptools or
`the package index <https://pypi.python.org/pypi>`_ and has been a `the package index <https://pypi.org/>`_ and has been a
source of breakage when automated systems depended on it. source of breakage when automated systems depended on it.
It's also possible that this approach will stop being supported. It's also possible that this approach will stop being supported.
......
...@@ -16,4 +16,4 @@ and often experimental ways. Use the ``extensions`` option in the ...@@ -16,4 +16,4 @@ and often experimental ways. Use the ``extensions`` option in the
... ...
Some other examples of extensions can be found in the `standard Some other examples of extensions can be found in the `standard
package index <https://pypi.python.org/pypi?:action=browse&c=512&c=546>`_. package index <https://pypi.org/search/?q=&o=&c=Framework+%3A%3A+Buildout+%3A%3A+Extension>`_.
...@@ -496,7 +496,7 @@ More realistically: ...@@ -496,7 +496,7 @@ More realistically:
- You might use a test runner like nose or pytest. There are `recipes - You might use a test runner like nose or pytest. There are `recipes
that can help set this up that can help set this up
<https://pypi.python.org/pypi?%3Aaction=search&term=test+runner+buildout+recipe&>`_. <https://pypi.org/search/?q=test+runner+buildout+recipe>`_.
We just used the test runner built into ``unittest``. We just used the test runner built into ``unittest``.
``zc.buildout.testing`` reference ``zc.buildout.testing`` reference
......
...@@ -46,7 +46,7 @@ local files:: ...@@ -46,7 +46,7 @@ local files::
... develop = allowdemo ... develop = allowdemo
... parts = eggs ... parts = eggs
... allow-hosts = ... allow-hosts =
... pypi.python.org ... pypi.org
... ...
... [eggs] ... [eggs]
... recipe = zc.recipe.egg:eggs ... recipe = zc.recipe.egg:eggs
......
...@@ -3176,7 +3176,7 @@ using the `index` option:: ...@@ -3176,7 +3176,7 @@ using the `index` option::
... ...
index = https://index.example.com/ index = https://index.example.com/
This index, or the default of https://pypi.python.org/simple/ if no This index, or the default of https://pypi.org/simple/ if no
index is specified, will always be searched for distributions unless index is specified, will always be searched for distributions unless
running buildout with options that prevent searching for running buildout with options that prevent searching for
distributions. The latest version of the distribution that meets the distributions. The latest version of the distribution that meets the
......
...@@ -56,7 +56,7 @@ def realpath(path): ...@@ -56,7 +56,7 @@ def realpath(path):
default_index_url = os.environ.get( default_index_url = os.environ.get(
'buildout-testing-index-url', 'buildout-testing-index-url',
'https://pypi.python.org/simple', 'https://pypi.org/simple',
) )
logger = logging.getLogger('zc.buildout.easy_install') logger = logging.getLogger('zc.buildout.easy_install')
......
...@@ -46,7 +46,7 @@ index ...@@ -46,7 +46,7 @@ index
The URL of an index server, or almost any other valid URL. :) The URL of an index server, or almost any other valid URL. :)
If not specified, the Python Package Index, If not specified, the Python Package Index,
https://pypi.python.org/simple/, is used. You can specify an https://pypi.org/simple/, is used. You can specify an
alternate index with this option. If you use the links option and alternate index with this option. If you use the links option and
if the links point to the needed distributions, then the index can if the links point to the needed distributions, then the index can
be anything and will be largely ignored. In the examples, here, be anything and will be largely ignored. In the examples, here,
...@@ -1112,7 +1112,7 @@ index ...@@ -1112,7 +1112,7 @@ index
The URL of an index server, or almost any other valid URL. :) The URL of an index server, or almost any other valid URL. :)
If not specified, the Python Package Index, If not specified, the Python Package Index,
https://pypi.python.org/simple/, is used. You can specify an https://pypi.org/simple/, is used. You can specify an
alternate index with this option. If you use the links option and alternate index with this option. If you use the links option and
if the links point to the needed distributions, then the index can if the links point to the needed distributions, then the index can
be anything and will be largely ignored. In the examples, here, be anything and will be largely ignored. In the examples, here,
......
...@@ -317,8 +317,8 @@ When everything is pinned, no output is generated: ...@@ -317,8 +317,8 @@ When everything is pinned, no output is generated:
recipe v2 recipe v2
The Python package index is case-insensitive. Both The Python package index is case-insensitive. Both
https://pypi.python.org/simple/Django/ and https://pypi.org/simple/Django/ and
https://pypi.python.org/simple/dJaNgO/ work. And distributions aren't always https://pypi.org/simple/dJaNgO/ work. And distributions aren't always
naming themselves consistently case-wise. So all version names are normalized naming themselves consistently case-wise. So all version names are normalized
and case differences won't impact the pinning: and case differences won't impact the pinning:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment