Skip to content

Commit

Permalink
Merge branch 'master' into feature/distribution-options-hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Nov 16, 2019
2 parents 88951e9 + a007982 commit 3e755ec
Show file tree
Hide file tree
Showing 53 changed files with 1,242 additions and 1,353 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 41.4.0
current_version = 41.6.0
commit = True
tag = True

Expand Down
3 changes: 2 additions & 1 deletion .travis.yml
Expand Up @@ -16,8 +16,9 @@ jobs:
- python: 3.5
- &default_py
python: 3.6
- python: 3.7
- &latest_py3
python: 3.7
python: 3.8
- <<: *latest_py3
env: LANG=C
- python: 3.8-dev
Expand Down
26 changes: 26 additions & 0 deletions CHANGES.rst
@@ -1,3 +1,29 @@
v41.6.0
-------

* #479: Replace usage of deprecated ``imp`` module with local re-implementation in ``setuptools._imp``.


v41.5.1
-------

* #1891: Fix code for detecting Visual Studio's version on Windows under Python 2.


v41.5.0
-------

* #1811: Improve Visual C++ 14.X support, mainly for Visual Studio 2017 and 2019.
* #1814: Fix ``pkg_resources.Requirement`` hash/equality implementation: take PEP 508 direct URL into account.
* #1824: Fix tests when running under ``python3.10``.
* #1878: Formally deprecated the ``test`` command, with the recommendation that users migrate to ``tox``.
* #1860: Update documentation to mention the egg format is not supported by pip and dependency links support was dropped starting with pip 19.0.
* #1862: Drop ez_setup documentation: deprecated for some time (last updated in 2016), and still relying on easy_install (deprecated too).
* #1868: Drop most documentation references to (deprecated) EasyInstall.
* #1884: Added a trove classifier to document support for Python 3.8.
* #1886: Added Python 3.8 release to the Travis test matrix.


v41.4.0
-------

Expand Down
1 change: 1 addition & 0 deletions changelog.d/1861.change.rst
@@ -0,0 +1 @@
Fix empty namespace package installation from wheel.
1 change: 1 addition & 0 deletions changelog.d/1898.breaking.rst
@@ -0,0 +1 @@
Removed the "upload" and "register" commands in favor of `twine <https://pypi.org/p/twine>`_.
1 change: 1 addition & 0 deletions conftest.py
Expand Up @@ -19,6 +19,7 @@ def pytest_addoption(parser):

if sys.version_info < (3,):
collect_ignore.append('setuptools/lib2to3_ex.py')
collect_ignore.append('setuptools/_imp.py')


if sys.version_info < (3, 6):
Expand Down
2 changes: 1 addition & 1 deletion docs/development.txt
Expand Up @@ -7,7 +7,7 @@ Authority (PyPA) and led by Jason R. Coombs.

This document describes the process by which Setuptools is developed.
This document assumes the reader has some passing familiarity with
*using* setuptools, the ``pkg_resources`` module, and EasyInstall. It
*using* setuptools, the ``pkg_resources`` module, and pip. It
does not attempt to explain basic concepts like inter-project
dependencies, nor does it contain detailed lexical syntax for most
file formats. Neither does it explain concepts like "namespace
Expand Down
4 changes: 2 additions & 2 deletions docs/easy_install.txt
Expand Up @@ -317,8 +317,8 @@ Note that instead of changing your ``PATH`` to include the Python scripts
directory, you can also retarget the installation location for scripts so they
go on a directory that's already on the ``PATH``. For more information see
`Command-Line Options`_ and `Configuration Files`_. During installation,
pass command line options (such as ``--script-dir``) to
``ez_setup.py`` to control where ``easy_install.exe`` will be installed.
pass command line options (such as ``--script-dir``) to control where
scripts will be installed.


Windows Executable Launcher
Expand Down
195 changes: 0 additions & 195 deletions docs/ez_setup.txt

This file was deleted.

7 changes: 2 additions & 5 deletions docs/formats.txt
Expand Up @@ -299,11 +299,8 @@ specified by the ``setup_requires`` parameter to the Distribution.
A list of dependency URLs, one per line, as specified using the
``dependency_links`` keyword to ``setup()``. These may be direct
download URLs, or the URLs of web pages containing direct download
links, and will be used by EasyInstall to find dependencies, as though
the user had manually provided them via the ``--find-links`` command
line option. Please see the setuptools manual and EasyInstall manual
for more information on specifying this option, and for information on
how EasyInstall processes ``--find-links`` URLs.
links. Please see the setuptools manual for more information on
specifying this option.


``depends.txt`` -- Obsolete, do not create!
Expand Down
14 changes: 7 additions & 7 deletions docs/pkg_resources.txt
Expand Up @@ -245,8 +245,8 @@ abbreviation for ``pkg_resources.working_set.require()``:
interactive interpreter hacking than for production use. If you're creating
an actual library or application, it's strongly recommended that you create
a "setup.py" script using ``setuptools``, and declare all your requirements
there. That way, tools like EasyInstall can automatically detect what
requirements your package has, and deal with them accordingly.
there. That way, tools like pip can automatically detect what requirements
your package has, and deal with them accordingly.

Note that calling ``require('SomePackage')`` will not install
``SomePackage`` if it isn't already present. If you need to do this, you
Expand Down Expand Up @@ -611,9 +611,9 @@ Requirements Parsing
or activation of both Report-O-Rama and any libraries it needs in order to
provide PDF support. For example, you could use::

easy_install.py Report-O-Rama[PDF]
pip install Report-O-Rama[PDF]

To install the necessary packages using the EasyInstall program, or call
To install the necessary packages using pip, or call
``pkg_resources.require('Report-O-Rama[PDF]')`` to add the necessary
distributions to sys.path at runtime.

Expand Down Expand Up @@ -1843,9 +1843,9 @@ History
because it isn't necessarily a filesystem path (and hasn't been for some
time now). The ``location`` of ``Distribution`` objects in the filesystem
should always be normalized using ``pkg_resources.normalize_path()``; all
of the setuptools and EasyInstall code that generates distributions from
the filesystem (including ``Distribution.from_filename()``) ensure this
invariant, but if you use a more generic API like ``Distribution()`` or
of the setuptools' code that generates distributions from the filesystem
(including ``Distribution.from_filename()``) ensure this invariant, but if
you use a more generic API like ``Distribution()`` or
``Distribution.from_location()`` you should take care that you don't
create a distribution with an un-normalized filesystem path.

Expand Down

0 comments on commit 3e755ec

Please sign in to comment.