Skip to content

Commit

Permalink
Correct the casing of PyPI (#1526)
Browse files Browse the repository at this point in the history
  • Loading branch information
asottile authored Jan 29, 2020
1 parent 5629b41 commit d80dc4d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ A tool for creating isolated 'virtual' python environments.

.. image:: https://img.shields.io/pypi/v/virtualenv.svg
:target: https://pypi.org/project/virtualenv
:alt: Latest version on PyPi
:alt: Latest version on PyPI
.. image:: https://img.shields.io/pypi/pyversions/virtualenv.svg
:target: https://pypi.org/project/virtualenv/
:alt: Supported Python versions
Expand Down
4 changes: 2 additions & 2 deletions docs/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -255,14 +255,14 @@ Features
- Support ``pip`` wheels with removed ``certifi's cacert.pem``. (`#1252 <https://github.com/pypa/virtualenv/issues/1252>`_)
- Upgrade setuptools from ``40.5.0`` to ``40.6.3`` and wheel from ``0.32.2`` to ``0.32.3``. (`#1257 <https://github.com/pypa/virtualenv/issues/1257>`_)
- ``powershell`` now also provides the ``pydoc`` function that uses the virtual environments ``pydoc``. (`#1258 <https://github.com/pypa/virtualenv/issues/1258>`_)
- Migrate to a ``setup.cfg`` based build. Minimum ``setuptools`` required to build is ``setuptools >= 40.6.3``, this is automatically acquired for all PEP-518 builders (recommended), or acquired via the old ``setup_requires`` method otherwise. Move exclusively to a ``setuptools`` generated console entry point script, this now does make ``setuptools >= 18.0.0`` a runtime dependency (install requires). Source and issue tracker now is shown on PyPi (supplied as package metadata) beside the homepage. (`#1259 <https://github.com/pypa/virtualenv/issues/1259>`_)
- Migrate to a ``setup.cfg`` based build. Minimum ``setuptools`` required to build is ``setuptools >= 40.6.3``, this is automatically acquired for all PEP-518 builders (recommended), or acquired via the old ``setup_requires`` method otherwise. Move exclusively to a ``setuptools`` generated console entry point script, this now does make ``setuptools >= 18.0.0`` a runtime dependency (install requires). Source and issue tracker now is shown on PyPI (supplied as package metadata) beside the homepage. (`#1259 <https://github.com/pypa/virtualenv/issues/1259>`_)


Deprecations (removal in next major release)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

- Using ``python setup.py test`` is now marked as deprecated and will be removed in next release. Use ``tox`` instead, always. (`#909 <https://github.com/pypa/virtualenv/issues/909>`_)
- Using the project directly from the source layout is now deprecated. Going ahead people wanting to use the project without installing the virtualenv are encouraged to download the wheel from PyPi and extract it to access the ``virtualenv.py`` file. We'll be switching to a ``src`` layout with next release. (`#1241 <https://github.com/pypa/virtualenv/issues/1241>`_)
- Using the project directly from the source layout is now deprecated. Going ahead people wanting to use the project without installing the virtualenv are encouraged to download the wheel from PyPI and extract it to access the ``virtualenv.py`` file. We'll be switching to a ``src`` layout with next release. (`#1241 <https://github.com/pypa/virtualenv/issues/1241>`_)
- No longer support ``distutils`` build/installation, now ``setuptools >= 40.6.3`` is required. (`#1259 <https://github.com/pypa/virtualenv/issues/1259>`_)


Expand Down
4 changes: 2 additions & 2 deletions src/virtualenv/seed/embed/base_embed.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@ def add_parser_arguments(cls, parser, interpreter):
"--download",
dest="download",
action="store_true",
help="download latest {} from PyPi".format("/".join(cls.packages)),
help="download latest {} from PyPI".format("/".join(cls.packages)),
default=False,
)
group.add_argument(
"--no-download",
"--never-download",
dest="download",
action="store_false",
help="download latest {} from PyPi".format("/".join(cls.packages)),
help="download latest {} from PyPI".format("/".join(cls.packages)),
default=True,
)
parser.add_argument(
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ commands =
python -c 'import pathlib; print("documentation available under file://\{0\}".format(pathlib.Path(r"{toxworkdir}") / "docs_out" / "index.html"))'

[testenv:package_readme]
description = check that the long description is valid (need for PyPi)
description = check that the long description is valid (need for PyPI)
deps =
{[testenv]deps}
twine >= 1.12.1
Expand Down

0 comments on commit d80dc4d

Please sign in to comment.