Setuptools

Latest version: v69.5.1

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

Scan your dependencies

Page 103 of 109

0.6c4

=====

* Overhauled Windows script wrapping to support ``bdist_wininst`` better.
Scripts installed with ``bdist_wininst`` will always use ``!python.exe`` or
``!pythonw.exe`` as the executable name (even when built on non-Windows
platforms!), and the wrappers will look for the executable in the script's
parent directory (which should find the right version of Python).

* Fix ``upload`` command not uploading files built by ``bdist_rpm`` or
``bdist_wininst`` under Python 2.3 and 2.4.

* Add support for "eggsecutable" headers: a ``!/bin/sh`` script that is
prepended to an ``.egg`` file to allow it to be run as a script on Unix-ish
platforms. (This is mainly so that setuptools itself can have a single-file
installer on Unix, without doing multiple downloads, dealing with firewalls,
etc.)

* Fix problem with empty revision numbers in Subversion 1.4 ``entries`` files

* Use cross-platform relative paths in ``easy-install.pth`` when doing
``develop`` and the source directory is a subdirectory of the installation
target directory.

* Fix a problem installing eggs with a system packaging tool if the project
contained an implicit namespace package; for example if the ``setup()``
listed a namespace package ``foo.bar`` without explicitly listing ``foo``
as a namespace package.

* Added support for HTTP "Basic" authentication using ``http://user:passhost``
URLs. If a password-protected page contains links to the same host (and
protocol), those links will inherit the credentials used to access the
original page.

* Removed all special support for Sourceforge mirrors, as Sourceforge's
mirror system now works well for non-browser downloads.

* Fixed not recognizing ``win32.exe`` installers that included a custom
bitmap.

* Fixed not allowing ``os.open()`` of paths outside the sandbox, even if they
are opened read-only (e.g. reading ``/dev/urandom`` for random numbers, as
is done by ``os.urandom()`` on some platforms).

* Fixed a problem with ``.pth`` testing on Windows when ``sys.executable``
has a space in it (e.g., the user installed Python to a ``Program Files``
directory).

0.6c3

=====

* Fixed breakages caused by Subversion 1.4's new "working copy" format

* You can once again use "python -m easy_install" with Python 2.4 and above.

* Python 2.5 compatibility fixes added.

0.6c2

=====

* The ``ez_setup`` module displays the conflicting version of setuptools (and
its installation location) when a script requests a version that's not
available.

* Running ``setup.py develop`` on a setuptools-using project will now install
setuptools if needed, instead of only downloading the egg.

* Windows script wrappers now support quoted arguments and arguments
containing spaces. (Patch contributed by Jim Fulton.)

* The ``ez_setup.py`` script now actually works when you put a setuptools
``.egg`` alongside it for bootstrapping an offline machine.

* A writable installation directory on ``sys.path`` is no longer required to
download and extract a source distribution using ``--editable``.

* Generated scripts now use ``-x`` on the ``!`` line when ``sys.executable``
contains non-ASCII characters, to prevent deprecation warnings about an
unspecified encoding when the script is run.

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.

Page 103 of 109

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.