Setuptools

Latest version: v70.1.1

Safety actively analyzes 641872 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 104 of 109

0.6c1

=====

* Fixed ``AttributeError`` when trying to download a ``setup_requires``
dependency when a distribution lacks a ``dependency_links`` setting.

* Made ``zip-safe`` and ``not-zip-safe`` flag files contain a single byte, so
as to play better with packaging tools that complain about zero-length
files.

* Made ``setup.py develop`` respect the ``--no-deps`` option, which it
previously was ignoring.

* Support ``extra_path`` option to ``setup()`` when ``install`` is run in
backward-compatibility mode.

* Source distributions now always include a ``setup.cfg`` file that explicitly
sets ``egg_info`` options such that they produce an identical version number
to the source distribution's version number. (Previously, the default
version number could be different due to the use of ``--tag-date``, or if
the version was overridden on the command line that built the source
distribution.)

* EasyInstall now includes setuptools version information in the
``User-Agent`` string sent to websites it visits.

0.6b4

Not secure
=====

* Fix ``register`` not obeying name/version set by ``egg_info`` command, if
``egg_info`` wasn't explicitly run first on the same command line.

* Added ``--no-date`` and ``--no-svn-revision`` options to ``egg_info``
command, to allow suppressing tags configured in ``setup.cfg``.

* Fixed redundant warnings about missing ``README`` file(s); it should now
appear only if you are actually a source distribution.

* Fix creating Python wrappers for non-Python scripts

* Fix ``ftp://`` directory listing URLs from causing a crash when used in the
"Home page" or "Download URL" slots on PyPI.

* Fix ``sys.path_importer_cache`` not being updated when an existing zipfile
or directory is deleted/overwritten.

* Fix not recognizing HTML 404 pages from package indexes.

* Allow ``file://`` URLs to be used as a package index. URLs that refer to
directories will use an internally-generated directory listing if there is
no ``index.html`` file in the directory.

* Allow external links in a package index to be specified using
``rel="homepage"`` or ``rel="download"``, without needing the old
PyPI-specific visible markup.

* Suppressed warning message about possibly-misspelled project name, if an egg
or link for that project name has already been seen.

0.6b3

Not secure
=====

* Fix ``bdist_egg`` not including files in subdirectories of ``.egg-info``.

* Allow ``.py`` files found by the ``include_package_data`` option to be
automatically included. Remove duplicate data file matches if both
``include_package_data`` and ``package_data`` are used to refer to the same
files.

* Fix local ``--find-links`` eggs not being copied except with
``--always-copy``.

* Fix sometimes not detecting local packages installed outside of "site"
directories.

* Fix mysterious errors during initial ``setuptools`` install, caused by
``ez_setup`` trying to run ``easy_install`` twice, due to a code fallthru
after deleting the egg from which it's running.

0.6b2

Not secure
=====

* Don't install or update a ``site.py`` patch when installing to a
``PYTHONPATH`` directory with ``--multi-version``, unless an
``easy-install.pth`` file is already in use there.

* Construct ``.pth`` file paths in such a way that installing an egg whose
name begins with ``import`` doesn't cause a syntax error.

* Fixed a bogus warning message that wasn't updated since the 0.5 versions.

0.6b1

Not secure
=====

* Strip ``module`` from the end of compiled extension modules when computing
the name of a ``.py`` loader/wrapper. (Python's import machinery ignores
this suffix when searching for an extension module.)

* Better ambiguity management: accept ``egg`` name/version even if processing
what appears to be a correctly-named distutils file, and ignore ``.egg``
files with no ``-``, since valid Python ``.egg`` files always have a version
number (but Scheme eggs often don't).

* Support ``file://`` links to directories in ``--find-links``, so that
easy_install can build packages from local source checkouts.

* Added automatic retry for Sourceforge mirrors. The new download process is
to first just try dl.sourceforge.net, then randomly select mirror IPs and
remove ones that fail, until something works. The removed IPs stay removed
for the remainder of the run.

* Ignore bdist_dumb distributions when looking at download URLs.

0.6a11

======

* Added ``test_loader`` keyword to support custom test loaders

* Added ``setuptools.file_finders`` entry point group to allow implementing
revision control plugins.

* Added ``--identity`` option to ``upload`` command.

* Added ``dependency_links`` to allow specifying URLs for ``--find-links``.

* Enhanced test loader to scan packages as well as modules, and call
``additional_tests()`` if present to get non-unittest tests.

* Support namespace packages in conjunction with system packagers, by omitting
the installation of any ``__init__.py`` files for namespace packages, and
adding a special ``.pth`` file to create a working package in
``sys.modules``.

* Made ``--single-version-externally-managed`` automatic when ``--root`` is
used, so that most system packagers won't require special support for
setuptools.

* Fixed ``setup_requires``, ``tests_require``, etc. not using ``setup.cfg`` or
other configuration files for their option defaults when installing, and
also made the install use ``--multi-version`` mode so that the project
directory doesn't need to support .pth files.

* ``MANIFEST.in`` is now forcibly closed when any errors occur while reading
it. Previously, the file could be left open and the actual error would be
masked by problems trying to remove the open file on Windows systems.

* Process ``dependency_links.txt`` if found in a distribution, by adding the
URLs to the list for scanning.

* Use relative paths in ``.pth`` files when eggs are being installed to the
same directory as the ``.pth`` file. This maximizes portability of the
target directory when building applications that contain eggs.

* Added ``easy_install-N.N`` script(s) for convenience when using multiple
Python versions.

* Added automatic handling of installation conflicts. Eggs are now shifted to
the front of sys.path, in an order consistent with where they came from,
making EasyInstall seamlessly co-operate with system package managers.

The ``--delete-conflicting`` and ``--ignore-conflicts-at-my-risk`` options
are now no longer necessary, and will generate warnings at the end of a
run if you use them.

* Don't recursively traverse subdirectories given to ``--find-links``.

Page 104 of 109

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.