Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
526ee6d
Fix broken links
dukecat0 Sep 2, 2021
0c30fba
Fix broken links
dukecat0 Sep 2, 2021
32f3585
Add more links to ignore in linkcheck
dukecat0 Sep 2, 2021
608f286
Fix broken links
dukecat0 Sep 2, 2021
920c1d3
Add more links to ignore in linkcheck
dukecat0 Sep 2, 2021
248a843
Add more docs to `intersphinx_mapping`
dukecat0 Sep 3, 2021
e497eb0
Use intersphinx references
dukecat0 Sep 3, 2021
f8a55b2
Add more docs to `intersphinx_mapping`
dukecat0 Sep 3, 2021
6bdad46
Remove `linkcheck_anchors`
dukecat0 Sep 4, 2021
61883a2
Update messages.pot as of version cc488ec
github-actions[bot] Aug 26, 2021
7260424
Update messages.pot as of version 0ef3d3f
github-actions[bot] Aug 27, 2021
4999c87
Remove an empty line
dukecat0 Sep 4, 2021
a586711
Merge branch 'pypa:main' into main
dukecat0 Sep 4, 2021
095c966
Revert the change to the link of Discourse
dukecat0 Sep 6, 2021
ca1f735
Merge branch 'pypa:main' into main
dukecat0 Sep 7, 2021
bb31ffd
Merge branch 'pypa:main' into main
dukecat0 Sep 11, 2021
b018b14
Remove an empty line
dukecat0 Sep 4, 2021
81823d3
Revert the change to the link of Discourse
dukecat0 Sep 6, 2021
b9a4026
Merge branch 'fix-broken-link' of https://github.com/meowmeowmeowcat/…
dukecat0 Sep 17, 2021
163b5d8
Remove an empty line
dukecat0 Sep 4, 2021
540cc9c
Revert the change to the link of Discourse
dukecat0 Sep 6, 2021
7f3e3b0
Merge branch 'fix-broken-link' of https://github.com/meowmeowmeowcat/…
dukecat0 Sep 17, 2021
adc735d
Merge branch 'main' into fix-broken-link
dukecat0 Sep 18, 2021
dbd6d70
Revert "Merge branch 'main' into new"
dukecat0 Sep 18, 2021
c3f7a25
Revert "Merge branch 'main' into new"
dukecat0 Sep 18, 2021
e76c7ed
Revert "Revert "Merge branch 'main' into new""
dukecat0 Sep 18, 2021
a5a1ef8
Revert "Update messages.pot as of version 0ef3d3f"
dukecat0 Sep 18, 2021
3028d82
Revert "Revert "Merge branch 'main' into new""
dukecat0 Sep 18, 2021
ebc217b
Revert "Update messages.pot as of version cc488ec"
dukecat0 Sep 18, 2021
62c3982
Revert changes
dukecat0 Sep 18, 2021
954931a
Use Wayback Machine for the article
dukecat0 Sep 18, 2021
1461529
Remove trailing slash
dukecat0 Sep 18, 2021
551c562
Don't specify the language in URL
dukecat0 Sep 18, 2021
56297b6
Don't specify the language in URL
dukecat0 Sep 18, 2021
1680240
Use intersphinx references
dukecat0 Sep 18, 2021
32681d3
Merge branch 'fix-broken-link' of https://github.com/meowmeowmeowcat/…
dukecat0 Sep 18, 2021
42f8d15
Stick with the site root
dukecat0 Sep 18, 2021
d48a533
Use Shortened link
dukecat0 Sep 18, 2021
f66e402
Use `:rfc:` role
dukecat0 Sep 18, 2021
8d3e77f
Fix a typo
dukecat0 Sep 18, 2021
6d94b2f
Make the list of intersphinx mapping alphabetically
dukecat0 Sep 18, 2021
9857621
Fix a broken link
dukecat0 Sep 18, 2021
1edc007
Use intersphinx reference
dukecat0 Sep 18, 2021
20491e1
Remove an unnesscary trailing slash
dukecat0 Sep 18, 2021
1ebe9db
Fix a broken link
dukecat0 Sep 18, 2021
445d609
Merge branch 'fix-broken-link' of https://github.com/meowmeowmeowcat/…
dukecat0 Sep 18, 2021
b046f7f
Remove a blank line
dukecat0 Sep 19, 2021
58fd7bb
Don't specify the language in URL
dukecat0 Sep 19, 2021
f49cf51
Don't specify the language
dukecat0 Sep 19, 2021
fffbed2
Merge branch 'fix-broken-link' of https://github.com/meowmeowmeowcat/…
dukecat0 Sep 19, 2021
c458033
Use extlinks for links of Github issue
dukecat0 Sep 19, 2021
b82a3cc
Merge branch 'main' into fix-broken-link
webknjaz Oct 10, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ http://packaging.python.org
The "Python Packaging User Guide" (PyPUG) aims to be the authoritative resource on
how to package and install distributions in Python using current tools.

To follow the development of Python packaging, see the `Python
Packaging Authority <https://www.pypa.io>`_.
To follow the development of Python packaging, see the :doc:`Python
Packaging Authority <pypa:index>`.

Code of Conduct
---------------
Expand Down
22 changes: 21 additions & 1 deletion source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -398,14 +398,34 @@

# Example configuration for intersphinx: refer to the Python standard library.
intersphinx_mapping = {
'boltons': ('https://boltons.readthedocs.io/en/latest/', None),
'build': ('https://pypa-build.readthedocs.io/en/stable/', None),
'cffi': ('https://cffi.readthedocs.io/en/latest/', None),
'conda': ('https://conda.io/en/latest/', None),
'devpi': ('https://devpi.net/docs/devpi/devpi/latest/+doc', None),
'dh-virtualenv': ('https://dh-virtualenv.readthedocs.io/en/latest/', None),
'distlib': ('https://distlib.readthedocs.io/en/latest/', None),
'flexx': ('https://flexx.readthedocs.io/en/latest/', None),
'nox': ('https://nox.thea.codes/en/latest/', None),
'openstack': ('https://docs.openstack.org/glance/latest/', None),
'packaging': ('https://packaging.pypa.io/en/latest/', None),
'packaging.python.org': ('https://packaging.python.org/', None),
'pip': ('https://pip.pypa.io/en/latest/', None),
'pipenv': ('https://pipenv.pypa.io/en/latest/', None),
'piwheels': ('https://piwheels.readthedocs.io/en/latest/', None),
'pybind11': ('https://pybind11.readthedocs.io/en/stable/', None),
'pynsist': ('https://pynsist.readthedocs.io/en/latest/', None),
'pypa': ('https://www.pypa.io/en/latest/', None),
'python': ('https://docs.python.org/3', None),
'python-guide': ('https://docs.python-guide.org', None),
'python2': ('https://docs.python.org/2', None),
'pip': ('https://pip.pypa.io/en/latest/', None),
'scipy': ('https://www.scipy.org', None),
'setuptools': ('https://setuptools.readthedocs.io/en/latest/', None),
'spack': ('https://spack.readthedocs.io/en/latest/', None),
'sphinx': ('https://www.sphinx-doc.org/en/master', None),
'tox': ('https://tox.readthedocs.io/en/latest/', None),
'twine': ('https://twine.readthedocs.io/en/stable/', None),
'virtualenv': ('https://virtualenv.pypa.io/en/stable/', None),
}


Expand Down
15 changes: 6 additions & 9 deletions source/contribute.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ Most of the work on the |PyPUG| takes place on the
`open issues`__ and `pull requests`__. If you're planning to write or edit
the guide, please read the :ref:`style guide <contributing_style_guide>`.

.. __: https://github.com/pypa/python-packaging-user-guide/
.. __: https://github.com/pypa/python-packaging-user-guide/issues
.. __: https://github.com/pypa/python-packaging-user-guide/pulls
.. __: https://github.com/pypa/packaging.python.org/

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks to the extlinks defined in conf.py, it's also possible to link GitHub via

:gh:`pypa/packaging.python.org`

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't find any :gh: in the docs, should I make all references of Github use :gh:?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not in the docs. The built-in extlinks Sphinx extension allows defining arbitrary simple roles. You can find the mapping with all of the project-specific definitions in conf.py.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you can use it across the project but only update the links that were broken. Updating anything beyond that is out of the scope of this PR.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you plan to change this?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I prefer changing this in separate PR.

.. __: https://github.com/pypa/packaging.python.org/issues
.. __: https://github.com/pypa/packaging.python.org/pulls

By contributing to the |PyPUG|, you're expected to follow the PSF's
`Code of Conduct`__.
Expand Down Expand Up @@ -124,19 +124,16 @@ Though not required to contribute, it may be useful to build this guide locally
in order to test your changes. In order to build this guide locally, you'll
need:

1. `Nox <https://nox.readthedocs.io/en/latest/>`_. You can install or upgrade
1. :doc:`Nox <nox:index>`. You can install or upgrade
nox using ``pip``:

.. code-block:: bash

python -m pip install --user nox

2. Python 3.6. Our build scripts are designed to work with Python 3.6 only.
See the `Hitchhiker's Guide to Python installation instructions`_ to install
Python 3.6 on your operating system.

.. _Hitchhiker's Guide to Python installation instructions:
http://docs.python-guide.org/en/latest/starting/installation/
See the :doc:`Hitchhiker's Guide to Python installation instructions <python-guide:starting/installation>`
to install Python 3.6 on your operating system.

To build the guide, run the following bash command in the source folder:

Expand Down
2 changes: 1 addition & 1 deletion source/discussions/deploying-python-applications.rst
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ directory, independent of any other Python installation on the computer.

A big advantage of Pynsist is that the Windows packages can be built on Linux.
There are several examples for different kinds of programs (console, GUI) in
the `documentation <https://pynsist.readthedocs.io>`__. The tool is released
the `documentation <pynsist:index>`. The tool is released
under the MIT-licence.

Application bundles
Expand Down
2 changes: 1 addition & 1 deletion source/discussions/install-requires-vs-requirements.rst
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,4 @@ installs them using ``python -m pip install -r``.
----

.. [1] For more on "Abstract" vs "Concrete" requirements, see
https://caremad.io/2013/07/setup-vs-requirement/.
https://caremad.io/posts/2013/07/setup-vs-requirement/.
2 changes: 1 addition & 1 deletion source/discussions/wheel-vs-egg.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Here's a breakdown of the important differences between :term:`Wheel` and :term:
specification and the implementation that packaged it.

* :term:`Wheel` is internally organized by `sysconfig path type
<http://docs.python.org/2/library/sysconfig.html#installation-paths>`_,
<https://docs.python.org/2/library/sysconfig.html#installation-paths>`_,
Comment thread
dukecat0 marked this conversation as resolved.
Resolved
therefore making it easier to convert to other formats.

----
Expand Down
2 changes: 1 addition & 1 deletion source/glossary.rst
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ Glossary

PyPA is a working group that maintains many of the relevant
projects in Python packaging. They maintain a site at
https://www.pypa.io, host projects on `GitHub
:doc:`pypa.io <pypa:index>`, host projects on `GitHub
<https://github.com/pypa>`_ and `Bitbucket
<https://bitbucket.org/pypa>`_, and discuss issues on the
`distutils-sig mailing list
Expand Down
2 changes: 1 addition & 1 deletion source/guides/analyzing-pypi-package-downloads.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ In order to use `Google BigQuery`_ to query the `public PyPI download
statistics dataset`_, you'll need a Google account and to enable the BigQuery
API on a Google Cloud Platform project. You can run the up to 1TB of queries
per month `using the BigQuery free tier without a credit card
<https://cloud.google.com/blog/big-data/2017/01/how-to-run-a-terabyte-of-google-bigquery-queries-each-month-without-a-credit-card>`__
<https://cloud.google.com/blog/products/data-analytics/query-without-a-credit-card-introducing-bigquery-sandbox>`__

- Navigate to the `BigQuery web UI`_.
- Create a new project.
Expand Down
3 changes: 1 addition & 2 deletions source/guides/creating-and-discovering-plugins.rst
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ a list of packages to :func:`setup`'s ``packages`` argument instead of using
Using package metadata
======================

`Setuptools`_ provides :doc:`special support
:doc:`Setuptools <setuptools:index>` provides :doc:`special support
<setuptools:userguide/entry_point>` for plugins. By providing the
``entry_points`` argument to :func:`setup` in :file:`setup.py` plugins can
register themselves for discovery.
Expand Down Expand Up @@ -171,5 +171,4 @@ Now the module of your choice can be imported by executing
<python:library/importlib.metadata>`, most packaging tools other than setuptools
provide support for defining entry points.

.. _Setuptools: https://setuptools.readthedocs.io
.. _backport: https://importlib-metadata.readthedocs.io/en/latest/
30 changes: 15 additions & 15 deletions source/guides/distributing-packages-using-setuptools.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ setup.py

The most important file is :file:`setup.py` which exists at the root of your
project directory. For an example, see the `setup.py
<https://github.com/pypa/sampleproject/blob/master/setup.py>`_ in the `PyPA
<https://github.com/pypa/sampleproject/blob/main/setup.py>`_ in the `PyPA
sample project <https://github.com/pypa/sampleproject>`_.

:file:`setup.py` serves two primary functions:
Expand All @@ -78,7 +78,7 @@ setup.cfg

:file:`setup.cfg` is an ini file that contains option defaults for
:file:`setup.py` commands. For an example, see the `setup.cfg
<https://github.com/pypa/sampleproject/blob/master/setup.cfg>`_ in the `PyPA
<https://github.com/pypa/sampleproject/blob/main/setup.cfg>`_ in the `PyPA
sample project <https://github.com/pypa/sampleproject>`_.


Expand All @@ -87,13 +87,13 @@ README.rst / README.md

All projects should contain a readme file that covers the goal of the project.
The most common format is `reStructuredText
<http://docutils.sourceforge.net/rst.html>`_ with an "rst" extension, although
<https://docutils.sourceforge.io/rst.html>`_ with an "rst" extension, although
this is not a requirement; multiple variants of `Markdown
<https://daringfireball.net/projects/markdown/>`_ are supported as well (look
at ``setup()``'s :ref:`long_description_content_type <description>` argument).

For an example, see `README.md
<https://github.com/pypa/sampleproject/blob/master/README.md>`_ from the `PyPA
<https://github.com/pypa/sampleproject/blob/main/README.md>`_ from the `PyPA
sample project <https://github.com/pypa/sampleproject>`_.

.. note:: Projects using :ref:`setuptools` 0.6.27+ have standard readme files
Expand All @@ -113,7 +113,7 @@ writing a :file:`MANIFEST.in` file, including a list of what's included by
default, see ":ref:`Using MANIFEST.in`".

For an example, see the `MANIFEST.in
<https://github.com/pypa/sampleproject/blob/master/MANIFEST.in>`_ from the `PyPA
<https://github.com/pypa/sampleproject/blob/main/MANIFEST.in>`_ from the `PyPA
sample project <https://github.com/pypa/sampleproject>`_.

.. note:: :file:`MANIFEST.in` does not affect binary distributions such as wheels.
Expand All @@ -128,7 +128,7 @@ If you're unsure which license to choose, you can use resources such as
`GitHub's Choose a License <https://choosealicense.com/>`_ or consult a lawyer.

For an example, see the `LICENSE.txt
<https://github.com/pypa/sampleproject/blob/master/LICENSE.txt>`_ from the `PyPA
<https://github.com/pypa/sampleproject/blob/main/LICENSE.txt>`_ from the `PyPA
sample project <https://github.com/pypa/sampleproject>`_.

<your package>
Expand All @@ -139,7 +139,7 @@ Python modules and packages under a single top-level package that has the same
:ref:`name <setup() name>` as your project, or something very close.

For an example, see the `sample
<https://github.com/pypa/sampleproject/tree/master/src/sample>`_ package that's
<https://github.com/pypa/sampleproject/tree/main/src/sample>`_ package that's
included in the `PyPA sample project <https://github.com/pypa/sampleproject>`_.


Expand All @@ -154,7 +154,7 @@ specific details of your project are defined.

The most relevant arguments are explained below. Most of the snippets given are
taken from the `setup.py
<https://github.com/pypa/sampleproject/blob/master/setup.py>`_ contained in the
<https://github.com/pypa/sampleproject/blob/main/setup.py>`_ contained in the
`PyPA sample project <https://github.com/pypa/sampleproject>`_.


Expand Down Expand Up @@ -237,7 +237,7 @@ A `content type
can be specified with the ``long_description_content_type`` argument, which can
be one of ``text/plain``, ``text/x-rst``, or ``text/markdown``, corresponding
to no formatting, `reStructuredText (reST)
<http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#reference-names>`_,
<https://docutils.sourceforge.io/docs/ref/rst/restructuredtext.html#reference-names>`_,
and the Github-flavored Markdown dialect of `Markdown
<https://daringfireball.net/projects/markdown/>`_ respectively.

Expand Down Expand Up @@ -476,8 +476,8 @@ and it is interpreted relative to the installation prefix
Each file name in ``files`` is interpreted relative to the :file:`setup.py`
script at the top of the project source distribution.

For more information see the distutils section on `Installing Additional Files
<http://docs.python.org/3/distutils/setupscript.html#installing-additional-files>`_.
For more information see the distutils section on :ref:`Installing Additional Files
<python:distutils-additional-files>`.

.. note::

Expand All @@ -490,8 +490,8 @@ For more information see the distutils section on `Installing Additional Files
``scripts``
~~~~~~~~~~~

Although ``setup()`` supports a `scripts
<http://docs.python.org/3/distutils/setupscript.html#installing-scripts>`_
Although ``setup()`` supports a :ref:`scripts
<python:distutils-installing-scripts>`
keyword for pointing to pre-made scripts to install, the recommended approach to
achieve cross-platform compatibility is to use :ref:`console_scripts` entry
points (see below).
Expand Down Expand Up @@ -576,7 +576,7 @@ Semantic versioning (preferred)
*******************************

For new projects, the recommended versioning scheme is based on `Semantic Versioning
<http://semver.org>`_, but adopts a different approach to handling pre-releases and
<https://semver.org/>`_, but adopts a different approach to handling pre-releases and

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should prefer links without a trailing slash for the site roots.

build metadata.

The essence of semantic versioning is a 3-part MAJOR.MINOR.MAINTENANCE numbering scheme,
Expand All @@ -592,7 +592,7 @@ Adopting this approach as a project author allows users to make use of :pep:`"co
a matching MAJOR version.

Python projects adopting semantic versioning should abide by clauses 1-8 of the
`Semantic Versioning 2.0.0 specification <http://semver.org>`_.
`Semantic Versioning 2.0.0 specification <https://semver.org/>`_.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(same as above)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, consider declaring detached links and reusing them in text.

@dukecat0 dukecat0 Sep 18, 2021 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

However, they have different names, which one is Semantic Versioning and one is Semantic Versioning 2.0.0 specification. How can I declare these links, although they are the same?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

`new name <old name_>`_

@dukecat0 dukecat0 Sep 19, 2021 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems that it doesn't work? I got an error from Sphinx:

'any' reference target not found:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds like you forgot a trailing underscore.


Date based versioning
*********************
Expand Down
3 changes: 1 addition & 2 deletions source/guides/hosting-your-own-index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Hosting your own simple repository


If you wish to host your own simple repository [1]_, you can either use a
software package like `devpi`_ or you can use simply create the proper
software package like :doc:`devpi <devpi:index>` or you can use simply create the proper
directory structure and use any web server that can serve static files and
generate an autoindex.

Expand Down Expand Up @@ -59,5 +59,4 @@ instruct users to add the URL to their installer's configuration.
:pep:`503`.


.. _devpi: http://doc.devpi.net/latest/
.. _Twisted: https://twistedmatrix.com/
2 changes: 1 addition & 1 deletion source/guides/index-mirrors-and-caches.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ devpi is a caching proxy server which you run on your laptop, or some other
machine you know will always be available to you. See the `devpi
documentation for getting started`__.

__ http://doc.devpi.net/latest/quickstart-pypimirror.html
__ https://devpi.net/docs/devpi/devpi/latest/+d/quickstart-pypimirror.html


Complete mirror with bandersnatch
Expand Down
16 changes: 8 additions & 8 deletions source/guides/installing-scientific-packages.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ it will often have multiple build options to take advantage of different
kinds of hardware, or to interoperate with different pieces of external
software.

In particular, `NumPy <http://www.numpy.org/>`__, which provides the basis
for most of the software in the `scientific Python stack
<http://www.scipy.org/stackspec.html#stackspec>`__ can be configured
In particular, `NumPy <https://numpy.org/>`__, which provides the basis
for most of the software in the :doc:`scientific Python stack
<scipy:stackspec>` can be configured
to interoperate with different FORTRAN libraries, and can take advantage
of different levels of vectorised instructions available in modern CPUs.

Expand Down Expand Up @@ -67,7 +67,7 @@ the CPython Windows installers published on python.org.
For projects which don't provide their own Windows installers (and even
some which do), Christoph Gohlke at the University of California provides
a `collection of Windows installers
<http://www.lfd.uci.edu/~gohlke/pythonlibs/>`__. Many Python users on
<https://www.lfd.uci.edu/~gohlke/pythonlibs/>`__. Many Python users on
Windows have reported a positive experience with these prebuilt versions.

As with Linux system packages, the Windows installers will only install into a
Expand Down Expand Up @@ -98,16 +98,16 @@ install the :ref:`scientific Python stack
SciPy distributions
-------------------

The SciPy site lists `several distributions
<http://www.scipy.org/install.html>`__ that provide the full SciPy stack to
The SciPy site lists :doc:`several distributions
<scipy:install>` that provide the full SciPy stack to
end users in an easy to use and update format.

Some of these distributions may not be compatible with the standard ``pip``
and ``virtualenv`` based toolchain.

Spack
------
`Spack <https://github.com/LLNL/spack/>`_ is a flexible package manager
`Spack <https://github.com/spack/spack>`_ is a flexible package manager
designed to support multiple versions, configurations, platforms, and compilers.
It was built to support the needs of large supercomputing centers and scientific
application teams, who must often build software many different ways.
Expand All @@ -127,7 +127,7 @@ be loaded and unloaded from the user's environment.
The conda cross-platform package manager
----------------------------------------

`Anaconda <https://www.anaconda.com/download/>`_ is a Python distribution
`Anaconda <https://www.anaconda.com/products/individual/>`_ is a Python distribution
published by Anaconda, Inc. It is a stable collection of Open Source
packages for big data and scientific use. As of the 5.0 release of Anaconda,
about 200 packages are installed by default, and a total of 400-500 can be
Expand Down
8 changes: 4 additions & 4 deletions source/guides/installing-using-linux-tools.rst
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ To install pip and wheel for the system Python, there are two options:

1. Enable the `EPEL repository <https://fedoraproject.org/wiki/EPEL>`_ using
`these instructions
<https://fedoraproject.org/wiki/EPEL#How_can_I_use_these_extra_packages.3F>`__.
<https://docs.fedoraproject.org/en-US/epel/#how_can_i_use_these_extra_packages>`__.
On EPEL 7, you can install pip and wheel like so:

.. code-block:: bash
Expand All @@ -66,8 +66,8 @@ To install pip and wheel for the system Python, there are two options:


2. Enable the `PyPA Copr Repo
<https://copr.fedoraproject.org/coprs/pypa/pypa/>`_ using `these instructions
<https://fedorahosted.org/copr/wiki/HowToEnableRepo>`__ [1]_. You can install
<https://copr.fedorainfracloud.org/coprs/pypa/pypa/>`_ using `these instructions
<https://fedoraproject.org/wiki/Infrastructure/Fedorahosted-retirement>`__ [1]_. You can install
pip and wheel like so:

.. code-block:: bash
Expand All @@ -89,7 +89,7 @@ To install pip, wheel, and setuptools, in a parallel, non-system environment
includes pip, setuptools, and wheel.

* For Redhat, see here:
http://developers.redhat.com/products/softwarecollections/overview/
https://developers.redhat.com/products/softwarecollections/overview
* For CentOS, see here: https://www.softwarecollections.org/en/

Be aware that collections may not contain the most recent versions.
Expand Down
6 changes: 3 additions & 3 deletions source/guides/making-a-pypi-friendly-readme.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ For your README to display properly on PyPI, choose a markup language supported
Formats supported by `PyPI's README renderer <https://github.com/pypa/readme_renderer>`_ are:

* plain text
* `reStructuredText <http://docutils.sourceforge.net/rst.html>`_ (without Sphinx extensions)
* `reStructuredText <https://docutils.sourceforge.io/rst.html>`_ (without Sphinx extensions)
* Markdown (`GitHub Flavored Markdown <https://github.github.com/gfm/>`_ by default,
or `CommonMark <http://commonmark.org/>`_)
or `CommonMark <https://commonmark.org/>`_)

It's customary to save your README file in the root of your project, in the same directory as your :file:`setup.py` file.

Expand Down Expand Up @@ -97,7 +97,7 @@ If your README is written in reStructuredText, any invalid markup will prevent
it from rendering, causing PyPI to instead just show the README's raw source.

Note that Sphinx extensions used in docstrings, such as
`directives and roles <http://www.sphinx-doc.org/en/master/usage/restructuredtext/index.html>`_
:doc:`directives and roles <sphinx:usage/restructuredtext/index>`
(e.g., "``:py:func:`getattr```" or "``:ref:`my-reference-label```"), are not allowed here and will result in error
messages like "``Error: Unknown interpreted text role "py:func".``".

Expand Down
Loading