Imported Upstream version 59.7.0
[platform/upstream/python3-setuptools.git] / CHANGES.rst
1 v59.7.0
2 -------
3
4
5 Changes
6 ^^^^^^^
7 * #2930: Require Python 3.7
8
9
10 v59.6.0
11 -------
12
13
14 Changes
15 ^^^^^^^
16 * #2925: Merge with pypa/distutils@92082ee42c including introduction of deprecation warning on Version classes.
17
18
19 v59.5.0
20 -------
21
22
23 Changes
24 ^^^^^^^
25 * #2914: Merge with pypa/distutils@8f2df0bf6.
26
27
28 v59.4.0
29 -------
30
31
32 Changes
33 ^^^^^^^
34 * #2893: Restore deprecated support for newlines in the Summary field.
35
36
37 v59.3.0
38 -------
39
40
41 Changes
42 ^^^^^^^
43 * #2902: Merge with pypa/distutils@85db7a41242.
44
45 Misc
46 ^^^^
47 * #2906: In ensure_local_distutils, re-use DistutilsMetaFinder to load the module. Avoids race conditions when _distutils_system_mod is employed.
48
49
50 v59.2.0
51 -------
52
53
54 Changes
55 ^^^^^^^
56 * #2875: Introduce changes from pypa/distutils@514e9d0, including support for overrides from Debian and pkgsrc, unlocking the possibility of making SETUPTOOLS_USE_DISTUTILS=local the default again.
57
58
59 v59.1.1
60 -------
61
62
63 Misc
64 ^^^^
65 * #2885: Fixed errors when encountering LegacyVersions.
66
67
68 v59.1.0
69 -------
70
71
72 Changes
73 ^^^^^^^
74 * #2497: Update packaging to 21.2.
75 * #2877: Back out deprecation of setup_requires and replace instead by a deprecation of setuptools.installer and fetch_build_egg. Now setup_requires is still supported when installed as part of a PEP 517 build, but is deprecated when an unsatisfied requirement is encountered.
76 * #2879: Bump packaging to 21.2.
77
78 Documentation changes
79 ^^^^^^^^^^^^^^^^^^^^^
80 * #2867: PNG/ICO images replaced with SVG in the docs.
81 * #2867: Added support to SVG "favicons" via "in-tree" Sphinx extension.
82
83
84 v59.0.1
85 -------
86
87
88 Misc
89 ^^^^
90 * #2880: Removed URL requirement for ``pytest-virtualenv`` in ``setup.cfg``.
91   PyPI rejects packages with dependencies external to itself.
92   Instead the test dependency was overwritten via ``tox.ini``
93
94
95 v59.0.0
96 -------
97
98
99 Deprecations
100 ^^^^^^^^^^^^
101 * #2856: Support for custom commands that inherit directly from ``distutils`` is
102   **deprecated**. Users should extend classes provided by setuptools instead.
103
104 Breaking Changes
105 ^^^^^^^^^^^^^^^^
106 * #2870: Started failing on invalid inline description with line breaks :class:`ValueError` -- by :user:`webknjaz`
107
108 Changes
109 ^^^^^^^
110 * #2698: Exposed exception classes from ``distutils.errors`` via ``setuptools.errors``.
111 * #2866: Incorporate changes from pypa/distutils@f1b0a2b.
112
113 Documentation changes
114 ^^^^^^^^^^^^^^^^^^^^^
115 * #2227: Added sphinx theme customisations to display the new logo in the sidebar and
116   use its colours as "accent" in the documentation -- by :user:`abravalheri`
117 * #2227: Added new setuptools logo, including editable files and artwork documentation
118   -- by :user:`abravalheri`
119 * #2698: Added mentions to ``setuptools.errors`` as a way of handling custom command
120   errors.
121 * #2698: Added instructions to migrate from ``distutils.commands`` and
122   ``distutils.errors`` in the porting guide.
123 * #2871: Added a note to the docs that it is possible to install
124   ``setup.py``-less projects in editable mode with :doc:`pip v21.1+
125   <pip:index>`, only having ``setup.cfg`` and ``pyproject.toml`` in
126   project root -- by :user:`webknjaz`
127
128
129 v58.5.3
130 -------
131
132
133 Misc
134 ^^^^
135 * #2849: Add fallback for custom ``build_py`` commands inheriting directly from
136   :mod:`distutils`, while still handling ``include_package_data=True`` for
137   ``sdist``.
138
139
140 v58.5.2
141 -------
142
143
144 Misc
145 ^^^^
146 * #2847: Suppress 'setup.py install' warning under bdist_wheel.
147
148
149 v58.5.1
150 -------
151
152
153 Misc
154 ^^^^
155 * #2846: Move PkgResourcesDeprecationWarning above implicitly-called function so that it's in the namespace when version warnings are generated in an environment that contains them.
156
157
158 v58.5.0
159 -------
160
161
162 Changes
163 ^^^^^^^
164 * #1461: Fix inconsistency with ``include_package_data`` and ``packages_data`` in sdist
165   by replacing the loop breaking mechanism between the ``sdist`` and
166   ``egg_info`` commands -- by :user:`abravalheri`
167
168
169 v58.4.0
170 -------
171
172
173 Changes
174 ^^^^^^^
175 * #2497: Officially deprecated PEP 440 non-compliant versions.
176
177 Documentation changes
178 ^^^^^^^^^^^^^^^^^^^^^
179 * #2832: Removed the deprecated ``data_files`` option from the example in the
180   declarative configuration docs -- by :user:`abravalheri`
181 * #2832: Change type of ``data_files`` option from ``dict`` to ``section`` in
182   declarative configuration docs (to match previous example) -- by
183   :user:`abravalheri`
184
185
186 v58.3.0
187 -------
188
189
190 Changes
191 ^^^^^^^
192 * #917: ``setup.py install`` and ``easy_install`` commands are now officially deprecated. Use other standards-based installers (like pip) and builders (like build). Workloads reliant on this behavior should pin to this major version of Setuptools. See `Why you shouldn't invoke setup.py directly <https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html>`_ for more background.
193 * #1988: Deprecated the ``bdist_rpm`` command. Binary packages should be built as wheels instead.
194   -- by :user:`hugovk`
195 * #2785: Replace ``configparser``'s ``readfp`` with ``read_file``, deprecated since Python 3.2.
196   -- by :user:`hugovk`
197 * #2823: Officially deprecated support for ``setup_requires``. Users are encouraged instead to migrate to PEP 518 ``build-system.requires`` in ``pyproject.toml``. Users reliant on ``setup_requires`` should consider pinning to this major version to avoid disruption.
198
199 Misc
200 ^^^^
201 * #2762: Changed codecov.yml to configure the threshold to be lower
202   -- by :user:`tanvimoharir`
203
204
205 v58.2.0
206 -------
207
208
209 Changes
210 ^^^^^^^
211 * #2757: Add windows arm64 launchers for scripts generated by easy_install.
212 * #2800: Added ``--owner`` and ``--group`` options to the ``sdist`` command,
213   for specifying file ownership within the produced tarball (similarly
214   to the corresponding distutils ``sdist`` options).
215
216 Documentation changes
217 ^^^^^^^^^^^^^^^^^^^^^
218 * #2792: Document how the legacy and non-legacy versions are compared, and reference to the `PEP 440 <https://www.python.org/dev/peps/pep-0440/>`_ scheme.
219
220
221 v58.1.0
222 -------
223
224
225 Changes
226 ^^^^^^^
227 * #2796: Merge with pypa/distutils@02e9f65ab0
228
229
230 v58.0.4
231 -------
232
233
234 Misc
235 ^^^^
236 * #2773: Retain case in setup.cfg during sdist.
237
238
239 v58.0.3
240 -------
241
242
243 Misc
244 ^^^^
245 * #2777: Build does not fail fast when ``use_2to3`` is supplied but set to a false value.
246
247
248 v58.0.2
249 -------
250
251
252 Misc
253 ^^^^
254 * #2769: Build now fails fast when ``use_2to3`` is supplied.
255
256
257 v58.0.1
258 -------
259
260
261 Misc
262 ^^^^
263 * #2765: In Distribution.finalize_options, suppress known removed entry points to avoid issues with older Setuptools.
264
265
266 v58.0.0
267 -------
268
269
270 Breaking Changes
271 ^^^^^^^^^^^^^^^^
272 * #2086: Removed support for 2to3 during builds. Projects should port to a unified codebase or pin to an older version of Setuptools using PEP 518 build-requires.
273
274 Documentation changes
275 ^^^^^^^^^^^^^^^^^^^^^
276 * #2746: add python_requires example
277
278
279 v57.5.0
280 -------
281
282
283 Changes
284 ^^^^^^^
285 * #2712: Added implicit globbing support for `[options.data_files]` values.
286
287 Documentation changes
288 ^^^^^^^^^^^^^^^^^^^^^
289 * #2737: fix various syntax and style errors in code snippets in docs
290
291
292 v57.4.0
293 -------
294
295
296 Changes
297 ^^^^^^^
298 * #2722: Added support for ``SETUPTOOLS_EXT_SUFFIX`` environment variable to override the suffix normally detected from the ``sysconfig`` module.
299
300
301 v57.3.0
302 -------
303
304
305 Changes
306 ^^^^^^^
307 * #2465: Documentation is now published using the Furo theme.
308
309
310 v57.2.0
311 -------
312
313
314 Changes
315 ^^^^^^^
316 * #2724: Added detection of Windows ARM64 build environments using the ``VSCMD_ARG_TGT_ARCH`` environment variable.
317
318
319 v57.1.0
320 -------
321
322
323 Changes
324 ^^^^^^^
325 * #2692: Globs are now sorted in 'license_files' restoring reproducibility by eliminating variance from disk order.
326 * #2714: Update to distutils at pypa/distutils@e2627b7.
327 * #2715: Removed reliance on deprecated ssl.match_hostname by removing the ssl support. Now any index operations rely on the native SSL implementation.
328
329 Documentation changes
330 ^^^^^^^^^^^^^^^^^^^^^
331 * #2604: Revamped the backward/cross tool compatibility section to remove
332   some confusion.
333   Add some examples and the version since when ``entry_points`` are
334   supported in declarative configuration.
335   Tried to make the reading flow a bit leaner, gather some information
336   that were a bit dispersed.
337
338
339 v57.0.0
340 -------
341
342
343 Breaking Changes
344 ^^^^^^^^^^^^^^^^
345 * #2645: License files excluded via the ``MANIFEST.in`` but matched by either
346   the ``license_file`` (deprecated) or ``license_files`` options,
347   will be nevertheless included in the source distribution. - by :user:`cdce8p`
348
349 Changes
350 ^^^^^^^
351 * #2628: Write long description in message payload of PKG-INFO file. - by :user:`cdce8p`
352 * #2645: Added ``License-File`` (multiple) to the output package metadata.
353   The field will contain the path of a license file, matched by the
354   ``license_file`` (deprecated) and ``license_files`` options,
355   relative to ``.dist-info``. - by :user:`cdce8p`
356 * #2678: Moved Setuptools' own entry points into declarative config.
357 * #2680: Vendored `more_itertools <https://pypi.org/project/more-itertools>`_ for Setuptools.
358 * #2681: Setuptools own setup.py no longer declares setup_requires, but instead expects wheel to be installed as declared by pyproject.toml.
359
360 Misc
361 ^^^^
362 * #2650: Updated the docs build tooling to support the latest version of
363   Towncrier and show the previews of not-yet-released setuptools versions
364   in the changelog -- :user:`webknjaz`
365
366
367 v56.2.0
368 -------
369
370
371 Changes
372 ^^^^^^^
373 * #2640: Fixed handling of multiline license strings. - by :user:`cdce8p`
374 * #2641: Setuptools will now always try to use the latest supported
375   metadata version for ``PKG-INFO``. - by :user:`cdce8p`
376
377
378 v56.1.0
379 -------
380
381
382 Changes
383 ^^^^^^^
384 * #2653: Incorporated assorted changes from pypa/distutils.
385 * #2657: Adopted docs from distutils.
386 * #2663: Added Visual Studio Express 2017 support -- by :user:`dofuuz`
387
388 Misc
389 ^^^^
390 * #2644: Fixed ``DeprecationWarning`` due to ``threading.Thread.setDaemon`` in tests -- by :user:`tirkarthi`
391 * #2654: Made the changelog generator compatible
392   with Towncrier >= 19.9 -- :user:`webknjaz`
393 * #2664: Relax the deprecation message in the distutils hack.
394
395
396 v56.0.0
397 -------
398
399
400 Deprecations
401 ^^^^^^^^^^^^
402 * #2620: The ``license_file`` option is now marked as deprecated.
403   Use ``license_files`` instead. -- by :user:`cdce8p`
404
405 Breaking Changes
406 ^^^^^^^^^^^^^^^^
407 * #2620: If neither ``license_file`` nor ``license_files`` is specified, the ``sdist``
408   option will now auto-include files that match the following patterns:
409   ``LICEN[CS]E*``, ``COPYING*``, ``NOTICE*``, ``AUTHORS*``.
410   This matches the behavior of ``bdist_wheel``. -- by :user:`cdce8p`
411
412 Changes
413 ^^^^^^^
414 * #2620: The ``license_file`` and ``license_files`` options now support glob patterns. -- by :user:`cdce8p`
415 * #2632: Implemented ``VendorImporter.find_spec()`` method to get rid
416   of ``ImportWarning`` that Python 3.10 emits when only the old-style
417   importer hooks are present -- by :user:`webknjaz`
418
419 Documentation changes
420 ^^^^^^^^^^^^^^^^^^^^^
421 * #2620: Added documentation for the ``license_files`` option. -- by :user:`cdce8p`
422
423
424 v55.0.0
425 -------
426
427
428 Breaking Changes
429 ^^^^^^^^^^^^^^^^
430 * #2566: Remove the deprecated ``bdist_wininst`` command. Binary packages should be built as wheels instead. -- by :user:`hroncok`
431
432
433 v54.2.0
434 -------
435
436
437 Changes
438 ^^^^^^^
439 * #2608: Added informative error message to PEP 517 build failures owing to
440   an empty ``setup.py`` -- by :user:`layday`
441
442
443 v54.1.3
444 -------
445
446 No significant changes.
447
448
449 v54.1.2
450 -------
451
452
453 Misc
454 ^^^^
455 * #2595: Reduced scope of dash deprecation warning to Setuptools/distutils only -- by :user:`melissa-kun-li`
456
457
458 v54.1.1
459 -------
460
461
462 Documentation changes
463 ^^^^^^^^^^^^^^^^^^^^^
464 * #2584: Added ``sphinx-inline-tabs`` extension to allow for comparison of ``setup.py`` and its equivalent ``setup.cfg`` -- by :user:`amy-lei`
465
466 Misc
467 ^^^^
468 * #2592: Made option keys in the ``[metadata]`` section of ``setup.cfg`` case-sensitive. Users having
469   uppercase option spellings will get a warning suggesting to make them to lowercase
470   -- by :user:`melissa-kun-li`
471
472
473 v54.1.0
474 -------
475
476
477 Changes
478 ^^^^^^^
479 * #1608: Removed the conversion of dashes to underscores in the :code:`extras_require` and :code:`data_files` of :code:`setup.cfg` to support the usage of dashes. Method will warn users when they use a dash-separated key which in the future will only allow an underscore. Note: the method performs the dash to underscore conversion to preserve compatibility, but future versions will no longer support it -- by :user:`melissa-kun-li`
480
481
482 v54.0.0
483 -------
484
485
486 Breaking Changes
487 ^^^^^^^^^^^^^^^^
488 * #2582: Simplified build-from-source story by providing bootstrapping metadata in a separate egg-info directory. Build requirements no longer include setuptools itself. Sdist once again includes the pyproject.toml. Project can no longer be installed from source on pip 19.x, but install from source is still supported on pip < 19 and pip >= 20 and install from wheel is still supported with pip >= 9.
489
490 Changes
491 ^^^^^^^
492 * #1932: Handled :code:`AttributeError` by raising :code:`DistutilsSetupError` in :code:`dist.check_specifier()` when specifier is not a string -- by :user:`melissa-kun-li`
493 * #2570: Correctly parse cmdclass in setup.cfg.
494
495 Documentation changes
496 ^^^^^^^^^^^^^^^^^^^^^
497 * #2553: Added userguide example for markers in extras_require -- by :user:`pwoolvett`
498
499
500 v53.1.0
501 -------
502
503
504 Changes
505 ^^^^^^^
506 * #1937: Preserved case-sensitivity of keys in setup.cfg so that entry point names are case-sensitive. Changed sensitivity of configparser. NOTE: Any projects relying on case-insensitivity will need to adapt to accept the original case as published. -- by :user:`melissa-kun-li`
507 * #2573: Fixed error in uploading a Sphinx doc with the :code:`upload_docs` command. An html builder will be used.
508   Note: :code:`upload_docs` is deprecated for PyPi, but is supported for other sites -- by :user:`melissa-kun-li`
509
510
511 v53.0.0
512 -------
513
514
515 Breaking Changes
516 ^^^^^^^^^^^^^^^^
517 * #1527: Removed bootstrap script. Now Setuptools requires pip or another pep517-compliant builder such as 'build' to build. Now Setuptools can be installed from Github main branch.
518
519
520 v52.0.0
521 -------
522
523
524 Breaking Changes
525 ^^^^^^^^^^^^^^^^
526 * #2537: Remove fallback support for fetch_build_eggs using easy_install. Now pip is required for setup_requires to succeed.
527 * #2544: Removed 'easy_install' top-level model (runpy entry point) and 'easy_install' console script.
528 * #2545: Removed support for eggsecutables.
529
530 Changes
531 ^^^^^^^
532 * #2459: Tests now run in parallel via pytest-xdist, completing in about half the time. Special thanks to :user:`webknjaz` for hard work implementing test isolation. To run without parallelization, disable the plugin with ``tox -- -p no:xdist``.
533
534
535 v51.3.3
536 -------
537
538
539 Misc
540 ^^^^
541 * #2539: Fix AttributeError in Description validation.
542
543
544 v51.3.2
545 -------
546
547
548 Misc
549 ^^^^
550 * #1390: Validation of Description field now is more lenient, emitting a warning and mangling the value to be valid (replacing newlines with spaces).
551
552
553 v51.3.1
554 -------
555
556
557 Misc
558 ^^^^
559 * #2536: Reverted tag deduplication handling.
560
561
562 v51.3.0
563 -------
564
565
566 Changes
567 ^^^^^^^
568 * #1390: Newlines in metadata description/Summary now trigger a ValueError.
569 * #2481: Define ``create_module()`` and ``exec_module()`` methods in ``VendorImporter``
570   to get rid of ``ImportWarning`` -- by :user:`hroncok`
571 * #2489: ``pkg_resources`` behavior for zipimport now matches the regular behavior, and finds
572   ``.egg-info`` (previoulsy would only find ``.dist-info``) -- by :user:`thatch`
573 * #2529: Fixed an issue where version tags may be added multiple times
574
575
576 v51.2.0
577 -------
578
579
580 Changes
581 ^^^^^^^
582 * #2493: Use importlib.import_module() rather than the deprecated loader.load_module()
583   in pkg_resources namespace delaration -- by :user:`encukou`
584
585 Documentation changes
586 ^^^^^^^^^^^^^^^^^^^^^
587 * #2525: Fix typo in the document page about entry point. -- by :user:`jtr109`
588
589 Misc
590 ^^^^
591 * #2534: Avoid hitting network during test_easy_install.
592
593
594 v51.1.2
595 -------
596
597
598 Misc
599 ^^^^
600 * #2505: Disable inclusion of package data as it causes 'tests' to be included as data.
601
602
603 v51.1.1
604 -------
605
606
607 Misc
608 ^^^^
609 * #2534: Avoid hitting network during test_virtualenv.test_test_command.
610
611
612 v51.1.0
613 -------
614
615
616 Changes
617 ^^^^^^^
618 * #2486: Project adopts jaraco/skeleton for shared package maintenance.
619
620 Misc
621 ^^^^
622 * #2477: Restore inclusion of rst files in sdist.
623 * #2484: Setuptools has replaced the master branch with the main branch.
624 * #2485: Fixed failing test when pip 20.3+ is present.
625   -- by :user:`yan12125`
626 * #2487: Fix tests with pytest 6.2
627   -- by :user:`yan12125`
628
629
630 v51.0.0
631 -------
632
633
634 Breaking Changes
635 ^^^^^^^^^^^^^^^^
636 * #2435: Require Python 3.6 or later.
637
638 Documentation changes
639 ^^^^^^^^^^^^^^^^^^^^^
640 * #2430: Fixed inconsistent RST title nesting levels caused by #2399
641   -- by :user:`webknjaz`
642 * #2430: Fixed a typo in Sphinx docs that made docs dev section disappear
643   as a result of PR #2426 -- by :user:`webknjaz`
644
645 Misc
646 ^^^^
647 * #2471: Removed the tests that guarantee that the vendored dependencies can be built by distutils.
648
649
650 v50.3.2
651 -------
652
653
654
655 Documentation changes
656 ^^^^^^^^^^^^^^^^^^^^^
657 * #2394: Extended towncrier news template to include change note categories.
658   This allows to see what types of changes a given version introduces
659   -- by :user:`webknjaz`
660 * #2427: Started enforcing strict syntax and reference validation
661   in the Sphinx docs -- by :user:`webknjaz`
662 * #2428: Removed redundant Sphinx ``Makefile`` support -- by :user:`webknjaz`
663
664 Misc
665 ^^^^
666 * #2401: Enabled test results reporting in AppVeyor CI
667   -- by :user:`webknjaz`
668 * #2420: Replace Python 3.9.0 beta with 3.9.0 final on GitHub Actions.
669 * #2421: Python 3.9 Trove classifier got added to the dist metadata
670   -- by :user:`webknjaz`
671
672
673 v50.3.1
674 -------
675
676
677
678 Documentation changes
679 ^^^^^^^^^^^^^^^^^^^^^
680 * #2093: Finalized doc revamp.
681 * #2097: doc: simplify index and group deprecated files
682 * #2102: doc overhaul step 2: break main doc into multiple sections
683 * #2111: doc overhaul step 3: update userguide
684 * #2395: Added a ``:user:`` role to Sphinx config -- by :user:`webknjaz`
685 * #2395: Added an illustrative explanation about the change notes to fragments dir -- by :user:`webknjaz`
686
687 Misc
688 ^^^^
689 * #2379: Travis CI test suite now tests against PPC64.
690 * #2413: Suppress EOF errors (and other exceptions) when importing lib2to3.
691
692
693 v50.3.0
694 -------
695
696
697
698 Changes
699 ^^^^^^^
700 * #2368: In distutils, restore support for monkeypatched CCompiler.spawn per pypa/distutils#15.
701
702
703 v50.2.0
704 -------
705
706
707
708 Changes
709 ^^^^^^^
710 * #2355: When pip is imported as part of a build, leave distutils patched.
711 * #2380: There are some setuptools specific changes in the
712   ``setuptools.command.bdist_rpm`` module that are no longer needed, because
713   they are part of the ``bdist_rpm`` module in distutils in Python
714   3.5.0. Therefore, code was removed from ``setuptools.command.bdist_rpm``.
715
716
717 v50.1.0
718 -------
719
720
721
722 Changes
723 ^^^^^^^
724 * #2350: Setuptools reverts using the included distutils by default. Platform maintainers and system integrators and others are *strongly* encouraged to set ``SETUPTOOLS_USE_DISTUTILS=local`` to help identify and work through the reported issues with distutils adoption, mainly to file issues and pull requests with pypa/distutils such that distutils performs as needed across every supported environment.
725
726
727 v50.0.3
728 -------
729
730
731
732 Misc
733 ^^^^
734 * #2363: Restore link_libpython support on Python 3.7 and earlier (see pypa/distutils#9).
735
736
737 v50.0.2
738 -------
739
740
741
742 Misc
743 ^^^^
744 * #2352: In distutils hack, use absolute import rather than relative to avoid bpo-30876.
745
746
747 v50.0.1
748 -------
749
750
751
752 Misc
753 ^^^^
754 * #2357: Restored Python 3.5 support in distutils.util for missing ``subprocess._optim_args_from_interpreter_flags``.
755 * #2358: Restored AIX support on Python 3.8 and earlier.
756 * #2361: Add Python 3.10 support to _distutils_hack. Get the 'Loader' abstract class
757   from importlib.abc rather than importlib.util.abc (alias removed in Python
758   3.10).
759
760
761 v50.0.0
762 -------
763
764
765
766 Breaking Changes
767 ^^^^^^^^^^^^^^^^
768 * #2232: Once again, Setuptools overrides the stdlib distutils on import. For environments or invocations where this behavior is undesirable, users are provided with a temporary escape hatch. If the environment variable ``SETUPTOOLS_USE_DISTUTILS`` is set to ``stdlib``, Setuptools will fall back to the legacy behavior. Use of this escape hatch is discouraged, but it is provided to ease the transition while proper fixes for edge cases can be addressed.
769
770 Changes
771 ^^^^^^^
772 * #2334: In MSVC module, refine text in error message.
773
774
775 v49.6.0
776 -------
777
778
779
780 Changes
781 ^^^^^^^
782 * #2129: In pkg_resources, no longer detect any pathname ending in .egg as a Python egg. Now the path must be an unpacked egg or a zip file.
783
784
785 v49.5.0
786 -------
787
788
789
790 Changes
791 ^^^^^^^
792 * #2306: When running as a PEP 517 backend, setuptools does not try to install
793   ``setup_requires`` itself. They are reported as build requirements for the
794   frontend to install.
795
796
797 v49.4.0
798 -------
799
800
801
802 Changes
803 ^^^^^^^
804 * #2310: Updated vendored packaging version to 20.4.
805
806
807 v49.3.2
808 -------
809
810
811
812 Documentation changes
813 ^^^^^^^^^^^^^^^^^^^^^
814 * #2300: Improve the ``safe_version`` function documentation
815
816 Misc
817 ^^^^
818 * #2297: Once again, in stubs prefer exec_module to the deprecated load_module.
819
820
821 v49.3.1
822 -------
823
824
825
826 Changes
827 ^^^^^^^
828 * #2316: Removed warning when ``distutils`` is imported before ``setuptools`` when ``distutils`` replacement is not enabled.
829
830
831 v49.3.0
832 -------
833
834
835
836 Changes
837 ^^^^^^^
838 * #2259: Setuptools now provides a .pth file (except for editable installs of setuptools) to the target environment to ensure that when enabled, the setuptools-provided distutils is preferred before setuptools has been imported (and even if setuptools is never imported). Honors the SETUPTOOLS_USE_DISTUTILS environment variable.
839
840
841 v49.2.1
842 -------
843
844
845
846 Misc
847 ^^^^
848 * #2257: Fixed two flaws in distutils._msvccompiler.MSVCCompiler.spawn.
849
850
851 v49.2.0
852 -------
853
854
855
856 Changes
857 ^^^^^^^
858 * #2230: Now warn the user when setuptools is imported after distutils modules have been loaded (exempting PyPy for 3.6), directing the users of packages to import setuptools first.
859
860
861 v49.1.3
862 -------
863
864
865
866 Misc
867 ^^^^
868 * #2212: (Distutils) Allow spawn to accept environment. Avoid monkey-patching global state.
869 * #2249: Fix extension loading technique in stubs.
870
871
872 v49.1.2
873 -------
874
875
876
877 Changes
878 ^^^^^^^
879 * #2232: In preparation for re-enabling a local copy of distutils, Setuptools now honors an environment variable, SETUPTOOLS_USE_DISTUTILS. If set to 'stdlib' (current default), distutils will be used from the standard library. If set to 'local' (default in a imminent backward-incompatible release), the local copy of distutils will be used.
880
881
882 v49.1.1
883 -------
884
885
886
887 Misc
888 ^^^^
889 * #2094: Removed pkg_resources.py2_warn module, which is no longer reachable.
890
891
892 v49.0.1
893 -------
894
895
896
897 Misc
898 ^^^^
899 * #2228: Applied fix for pypa/distutils#3, restoring expectation that spawn will raise a DistutilsExecError when attempting to execute a missing file.
900
901
902 v49.1.0
903 -------
904
905
906
907 Changes
908 ^^^^^^^
909 * #2228: Disabled distutils adoption for now while emergent issues are addressed.
910
911
912 v49.0.0
913 -------
914
915
916
917 Breaking Changes
918 ^^^^^^^^^^^^^^^^
919 * #2165: Setuptools no longer installs a site.py file during easy_install or develop installs. As a result, .eggs on PYTHONPATH will no longer take precedence over other packages on sys.path. If this issue affects your production environment, please reach out to the maintainers at #2165.
920
921 Changes
922 ^^^^^^^
923 * #2137: Removed (private) pkg_resources.RequirementParseError, now replaced by packaging.requirements.InvalidRequirement. Kept the name for compatibility, but users should catch InvalidRequirement instead.
924 * #2180: Update vendored packaging in pkg_resources to 19.2.
925
926 Misc
927 ^^^^
928 * #2199: Fix exception causes all over the codebase by using ``raise new_exception from old_exception``
929
930
931 v48.0.0
932 -------
933
934
935
936 Breaking Changes
937 ^^^^^^^^^^^^^^^^
938 * #2143: Setuptools adopts distutils from the Python 3.9 standard library and no longer depends on distutils in the standard library. When importing ``setuptools`` or ``setuptools.distutils_patch``, Setuptools will expose its bundled version as a top-level ``distutils`` package (and unload any previously-imported top-level distutils package), retaining the expectation that ``distutils``' objects are actually Setuptools objects.
939   To avoid getting any legacy behavior from the standard library, projects are advised to always "import setuptools" prior to importing anything from distutils. This behavior happens by default when using ``pip install`` or ``pep517.build``. Workflows that rely on ``setup.py (anything)`` will need to first ensure setuptools is imported. One way to achieve this behavior without modifying code is to invoke Python thus: ``python -c "import setuptools; exec(open('setup.py').read())" (anything)``.
940
941
942 v47.3.2
943 -------
944
945
946
947 Misc
948 ^^^^
949 * #2071: Replaced references to the deprecated imp package with references to importlib
950
951
952 v47.3.1
953 -------
954
955
956
957 Misc
958 ^^^^
959 * #1973: Removed ``pkg_resources.py31compat.makedirs`` in favor of the stdlib. Use ``os.makedirs()`` instead.
960 * #2198: Restore ``__requires__`` directive in easy-install wrapper scripts.
961
962
963 v47.3.0
964 -------
965
966
967
968 Changes
969 ^^^^^^^
970 * #2197: Console script wrapper for editable installs now has a unified template and honors importlib_metadata if present for faster script execution on older Pythons.
971
972 Misc
973 ^^^^
974 * #2195: Fix broken entry points generated by easy-install (pip editable installs).
975
976
977 v47.2.0
978 -------
979
980
981
982 Changes
983 ^^^^^^^
984 * #2194: Editable-installed entry points now load significantly faster on Python versions 3.8+.
985 * #1471: Incidentally fixed by #2194 on Python 3.8 or when importlib_metadata is present.
986
987
988 v47.1.1
989 -------
990
991
992
993 Documentation changes
994 ^^^^^^^^^^^^^^^^^^^^^
995 * #2156: Update mailing list pointer in developer docs
996
997 Incorporate changes from v44.1.1:
998 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
999
1000 * #2158: Avoid loading working set during ``Distribution.finalize_options`` prior to invoking ``_install_setup_requires``, broken since v42.0.0.
1001
1002
1003 v44.1.1
1004 -------
1005
1006
1007
1008 Misc
1009 ^^^^
1010 * #2158: Avoid loading working set during ``Distribution.finalize_options`` prior to invoking ``_install_setup_requires``, broken since v42.0.0.
1011
1012
1013 v47.1.0
1014 -------
1015
1016
1017
1018 Changes
1019 ^^^^^^^
1020 * #2070: In wheel-to-egg conversion, use simple pkg_resources-style namespace declaration for packages that declare namespace_packages.
1021
1022
1023 v47.0.0
1024 -------
1025
1026
1027
1028 Breaking Changes
1029 ^^^^^^^^^^^^^^^^
1030 * #2094: Setuptools now actively crashes under Python 2. Python 3.5 or later is required. Users of Python 2 should use ``setuptools<45``.
1031
1032 Changes
1033 ^^^^^^^
1034 * #1700: Document all supported keywords by migrating the ones from distutils.
1035
1036
1037 v46.4.0
1038 -------
1039
1040
1041
1042 Changes
1043 ^^^^^^^
1044 * #1753: ``attr:`` now extracts variables through rudimentary examination of the AST,
1045   thereby supporting modules with third-party imports. If examining the AST
1046   fails to find the variable, ``attr:`` falls back to the old behavior of
1047   importing the module. Works on Python 3 only.
1048
1049
1050 v46.3.1
1051 -------
1052
1053 No significant changes.
1054
1055
1056 v46.3.0
1057 -------
1058
1059
1060
1061 Changes
1062 ^^^^^^^
1063 * #2089: Package index functionality no longer attempts to remove an md5 fragment from the index URL. This functionality, added for distribute #163 is no longer relevant.
1064
1065 Misc
1066 ^^^^
1067 * #2041: Preserve file modes during pkg files copying, but clear read only flag for target afterwards.
1068 * #2105: Filter ``2to3`` deprecation warnings from ``TestDevelop.test_2to3_user_mode``.
1069
1070
1071 v46.2.0
1072 -------
1073
1074
1075
1076 Changes
1077 ^^^^^^^
1078 * #2040: Deprecated the ``bdist_wininst`` command. Binary packages should be built as wheels instead.
1079 * #2062: Change 'Mac OS X' to 'macOS' in code.
1080 * #2075: Stop recognizing files ending with ``.dist-info`` as distribution metadata.
1081 * #2086: Deprecate 'use_2to3' functionality. Packagers are encouraged to use single-source solutions or build tool chains to manage conversions outside of setuptools.
1082
1083 Documentation changes
1084 ^^^^^^^^^^^^^^^^^^^^^
1085 * #1698: Added documentation for ``build_meta`` (a bare minimum, not completed).
1086
1087 Misc
1088 ^^^^
1089 * #2082: Filter ``lib2to3`` ``PendingDeprecationWarning`` and ``DeprecationWarning`` in tests,
1090   because ``lib2to3`` is `deprecated in Python 3.9 <https://bugs.python.org/issue40360>`_.
1091
1092
1093 v46.1.3
1094 -------
1095
1096 No significant changes.
1097
1098
1099 v46.1.2
1100 -------
1101
1102
1103
1104 Misc
1105 ^^^^
1106 * #1458: Added template for reporting Python 2 incompatibilities.
1107
1108
1109 v46.1.1
1110 -------
1111
1112 No significant changes.
1113
1114
1115 v46.1.0
1116 -------
1117
1118
1119
1120 Changes
1121 ^^^^^^^
1122 * #308: Allow version number normalization to be bypassed by wrapping in a 'setuptools.sic()' call.
1123 * #1424: Prevent keeping files mode for package_data build. It may break a build if user's package data has read only flag.
1124 * #1431: In ``easy_install.check_site_dir``, ensure the installation directory exists.
1125 * #1563: In ``pkg_resources`` prefer ``find_spec`` (PEP 451) to ``find_module``.
1126
1127 Incorporate changes from v44.1.0:
1128 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1129
1130 * #1704: Set sys.argv[0] in setup script run by build_meta.__legacy__
1131 * #1959: Fix for Python 4: replace unsafe six.PY3 with six.PY2
1132 * #1994: Fixed a bug in the "setuptools.finalize_distribution_options" hook that lead to ignoring the order attribute of entry points managed by this hook.
1133
1134
1135 v44.1.0
1136 -------
1137
1138
1139
1140 Changes
1141 ^^^^^^^
1142 * #1704: Set sys.argv[0] in setup script run by build_meta.__legacy__
1143 * #1959: Fix for Python 4: replace unsafe six.PY3 with six.PY2
1144 * #1994: Fixed a bug in the "setuptools.finalize_distribution_options" hook that lead to ignoring the order attribute of entry points managed by this hook.
1145
1146
1147 v46.0.0
1148 -------
1149
1150
1151
1152 Breaking Changes
1153 ^^^^^^^^^^^^^^^^
1154 * #65: Once again as in 3.0, removed the Features feature.
1155
1156 Changes
1157 ^^^^^^^
1158 * #1890: Fix vendored dependencies so importing ``setuptools.extern.some_module`` gives the same object as ``setuptools._vendor.some_module``. This makes Metadata picklable again.
1159 * #1899: Test suite now fails on warnings.
1160
1161 Documentation changes
1162 ^^^^^^^^^^^^^^^^^^^^^
1163 * #2011: Fix broken link to distutils docs on package_data
1164
1165 Misc
1166 ^^^^
1167 * #1991: Include pkg_resources test data in sdist, so tests can be executed from it.
1168
1169
1170 v45.3.0
1171 -------
1172
1173
1174
1175 Changes
1176 ^^^^^^^
1177 * #1557: Deprecated eggsecutable scripts and updated docs.
1178 * #1904: Update msvc.py to use CPython 3.8.0 mechanism to find msvc 14+
1179
1180
1181 v45.2.0
1182 -------
1183
1184
1185
1186 Changes
1187 ^^^^^^^
1188 * #1905: Fixed defect in _imp, introduced in 41.6.0 when the 'tests' directory is not present.
1189 * #1941: Improve editable installs with PEP 518 build isolation:
1190
1191   * The ``--user`` option is now always available. A warning is issued if the user site directory is not available.
1192   * The error shown when the install directory is not in ``PYTHONPATH`` has been turned into a warning.
1193 * #1981: Setuptools now declares its ``tests`` and ``docs`` dependencies in metadata (extras).
1194 * #1985: Add support for installing scripts in environments where bdist_wininst is missing (i.e. Python 3.9).
1195
1196 Misc
1197 ^^^^
1198 * #1968: Add flake8-2020 to check for misuse of sys.version or sys.version_info.
1199
1200
1201 v45.1.0
1202 -------
1203
1204
1205
1206 Changes
1207 ^^^^^^^
1208 * #1458: Add minimum sunset date and preamble to Python 2 warning.
1209 * #1704: Set sys.argv[0] in setup script run by build_meta.__legacy__
1210 * #1974: Add Python 3 Only Trove Classifier and remove universal wheel declaration for more complete transition from Python 2.
1211
1212
1213 v45.0.0
1214 -------
1215
1216
1217
1218 Breaking Changes
1219 ^^^^^^^^^^^^^^^^
1220 * #1458: Drop support for Python 2. Setuptools now requires Python 3.5 or later. Install setuptools using pip >=9 or pin to Setuptools <45 to maintain 2.7 support.
1221
1222 Changes
1223 ^^^^^^^
1224 * #1959: Fix for Python 4: replace unsafe six.PY3 with six.PY2
1225
1226
1227 v44.0.0
1228 -------
1229
1230
1231
1232 Breaking Changes
1233 ^^^^^^^^^^^^^^^^
1234 * #1908: Drop support for Python 3.4.
1235
1236
1237 v43.0.0
1238 -------
1239
1240
1241
1242 Breaking Changes
1243 ^^^^^^^^^^^^^^^^
1244 * #1634: Include ``pyproject.toml`` in source distribution by default. Projects relying on the previous behavior where ``pyproject.toml`` was excluded by default should stop relying on that behavior or add ``exclude pyproject.toml`` to their MANIFEST.in file.
1245
1246 Changes
1247 ^^^^^^^
1248 * #1927: Setuptools once again declares 'setuptools' in the ``build-system.requires`` and adds PEP 517 build support by declaring itself as the ``build-backend``. It additionally specifies ``build-system.backend-path`` to rely on itself for those builders that support it.
1249
1250
1251 v42.0.2
1252 -------
1253
1254 Changes
1255 ^^^^^^^
1256
1257 * #1921: Fix support for easy_install's ``find-links`` option in ``setup.cfg``.
1258 * #1922: Build dependencies (setup_requires and tests_require) now install transitive dependencies indicated by extras.
1259
1260
1261 v42.0.1
1262 -------
1263
1264
1265
1266 Changes
1267 ^^^^^^^
1268 * #1918: Fix regression in handling wheels compatibility tags.
1269
1270
1271 v42.0.0
1272 -------
1273
1274
1275
1276 Breaking Changes
1277 ^^^^^^^^^^^^^^^^
1278 * #1830, #1909: Mark the easy_install script and setuptools command as deprecated, and use `pip <https://pip.pypa.io/en/stable/>`_ when available to fetch/build wheels for missing ``setup_requires``/``tests_require`` requirements, with the following differences in behavior:
1279    * support for ``python_requires``
1280    * better support for wheels (proper handling of priority with respect to PEP 425 tags)
1281    * PEP 517/518 support
1282    * eggs are not supported
1283    * no support for the ``allow_hosts`` easy_install option (``index_url``/``find_links`` are still honored)
1284    * pip environment variables are honored (and take precedence over easy_install options)
1285 * #1898: Removed the "upload" and "register" commands in favor of `twine <https://pypi.org/p/twine>`_.
1286
1287 Changes
1288 ^^^^^^^
1289 * #1767: Add support for the ``license_files`` option in ``setup.cfg`` to automatically
1290   include multiple license files in a source distribution.
1291 * #1829: Update handling of wheels compatibility tags:
1292   * add support for manylinux2010
1293   * fix use of removed 'm' ABI flag in Python 3.8 on Windows
1294 * #1861: Fix empty namespace package installation from wheel.
1295 * #1877: Setuptools now exposes a new entry point hook "setuptools.finalize_distribution_options", enabling plugins like `setuptools_scm <https://pypi.org/project/setuptools_scm>`_ to configure options on the distribution at finalization time.
1296
1297
1298 v41.6.0
1299 -------
1300
1301
1302
1303 Changes
1304 ^^^^^^^
1305 * #479: Replace usage of deprecated ``imp`` module with local re-implementation in ``setuptools._imp``.
1306
1307
1308 v41.5.1
1309 -------
1310
1311
1312
1313 Changes
1314 ^^^^^^^
1315 * #1891: Fix code for detecting Visual Studio's version on Windows under Python 2.
1316
1317
1318 v41.5.0
1319 -------
1320
1321
1322
1323 Changes
1324 ^^^^^^^
1325 * #1811: Improve Visual C++ 14.X support, mainly for Visual Studio 2017 and 2019.
1326 * #1814: Fix ``pkg_resources.Requirement`` hash/equality implementation: take PEP 508 direct URL into account.
1327 * #1824: Fix tests when running under ``python3.10``.
1328 * #1878: Formally deprecated the ``test`` command, with the recommendation that users migrate to ``tox``.
1329
1330 Documentation changes
1331 ^^^^^^^^^^^^^^^^^^^^^
1332 * #1860: Update documentation to mention the egg format is not supported by pip and dependency links support was dropped starting with pip 19.0.
1333 * #1862: Drop ez_setup documentation: deprecated for some time (last updated in 2016), and still relying on easy_install (deprecated too).
1334 * #1868: Drop most documentation references to (deprecated) EasyInstall.
1335 * #1884: Added a trove classifier to document support for Python 3.8.
1336
1337 Misc
1338 ^^^^
1339 * #1886: Added Python 3.8 release to the Travis test matrix.
1340
1341
1342 v41.4.0
1343 -------
1344
1345
1346
1347 Changes
1348 ^^^^^^^
1349 * #1847: In declarative config, now traps errors when invalid ``python_requires`` values are supplied.
1350
1351
1352 v41.3.0
1353 -------
1354
1355
1356
1357 Changes
1358 ^^^^^^^
1359 * #1690: When storing extras, rely on OrderedSet to retain order of extras as indicated by the packager, which will also be deterministic on Python 2.7 (with PYTHONHASHSEED unset) and Python 3.6+.
1360
1361 Misc
1362 ^^^^
1363 * #1858: Fixed failing integration test triggered by 'long_description_content_type' in packaging.
1364
1365
1366 v41.2.0
1367 -------
1368
1369
1370
1371 Changes
1372 ^^^^^^^
1373 * #479: Remove some usage of the deprecated ``imp`` module.
1374
1375 Misc
1376 ^^^^
1377 * #1565: Changed html_sidebars from string to list of string as per
1378   https://www.sphinx-doc.org/en/master/changes.html#id58
1379
1380
1381 v41.1.0
1382 -------
1383
1384
1385
1386 Misc
1387 ^^^^
1388 * #1697: Moved most of the constants from setup.py to setup.cfg
1389 * #1749: Fixed issue with the PEP 517 backend where building a source distribution would fail if any tarball existed in the destination directory.
1390 * #1750: Fixed an issue with PEP 517 backend where wheel builds would fail if the destination directory did not already exist.
1391 * #1756: Force metadata-version >= 1.2. when project urls are present.
1392 * #1769: Improve ``package_data`` check: ensure the dictionary values are lists/tuples of strings.
1393 * #1788: Changed compatibility fallback logic for ``html.unescape`` to avoid accessing ``HTMLParser.unescape`` when not necessary. ``HTMLParser.unescape`` is deprecated and will be removed in Python 3.9.
1394 * #1790: Added the file path to the error message when a ``UnicodeDecodeError`` occurs while reading a metadata file.
1395
1396 Documentation changes
1397 ^^^^^^^^^^^^^^^^^^^^^
1398 * #1776: Use license classifiers rather than the license field.
1399
1400
1401 v41.0.1
1402 -------
1403
1404
1405
1406 Changes
1407 ^^^^^^^
1408 * #1671: Fixed issue with the PEP 517 backend that prevented building a wheel when the ``dist/`` directory contained existing ``.whl`` files.
1409 * #1709: In test.paths_on_python_path, avoid adding unnecessary duplicates to the PYTHONPATH.
1410 * #1741: In package_index, now honor "current directory" during a checkout of git and hg repositories under Windows
1411
1412
1413 v41.0.0
1414 -------
1415
1416
1417
1418 Breaking Changes
1419 ^^^^^^^^^^^^^^^^
1420 * #1735: When parsing setup.cfg files, setuptools now requires the files to be encoded as UTF-8. Any other encoding will lead to a UnicodeDecodeError. This change removes support for specifying an encoding using a 'coding: ' directive in the header of the file, a feature that was introduces in 40.7. Given the recent release of the aforementioned feature, it is assumed that few if any projects are utilizing the feature to specify an encoding other than UTF-8.
1421
1422
1423 v40.9.0
1424 -------
1425
1426
1427
1428 Changes
1429 ^^^^^^^
1430 * #1675: Added support for ``setup.cfg``-only projects when using the ``setuptools.build_meta`` backend. Projects that have enabled PEP 517 no longer need to have a ``setup.py`` and can use the purely declarative ``setup.cfg`` configuration file instead.
1431 * #1720: Added support for ``pkg_resources.parse_requirements``-style requirements in ``setup_requires`` when ``setup.py`` is invoked from the ``setuptools.build_meta`` build backend.
1432 * #1664: Added the path to the ``PKG-INFO`` or ``METADATA`` file in the exception
1433   text when the ``Version:`` header can't be found.
1434
1435 Documentation changes
1436 ^^^^^^^^^^^^^^^^^^^^^
1437 * #1705: Removed some placeholder documentation sections referring to deprecated features.
1438
1439
1440 v40.8.0
1441 -------
1442
1443
1444
1445 Changes
1446 ^^^^^^^
1447 * #1652: Added the ``build_meta:__legacy__`` backend, a "compatibility mode" PEP 517 backend that can be used as the default when ``build-backend`` is left unspecified in ``pyproject.toml``.
1448 * #1635: Resource paths are passed to ``pkg_resources.resource_string`` and similar no longer accept paths that traverse parents, that begin with a leading ``/``. Violations of this expectation raise DeprecationWarnings and will become errors. Additionally, any paths that are absolute on Windows are strictly disallowed and will raise ValueErrors.
1449 * #1536: ``setuptools`` will now automatically include licenses if ``setup.cfg`` contains a ``license_file`` attribute, unless this file is manually excluded inside ``MANIFEST.in``.
1450
1451
1452 v40.7.3
1453 -------
1454
1455
1456
1457 Changes
1458 ^^^^^^^
1459 * #1670: In package_index, revert to using a copy of splituser from Python 3.8. Attempts to use ``urllib.parse.urlparse`` led to problems as reported in #1663 and #1668. This change serves as an alternative to #1499 and fixes #1668.
1460
1461
1462 v40.7.2
1463 -------
1464
1465
1466
1467 Changes
1468 ^^^^^^^
1469 * #1666: Restore port in URL handling in package_index.
1470
1471
1472 v40.7.1
1473 -------
1474
1475
1476
1477 Changes
1478 ^^^^^^^
1479 * #1660: On Python 2, when reading config files, downcast options from text to bytes to satisfy distutils expectations.
1480
1481
1482 v40.7.0
1483 -------
1484
1485
1486
1487 Breaking Changes
1488 ^^^^^^^^^^^^^^^^
1489 * #1551: File inputs for the ``license`` field in ``setup.cfg`` files now explicitly raise an error.
1490
1491 Changes
1492 ^^^^^^^
1493 * #1180: Add support for non-ASCII in setup.cfg (#1062). Add support for native strings on some parameters (#1136).
1494 * #1499: ``setuptools.package_index`` no longer relies on the deprecated ``urllib.parse.splituser`` per Python #27485.
1495 * #1544: Added tests for PackageIndex.download (for git URLs).
1496 * #1625: In PEP 517 build_meta builder, ensure that sdists are built as gztar per the spec.
1497
1498
1499 v40.6.3
1500 -------
1501
1502
1503
1504 Changes
1505 ^^^^^^^
1506 * #1594: PEP 517 backend no longer declares setuptools as a dependency as it can be assumed.
1507
1508
1509 v40.6.2
1510 -------
1511
1512
1513
1514 Changes
1515 ^^^^^^^
1516 * #1592: Fix invalid dependency on external six module (instead of vendored version).
1517
1518
1519 v40.6.1
1520 -------
1521
1522
1523
1524 Changes
1525 ^^^^^^^
1526 * #1590: Fixed regression where packages without ``author`` or ``author_email`` fields generated malformed package metadata.
1527
1528
1529 v40.6.0
1530 -------
1531
1532
1533
1534 Deprecations
1535 ^^^^^^^^^^^^
1536 * #1541: Officially deprecated the ``requires`` parameter in ``setup()``.
1537
1538 Changes
1539 ^^^^^^^
1540 * #1519: In ``pkg_resources.normalize_path``, additional path normalization is now performed to ensure path values to a directory is always the same, preventing false positives when checking scripts have a consistent prefix to set up on Windows.
1541 * #1545: Changed the warning class of all deprecation warnings; deprecation warning classes are no longer derived from ``DeprecationWarning`` and are thus visible by default.
1542 * #1554: ``build_meta.build_sdist`` now includes ``setup.py`` in source distributions by default.
1543 * #1576: Started monkey-patching ``get_metadata_version`` and ``read_pkg_file`` onto ``distutils.DistributionMetadata`` to retain the correct version on the ``PKG-INFO`` file in the (deprecated) ``upload`` command.
1544
1545 Documentation changes
1546 ^^^^^^^^^^^^^^^^^^^^^
1547 * #1395: Changed Pyrex references to Cython in the documentation.
1548 * #1456: Documented that the ``rpmbuild`` packages is required for the ``bdist_rpm`` command.
1549 * #1537: Documented how to use ``setup.cfg`` for ``src/ layouts``
1550 * #1539: Added minimum version column in ``setup.cfg`` metadata table.
1551 * #1552: Fixed a minor typo in the python 2/3 compatibility documentation.
1552 * #1553: Updated installation instructions to point to ``pip install`` instead of ``ez_setup.py``.
1553 * #1560: Updated ``setuptools`` distribution documentation to remove some outdated information.
1554 * #1564: Documented ``setup.cfg`` minimum version for version and project_urls.
1555
1556 Misc
1557 ^^^^
1558 * #1533: Restricted the ``recursive-include setuptools/_vendor`` to contain only .py and .txt files.
1559 * #1572: Added the ``concurrent.futures`` backport ``futures`` to the Python 2.7 test suite requirements.
1560
1561
1562 v40.5.0
1563 -------
1564
1565
1566
1567 Changes
1568 ^^^^^^^
1569 * #1335: In ``pkg_resources.normalize_path``, fix issue on Cygwin when cwd contains symlinks.
1570 * #1502: Deprecated support for downloads from Subversion in package_index/easy_install.
1571 * #1517: Dropped use of six.u in favor of ``u""`` literals.
1572 * #1520: Added support for ``data_files`` in ``setup.cfg``.
1573
1574 Documentation changes
1575 ^^^^^^^^^^^^^^^^^^^^^
1576 * #1525: Fixed rendering of the deprecation warning in easy_install doc.
1577
1578
1579 v40.4.3
1580 -------
1581
1582
1583
1584 Changes
1585 ^^^^^^^
1586 * #1480: Bump vendored pyparsing in pkg_resources to 2.2.1.
1587
1588
1589 v40.4.2
1590 -------
1591
1592
1593
1594 Misc
1595 ^^^^
1596 * #1497: Updated gitignore in repo.
1597
1598
1599 v40.4.1
1600 -------
1601
1602
1603
1604 Changes
1605 ^^^^^^^
1606 * #1480: Bump vendored pyparsing to 2.2.1.
1607
1608
1609 v40.4.0
1610 -------
1611
1612
1613
1614 Changes
1615 ^^^^^^^
1616 * #1481: Join the sdist ``--dist-dir`` and the ``build_meta`` sdist directory argument to point to the same target (meaning the build frontend no longer needs to clean manually the dist dir to avoid multiple sdist presence, and setuptools no longer needs to handle conflicts between the two).
1617
1618
1619 v40.3.0
1620 -------
1621
1622
1623
1624 Changes
1625 ^^^^^^^
1626 * #1402: Fixed a bug with namespace packages under Python 3.6 when one package in
1627   current directory hides another which is installed.
1628 * #1427: Set timestamp of ``.egg-info`` directory whenever ``egg_info`` command is run.
1629 * #1474: ``build_meta.get_requires_for_build_sdist`` now does not include the ``wheel`` package anymore.
1630 * #1486: Suppress warnings in pkg_resources.handle_ns.
1631
1632 Misc
1633 ^^^^
1634 * #1479: Remove internal use of six.binary_type.
1635
1636
1637 v40.2.0
1638 -------
1639
1640
1641
1642 Changes
1643 ^^^^^^^
1644 * #1466: Fix handling of Unicode arguments in PEP 517 backend
1645
1646
1647 v40.1.1
1648 --------
1649
1650
1651
1652 Changes
1653 ^^^^^^^
1654 * #1465: Fix regression with ``egg_info`` command when tagging is used.
1655
1656
1657 v40.1.0
1658 -------
1659
1660
1661
1662 Changes
1663 ^^^^^^^
1664 * #1410: Deprecated ``upload`` and ``register`` commands.
1665 * #1312: Introduced find_namespace_packages() to find PEP 420 namespace packages.
1666 * #1420: Added find_namespace: directive to config parser.
1667 * #1418: Solved race in when creating egg cache directories.
1668 * #1450: Upgraded vendored PyParsing from 2.1.10 to 2.2.0.
1669 * #1451: Upgraded vendored appdirs from 1.4.0 to 1.4.3.
1670 * #1388: Fixed "Microsoft Visual C++ Build Tools" link in exception when Visual C++ not found.
1671 * #1389: Added support for scripts which have unicode content.
1672 * #1416: Moved several Python version checks over to using ``six.PY2`` and ``six.PY3``.
1673
1674 Misc
1675 ^^^^
1676 * #1441: Removed spurious executable permissions from files that don't need them.
1677
1678
1679 v40.0.0
1680 -------
1681
1682
1683
1684 Breaking Changes
1685 ^^^^^^^^^^^^^^^^
1686 * #1342: Drop support for Python 3.3.
1687
1688 Changes
1689 ^^^^^^^
1690 * #1366: In package_index, fixed handling of encoded entities in URLs.
1691 * #1383: In pkg_resources VendorImporter, avoid removing packages imported from the root.
1692
1693 Documentation changes
1694 ^^^^^^^^^^^^^^^^^^^^^
1695 * #1379: Minor doc fixes after actually using the new release process.
1696 * #1385: Removed section on non-package data files.
1697 * #1403: Fix developer's guide.
1698
1699 Misc
1700 ^^^^
1701 * #1404: Fix PEP 518 configuration: set build requirements in ``pyproject.toml`` to ``["wheel"]``.
1702
1703
1704 v39.2.0
1705 -------
1706
1707
1708
1709 Changes
1710 ^^^^^^^
1711 * #1359: Support using "file:" to load a PEP 440-compliant package version from
1712   a text file.
1713 * #1360: Fixed issue with a mismatch between the name of the package and the
1714   name of the .dist-info file in wheel files
1715 * #1364: Add ``__dir__()`` implementation to ``pkg_resources.Distribution()`` that
1716   includes the attributes in the ``_provider`` instance variable.
1717 * #1365: Take the package_dir option into account when loading the version from
1718   a module attribute.
1719
1720 Documentation changes
1721 ^^^^^^^^^^^^^^^^^^^^^
1722 * #1353: Added coverage badge to README.
1723 * #1356: Made small fixes to the developer guide documentation.
1724 * #1357: Fixed warnings in documentation builds and started enforcing that the
1725   docs build without warnings in tox.
1726 * #1376: Updated release process docs.
1727
1728 Misc
1729 ^^^^
1730 * #1343: The ``setuptools`` specific ``long_description_content_type``,
1731   ``project_urls`` and ``provides_extras`` fields are now set consistently
1732   after any ``distutils`` ``setup_keywords`` calls, allowing them to override
1733   values.
1734 * #1352: Added ``tox`` environment for documentation builds.
1735 * #1354: Added ``towncrier`` for changelog management.
1736 * #1355: Add PR template.
1737 * #1368: Fixed tests which failed without network connectivity.
1738 * #1369: Added unit tests for PEP 425 compatibility tags support.
1739 * #1372: Stop testing Python 3.3 in Travis CI, now that the latest version of
1740   ``wheel`` no longer installs on it.
1741
1742 v39.1.0
1743 -------
1744
1745 * #1340: Update all PyPI URLs to reflect the switch to the
1746   new Warehouse codebase.
1747 * #1337: In ``pkg_resources``, now support loading resources
1748   for modules loaded by the ``SourcelessFileLoader``.
1749 * #1332: Silence spurious wheel related warnings on Windows.
1750
1751 v39.0.1
1752 -------
1753
1754 * #1297: Restore Unicode handling for Maintainer fields in
1755   metadata.
1756
1757 v39.0.0
1758 -------
1759
1760 * #1296: Setuptools now vendors its own direct dependencies, no
1761   longer relying on the dependencies as vendored by pkg_resources.
1762
1763 * #296: Removed long-deprecated support for iteration on
1764   Version objects as returned by ``pkg_resources.parse_version``.
1765   Removed the ``SetuptoolsVersion`` and
1766   ``SetuptoolsLegacyVersion`` names as well. They should not
1767   have been used, but if they were, replace with
1768   ``Version`` and ``LegacyVersion`` from ``packaging.version``.
1769
1770 v38.7.0
1771 -------
1772
1773 * #1288: Add support for maintainer in PKG-INFO.
1774
1775 v38.6.1
1776 -------
1777
1778 * #1292: Avoid generating ``Provides-Extra`` in metadata when
1779   no extra is present (but environment markers are).
1780
1781 v38.6.0
1782 -------
1783
1784 * #1286: Add support for Metadata 2.1 (PEP 566).
1785
1786 v38.5.2
1787 -------
1788
1789 * #1285: Fixed RuntimeError in pkg_resources.parse_requirements
1790   on Python 3.7 (stemming from PEP 479).
1791
1792 v38.5.1
1793 -------
1794
1795 * #1271: Revert to Cython legacy ``build_ext`` behavior for
1796   compatibility.
1797
1798 v38.5.0
1799 -------
1800
1801 * #1229: Expand imports in ``build_ext`` to refine detection of
1802   Cython availability.
1803
1804 * #1270: When Cython is available, ``build_ext`` now uses the
1805   new_build_ext.
1806
1807 v38.4.1
1808 -------
1809
1810 * #1257: In bdist_egg.scan_module, fix ValueError on Python 3.7.
1811
1812 v38.4.0
1813 -------
1814
1815 * #1231: Removed warning when PYTHONDONTWRITEBYTECODE is enabled.
1816
1817 v38.3.0
1818 -------
1819
1820 * #1210: Add support for PEP 345 Project-URL metadata.
1821 * #1207: Add support for ``long_description_type`` to setup.cfg
1822   declarative config as intended and documented.
1823
1824 v38.2.5
1825 -------
1826
1827 * #1232: Fix trailing slash handling in ``pkg_resources.ZipProvider``.
1828
1829 v38.2.4
1830 -------
1831
1832 * #1220: Fix ``data_files`` handling when installing from wheel.
1833
1834 v38.2.3
1835 -------
1836
1837 * fix Travis' Python 3.3 job.
1838
1839 v38.2.2
1840 -------
1841
1842 * #1214: fix handling of namespace packages when installing
1843   from a wheel.
1844
1845 v38.2.1
1846 -------
1847
1848 * #1212: fix encoding handling of metadata when installing
1849   from a wheel.
1850
1851 v38.2.0
1852 -------
1853
1854 * #1200: easy_install now support installing from wheels:
1855   they will be installed as standalone unzipped eggs.
1856
1857 v38.1.0
1858 -------
1859
1860 * #1208: Improve error message when failing to locate scripts
1861   in egg-info metadata.
1862
1863 v38.0.0
1864 -------
1865
1866 * #458: In order to support deterministic builds, Setuptools no
1867   longer allows packages to declare ``install_requires`` as
1868   unordered sequences (sets or dicts).
1869
1870 v37.0.0
1871 -------
1872
1873 * #878: Drop support for Python 2.6. Python 2.6 users should
1874   rely on 'setuptools < 37dev'.
1875
1876 v36.8.0
1877 -------
1878
1879 * #1190: In SSL support for package index operations, use SNI
1880   where available.
1881
1882 v36.7.3
1883 -------
1884
1885 * #1175: Bug fixes to ``build_meta`` module.
1886
1887 v36.7.2
1888 -------
1889
1890 * #701: Fixed duplicate test discovery on Python 3.
1891
1892 v36.7.1
1893 -------
1894
1895 * #1193: Avoid test failures in bdist_egg when
1896   PYTHONDONTWRITEBYTECODE is set.
1897
1898 v36.7.0
1899 -------
1900
1901 * #1054: Support ``setup_requires`` in ``setup.cfg`` files.
1902
1903 v36.6.1
1904 -------
1905
1906 * #1132: Removed redundant and costly serialization/parsing step
1907   in ``EntryPoint.__init__``.
1908
1909 * #844: ``bdist_egg --exclude-source-files`` now tested and works
1910   on Python 3.
1911
1912 v36.6.0
1913 -------
1914
1915 * #1143: Added ``setuptools.build_meta`` module, an implementation
1916   of PEP-517 for Setuptools-defined packages.
1917
1918 * #1143: Added ``dist_info`` command for producing dist_info
1919   metadata.
1920
1921 v36.5.0
1922 -------
1923
1924 * #170: When working with Mercurial checkouts, use Windows-friendly
1925   syntax for suppressing output.
1926
1927 * Inspired by #1134, performed substantial refactoring of
1928   ``pkg_resources.find_on_path`` to facilitate an optimization
1929   for paths with many non-version entries.
1930
1931 v36.4.0
1932 -------
1933
1934 * #1075: Add new ``Description-Content-Type`` metadata field. `See here for
1935   documentation on how to use this field.
1936   <https://packaging.python.org/specifications/#description-content-type>`_
1937
1938 * #1068: Sort files and directories when building eggs for
1939   deterministic order.
1940
1941 * #196: Remove caching of easy_install command in fetch_build_egg.
1942   Fixes issue where ``pytest-runner-N.N`` would satisfy the installation
1943   of ``pytest``.
1944
1945 * #1129: Fix working set dependencies handling when replacing conflicting
1946   distributions (e.g. when using ``setup_requires`` with a conflicting
1947   transitive dependency, fix #1124).
1948
1949 * #1133: Improved handling of README files extensions and added
1950   Markdown to the list of searched READMES.
1951
1952 * #1135: Improve performance of pkg_resources import by not invoking
1953   ``access`` or ``stat`` and using ``os.listdir`` instead.
1954
1955 v36.3.0
1956 -------
1957
1958 * #1131: Make possible using several files within ``file:`` directive
1959   in metadata.long_description in ``setup.cfg``.
1960
1961 v36.2.7
1962 -------
1963
1964 * fix #1105: Fix handling of requirements with environment
1965   markers when declared in ``setup.cfg`` (same treatment as
1966   for #1081).
1967
1968 v36.2.6
1969 -------
1970
1971 * #462: Don't assume a directory is an egg by the ``.egg``
1972   extension alone.
1973
1974 v36.2.5
1975 -------
1976
1977 * #1093: Fix test command handler with extras_require.
1978 * #1112, #1091, #1115: Now using Trusty containers in
1979   Travis for CI and CD.
1980
1981 v36.2.4
1982 -------
1983
1984 * #1092: ``pkg_resources`` now uses ``inspect.getmro`` to
1985   resolve classes in method resolution order.
1986
1987 v36.2.3
1988 -------
1989
1990 * #1102: Restore behavior for empty extras.
1991
1992 v36.2.2
1993 -------
1994
1995 * #1099: Revert commit a3ec721, restoring intended purpose of
1996   extras as part of a requirement declaration.
1997
1998 v36.2.1
1999 -------
2000
2001 * fix #1086
2002 * fix #1087
2003 * support extras specifiers in install_requires requirements
2004
2005 v36.2.0
2006 -------
2007
2008 * #1081: Environment markers indicated in ``install_requires``
2009   are now processed and treated as nameless ``extras_require``
2010   with markers, allowing their metadata in requires.txt to be
2011   correctly generated.
2012
2013 * #1053: Tagged commits are now released using Travis-CI
2014   build stages, meaning releases depend on passing tests on
2015   all supported Python versions (Linux) and not just the latest
2016   Python version.
2017
2018 v36.1.1
2019 -------
2020
2021 * #1083: Correct ``py31compat.makedirs`` to correctly honor
2022   ``exist_ok`` parameter.
2023 * #1083: Also use makedirs compatibility throughout setuptools.
2024
2025 v36.1.0
2026 -------
2027
2028 * #1083: Avoid race condition on directory creation in
2029   ``pkg_resources.ensure_directory``.
2030
2031 * Removed deprecation of and restored support for
2032   ``upload_docs`` command for sites other than PyPI.
2033   Only warehouse is dropping support, but services like
2034   `devpi <http://doc.devpi.net/latest/>`_ continue to
2035   support docs built by setuptools' plugins. See
2036   `this comment <https://bitbucket.org/hpk42/devpi/issues/388/support-rtd-model-for-building-uploading#comment-34292423>`_
2037   for more context on the motivation for this change.
2038
2039 v36.0.1
2040 -------
2041
2042 * #1042: Fix import in py27compat module that still
2043   referenced six directly, rather than through the externs
2044   module (vendored packages hook).
2045
2046 v36.0.0
2047 -------
2048
2049 * #980 and others: Once again, Setuptools vendors all
2050   of its dependencies. It seems to be the case that in
2051   the Python ecosystem, all build tools must run without
2052   any dependencies (build, runtime, or otherwise). At
2053   such a point that a mechanism exists that allows
2054   build tools to have dependencies, Setuptools will adopt
2055   it.
2056
2057 v35.0.2
2058 -------
2059
2060 * #1015: Fix test failures on Python 3.7.
2061
2062 * #1024: Add workaround for Jython #2581 in monkey module.
2063
2064 v35.0.1
2065 -------
2066
2067 * #992: Revert change introduced in v34.4.1, now
2068   considered invalid.
2069
2070 * #1016: Revert change introduced in v35.0.0 per #1014,
2071   referencing #436. The approach had unintended
2072   consequences, causing sdist installs to be missing
2073   files.
2074
2075 v35.0.0
2076 -------
2077
2078 * #436: In egg_info.manifest_maker, no longer read
2079   the file list from the manifest file, and instead
2080   re-build it on each build. In this way, files removed
2081   from the specification will not linger in the manifest.
2082   As a result, any files manually added to the manifest
2083   will be removed on subsequent egg_info invocations.
2084   No projects should be manually adding files to the
2085   manifest and should instead use MANIFEST.in or SCM
2086   file finders to force inclusion of files in the manifest.
2087
2088 v34.4.1
2089 -------
2090
2091 * #1008: In MSVC support, use always the last version available for Windows SDK and UCRT SDK.
2092
2093 * #1008: In MSVC support, fix "vcruntime140.dll" returned path with Visual Studio 2017.
2094
2095 * #992: In msvc.msvc9_query_vcvarsall, ensure the
2096   returned dicts have str values and not Unicode for
2097   compatibility with os.environ.
2098
2099 v34.4.0
2100 -------
2101
2102 * #995: In MSVC support, add support for "Microsoft Visual Studio 2017" and "Microsoft Visual Studio Build Tools 2017".
2103
2104 * #999 via #1007: Extend support for declarative package
2105   config in a setup.cfg file to include the options
2106   ``python_requires`` and ``py_modules``.
2107
2108 v34.3.3
2109 -------
2110
2111 * #967 (and #997): Explicitly import submodules of
2112   packaging to account for environments where the imports
2113   of those submodules is not implied by other behavior.
2114
2115 v34.3.2
2116 -------
2117
2118 * #993: Fix documentation upload by correcting
2119   rendering of content-type in _build_multipart
2120   on Python 3.
2121
2122 v34.3.1
2123 -------
2124
2125 * #988: Trap ``os.unlink`` same as ``os.remove`` in
2126   ``auto_chmod`` error handler.
2127
2128 * #983: Fixes to invalid escape sequence deprecations on
2129   Python 3.6.
2130
2131 v34.3.0
2132 -------
2133
2134 * #941: In the upload command, if the username is blank,
2135   default to ``getpass.getuser()``.
2136
2137 * #971: Correct distutils findall monkeypatch to match
2138   appropriate versions (namely Python 3.4.6).
2139
2140 v34.2.0
2141 -------
2142
2143 * #966: Add support for reading dist-info metadata and
2144   thus locating Distributions from zip files.
2145
2146 * #968: Allow '+' and '!' in egg fragments
2147   so that it can take package names that contain
2148   PEP 440 conforming version specifiers.
2149
2150 v34.1.1
2151 -------
2152
2153 * #953: More aggressively employ the compatibility issue
2154   originally added in #706.
2155
2156 v34.1.0
2157 -------
2158
2159 * #930: ``build_info`` now accepts two new parameters
2160   to optimize and customize the building of C libraries.
2161
2162 v34.0.3
2163 -------
2164
2165 * #947: Loosen restriction on the version of six required,
2166   restoring compatibility with environments relying on
2167   six 1.6.0 and later.
2168
2169 v34.0.2
2170 -------
2171
2172 * #882: Ensure extras are honored when building the
2173   working set.
2174 * #913: Fix issue in develop if package directory has
2175   a trailing slash.
2176
2177 v34.0.1
2178 -------
2179
2180 * #935: Fix glob syntax in graft.
2181
2182 v34.0.0
2183 -------
2184
2185 * #581: Instead of vendoring the growing list of
2186   dependencies that Setuptools requires to function,
2187   Setuptools now requires these dependencies just like
2188   any other project. Unlike other projects, however,
2189   Setuptools cannot rely on ``setup_requires`` to
2190   demand the dependencies it needs to install because
2191   its own machinery would be necessary to pull those
2192   dependencies if not present (a bootstrapping problem).
2193   As a result, Setuptools no longer supports self upgrade or
2194   installation in the general case. Instead, users are
2195   directed to use pip to install and upgrade using the
2196   ``wheel`` distributions of setuptools.
2197
2198   Users are welcome to contrive other means to install
2199   or upgrade Setuptools using other means, such as
2200   pre-installing the Setuptools dependencies with pip
2201   or a bespoke bootstrap tool, but such usage is not
2202   recommended and is not supported.
2203
2204   As discovered in #940, not all versions of pip will
2205   successfully install Setuptools from its pre-built
2206   wheel. If you encounter issues with "No module named
2207   six" or "No module named packaging", especially
2208   following a line "Running setup.py egg_info for package
2209   setuptools", then your pip is not new enough.
2210
2211   There's an additional issue in pip where setuptools
2212   is upgraded concurrently with other source packages,
2213   described in pip #4253. The proposed workaround is to
2214   always upgrade Setuptools first prior to upgrading
2215   other packages that would upgrade Setuptools.
2216
2217 v33.1.1
2218 -------
2219
2220 * #921: Correct issue where certifi fallback not being
2221   reached on Windows.
2222
2223 v33.1.0
2224 -------
2225
2226 Installation via pip, as indicated in the `Python Packaging
2227 User's Guide <https://packaging.python.org/installing/>`_,
2228 is the officially-supported mechanism for installing
2229 Setuptools, and this recommendation is now explicit in the
2230 much more concise README.
2231
2232 Other edits and tweaks were made to the documentation. The
2233 codebase is unchanged.
2234
2235 v33.0.0
2236 -------
2237
2238 * #619: Removed support for the ``tag_svn_revision``
2239   distribution option. If Subversion tagging support is
2240   still desired, consider adding the functionality to
2241   setuptools_svn in setuptools_svn #2.
2242
2243 v32.3.1
2244 -------
2245
2246 * #866: Use ``dis.Bytecode`` on Python 3.4 and later in
2247   ``setuptools.depends``.
2248
2249 v32.3.0
2250 -------
2251
2252 * #889: Backport proposed fix for disabling interpolation in
2253   distutils.Distribution.parse_config_files.
2254
2255 v32.2.0
2256 -------
2257
2258 * #884: Restore support for running the tests under
2259   `pytest-runner <https://github.com/pytest-dev/pytest-runner>`_
2260   by ensuring that PYTHONPATH is honored in tests invoking
2261   a subprocess.
2262
2263 v32.1.3
2264 -------
2265
2266 * #706: Add rmtree compatibility shim for environments where
2267   rmtree fails when passed a unicode string.
2268
2269 v32.1.2
2270 -------
2271
2272 * #893: Only release sdist in zip format as warehouse now
2273   disallows releasing two different formats.
2274
2275 v32.1.1
2276 -------
2277
2278 * #704: More selectively ensure that 'rmtree' is not invoked with
2279   a byte string, enabling it to remove files that are non-ascii,
2280   even on Python 2.
2281
2282 * #712: In 'sandbox.run_setup', ensure that ``__file__`` is
2283   always a ``str``, modeling the behavior observed by the
2284   interpreter when invoking scripts and modules.
2285
2286 v32.1.0
2287 -------
2288
2289 * #891: In 'test' command on test failure, raise DistutilsError,
2290   suppression invocation of subsequent commands.
2291
2292 v32.0.0
2293 -------
2294
2295 * #890: Revert #849. ``global-exclude .foo`` will not match all
2296   ``*.foo`` files any more. Package authors must add an explicit
2297   wildcard, such as ``global-exclude *.foo``, to match all
2298   ``.foo`` files. See #886, #849.
2299
2300 v31.0.1
2301 -------
2302
2303 * #885: Fix regression where 'pkg_resources._rebuild_mod_path'
2304   would fail when a namespace package's '__path__' was not
2305   a list with a sort attribute.
2306
2307 v31.0.0
2308 -------
2309
2310 * #250: Install '-nspkg.pth' files for packages installed
2311   with 'setup.py develop'. These .pth files allow
2312   namespace packages installed by pip or develop to
2313   co-mingle. This change required the removal of the
2314   change for #805 and pip #1924, introduced in 28.3.0 and implicated
2315   in #870, but means that namespace packages not in a
2316   site packages directory will no longer work on Python
2317   earlier than 3.5, whereas before they would work on
2318   Python not earlier than 3.3.
2319
2320 v30.4.0
2321 -------
2322
2323 * #879: For declarative config:
2324
2325   - read_configuration() now accepts ignore_option_errors argument. This allows scraping tools to read metadata without a need to download entire packages. E.g. we can gather some stats right from GitHub repos just by downloading setup.cfg.
2326
2327   - packages find: directive now supports fine tuning from a subsection. The same arguments as for find() are accepted.
2328
2329 v30.3.0
2330 -------
2331
2332 * #394 via #862: Added support for `declarative package
2333   config in a setup.cfg file
2334   <https://setuptools.pypa.io/en/latest/setuptools.html#configuring-setup-using-setup-cfg-files>`_.
2335
2336 v30.2.1
2337 -------
2338
2339 * #850: In test command, invoke unittest.main with
2340   indication not to exit the process.
2341
2342 v30.2.0
2343 -------
2344
2345 * #854: Bump to vendored Packaging 16.8.
2346
2347 v30.1.0
2348 -------
2349
2350 * #846: Also trap 'socket.error' when opening URLs in
2351   package_index.
2352
2353 * #849: Manifest processing now matches the filename
2354   pattern anywhere in the filename and not just at the
2355   start. Restores behavior found prior to 28.5.0.
2356
2357 v30.0.0
2358 -------
2359
2360 * #864: Drop support for Python 3.2. Systems requiring
2361   Python 3.2 support must use 'setuptools < 30'.
2362
2363 * #825: Suppress warnings for single files.
2364
2365 * #830 via #843: Once again restored inclusion of data
2366   files to sdists, but now trap TypeError caused by
2367   techniques employed rjsmin and similar.
2368
2369 v29.0.1
2370 -------
2371
2372 * #861: Re-release of v29.0.1 with the executable script
2373   launchers bundled. Now, launchers are included by default
2374   and users that want to disable this behavior must set the
2375   environment variable
2376   'SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES' to
2377   a false value like "false" or "0".
2378
2379 v29.0.0
2380 -------
2381
2382 * #841: Drop special exception for packages invoking
2383   win32com during the build/install process. See
2384   Distribute #118 for history.
2385
2386 v28.8.0
2387 -------
2388
2389 * #629: Per the discussion, refine the sorting to use version
2390   value order for more accurate detection of the latest
2391   available version when scanning for packages. See also
2392   #829.
2393
2394 * #837: Rely on the config var "SO" for Python 3.3.0 only
2395   when determining the ext filename.
2396
2397 v28.7.1
2398 -------
2399
2400 * #827: Update PyPI root for dependency links.
2401
2402 * #833: Backed out changes from #830 as the implementation
2403   seems to have problems in some cases.
2404
2405 v28.7.0
2406 -------
2407
2408 * #832: Moved much of the namespace package handling
2409   functionality into a separate module for re-use in something
2410   like #789.
2411 * #830: ``sdist`` command no longer suppresses the inclusion
2412   of data files, re-aligning with the expectation of distutils
2413   and addressing #274 and #521.
2414
2415 v28.6.1
2416 -------
2417
2418 * #816: Fix manifest file list order in tests.
2419
2420 v28.6.0
2421 -------
2422
2423 * #629: When scanning for packages, ``pkg_resources`` now
2424   ignores empty egg-info directories and gives precedence to
2425   packages whose versions are lexicographically greatest,
2426   a rough approximation for preferring the latest available
2427   version.
2428
2429 v28.5.0
2430 -------
2431
2432 * #810: Tests are now invoked with tox and not setup.py test.
2433 * #249 and #450 via #764: Avoid scanning the whole tree
2434   when building the manifest. Also fixes a long-standing bug
2435   where patterns in ``MANIFEST.in`` had implicit wildcard
2436   matching. This caused ``global-exclude .foo`` to exclude
2437   all ``*.foo`` files, but also ``global-exclude bar.py`` to
2438   exclude ``foo_bar.py``.
2439
2440 v28.4.0
2441 -------
2442
2443 * #732: Now extras with a hyphen are honored per PEP 426.
2444 * #811: Update to pyparsing 2.1.10.
2445 * Updated ``setuptools.command.sdist`` to re-use most of
2446   the functionality directly from ``distutils.command.sdist``
2447   for the ``add_defaults`` method with strategic overrides.
2448   See #750 for rationale.
2449 * #760 via #762: Look for certificate bundle where SUSE
2450   Linux typically presents it. Use ``certifi.where()`` to locate
2451   the bundle.
2452
2453 v28.3.0
2454 -------
2455
2456 * #809: In ``find_packages()``, restore support for excluding
2457   a parent package without excluding a child package.
2458
2459 * #805: Disable ``-nspkg.pth`` behavior on Python 3.3+ where
2460   PEP-420 functionality is adequate. Fixes pip #1924.
2461
2462 v28.1.0
2463 -------
2464
2465 * #803: Bump certifi to 2016.9.26.
2466
2467 v28.0.0
2468 -------
2469
2470 * #733: Do not search excluded directories for packages.
2471   This introduced a backwards incompatible change in ``find_packages()``
2472   so that ``find_packages(exclude=['foo']) == []``, excluding subpackages of ``foo``.
2473   Previously, ``find_packages(exclude=['foo']) == ['foo.bar']``,
2474   even though the parent ``foo`` package was excluded.
2475
2476 * #795: Bump certifi.
2477
2478 * #719: Suppress decoding errors and instead log a warning
2479   when metadata cannot be decoded.
2480
2481 v27.3.1
2482 -------
2483
2484 * #790: In MSVC monkeypatching, explicitly patch each
2485   function by name in the target module instead of inferring
2486   the module from the function's ``__module__``. Improves
2487   compatibility with other packages that might have previously
2488   patched distutils functions (i.e. NumPy).
2489
2490 v27.3.0
2491 -------
2492
2493 * #794: In test command, add installed eggs to PYTHONPATH
2494   when invoking tests so that subprocesses will also have the
2495   dependencies available. Fixes `tox 330
2496   <https://github.com/tox-dev/tox/issues/330>`_.
2497
2498 * #795: Update vendored pyparsing 2.1.9.
2499
2500 v27.2.0
2501 -------
2502
2503 * #520 and #513: Suppress ValueErrors in fixup_namespace_packages
2504   when lookup fails.
2505
2506 * Nicer, more consistent interfaces for msvc monkeypatching.
2507
2508 v27.1.2
2509 -------
2510
2511 * #779 via #781: Fix circular import.
2512
2513 v27.1.1
2514 -------
2515
2516 * #778: Fix MSVC monkeypatching.
2517
2518 v27.1.0
2519 -------
2520
2521 * Introduce the (private) ``monkey`` module to encapsulate
2522   the distutils monkeypatching behavior.
2523
2524 v27.0.0
2525 -------
2526
2527 * Now use Warehouse by default for
2528   ``upload``, patching ``distutils.config.PyPIRCCommand`` to
2529   affect default behavior.
2530
2531   Any config in .pypirc should be updated to replace
2532
2533     https://pypi.python.org/pypi/
2534
2535   with
2536
2537     https://upload.pypi.org/legacy/
2538
2539   Similarly, any passwords stored in the keyring should be
2540   updated to use this new value for "system".
2541
2542   The ``upload_docs`` command will continue to use the python.org
2543   site, but the command is now deprecated. Users are urged to use
2544   Read The Docs instead.
2545
2546 * #776: Use EXT_SUFFIX for py_limited_api renaming.
2547
2548 * #774 and #775: Use LegacyVersion from packaging when
2549   detecting numpy versions.
2550
2551 v26.1.1
2552 -------
2553
2554 * Re-release of 26.1.0 with pytest pinned to allow for automated
2555   deployment and thus proper packaging environment variables,
2556   fixing issues with missing executable launchers.
2557
2558 v26.1.0
2559 -------
2560
2561 * #763: ``pkg_resources.get_default_cache`` now defers to the
2562   `appdirs project <https://pypi.org/project/appdirs>`_ to
2563   resolve the cache directory. Adds a vendored dependency on
2564   appdirs to pkg_resources.
2565
2566 v26.0.0
2567 -------
2568
2569 * #748: By default, sdists are now produced in gzipped tarfile
2570   format by default on all platforms, adding forward compatibility
2571   for the same behavior in Python 3.6 (See Python #27819).
2572
2573 * #459 via #736: On Windows with script launchers,
2574   sys.argv[0] now reflects
2575   the name of the entry point, consistent with the behavior in
2576   distlib and pip wrappers.
2577
2578 * #752 via #753: When indicating ``py_limited_api`` to Extension,
2579   it must be passed as a keyword argument.
2580
2581 v25.4.0
2582 -------
2583
2584 * Add Extension(py_limited_api=True). When set to a truthy value,
2585   that extension gets a filename appropriate for code using Py_LIMITED_API.
2586   When used correctly this allows a single compiled extension to work on
2587   all future versions of CPython 3.
2588   The py_limited_api argument only controls the filename. To be
2589   compatible with multiple versions of Python 3, the C extension
2590   will also need to set -DPy_LIMITED_API=... and be modified to use
2591   only the functions in the limited API.
2592
2593 v25.3.0
2594 -------
2595
2596 * #739 Fix unquoted libpaths by fixing compatibility between ``numpy.distutils`` and ``distutils._msvccompiler`` for numpy < 1.11.2 (Fix issue #728, error also fixed in Numpy).
2597
2598 * #731: Bump certifi.
2599
2600 * Style updates. See #740, #741, #743, #744, #742, #747.
2601
2602 * #735: include license file.
2603
2604 v25.2.0
2605 -------
2606
2607 * #612 via #730: Add a LICENSE file which needs to be provided by the terms of
2608   the MIT license.
2609
2610 v25.1.6
2611 -------
2612
2613 * #725: revert ``library_dir_option`` patch (Error is related to ``numpy.distutils`` and make errors on non Numpy users).
2614
2615 v25.1.5
2616 -------
2617
2618 * #720
2619 * #723: Improve patch for ``library_dir_option``.
2620
2621 v25.1.4
2622 -------
2623
2624 * #717
2625 * #713
2626 * #707: Fix Python 2 compatibility for MSVC by catching errors properly.
2627 * #715: Fix unquoted libpaths by patching ``library_dir_option``.
2628
2629 v25.1.3
2630 -------
2631
2632 * #714 and #704: Revert fix as it breaks other components
2633   downstream that can't handle unicode. See #709, #710,
2634   and #712.
2635
2636 v25.1.2
2637 -------
2638
2639 * #704: Fix errors when installing a zip sdist that contained
2640   files named with non-ascii characters on Windows would
2641   crash the install when it attempted to clean up the build.
2642 * #646: MSVC compatibility - catch errors properly in
2643   RegistryInfo.lookup.
2644 * #702: Prevent UnboundLocalError when initial working_set
2645   is empty.
2646
2647 v25.1.1
2648 -------
2649
2650 * #686: Fix issue in sys.path ordering by pkg_resources when
2651   rewrite technique is "raw".
2652 * #699: Fix typo in msvc support.
2653
2654 v25.1.0
2655 -------
2656
2657 * #609: Setuptools will now try to download a distribution from
2658   the next possible download location if the first download fails.
2659   This means you can now specify multiple links as ``dependency_links``
2660   and all links will be tried until a working download link is encountered.
2661
2662 v25.0.2
2663 -------
2664
2665 * #688: Fix AttributeError in setup.py when invoked not from
2666   the current directory.
2667
2668 v25.0.1
2669 -------
2670
2671 * Cleanup of setup.py script.
2672
2673 * Fixed documentation builders by allowing setup.py
2674   to be imported without having bootstrapped the
2675   metadata.
2676
2677 * More style cleanup. See #677, #678, #679, #681, #685.
2678
2679 v25.0.0
2680 -------
2681
2682 * #674: Default ``sys.path`` manipulation by easy-install.pth
2683   is now "raw", meaning that when writing easy-install.pth
2684   during any install operation, the ``sys.path`` will not be
2685   rewritten and will no longer give preference to easy_installed
2686   packages.
2687
2688   To retain the old behavior when using any easy_install
2689   operation (including ``setup.py install`` when setuptools is
2690   present), set the environment variable:
2691
2692     SETUPTOOLS_SYS_PATH_TECHNIQUE=rewrite
2693
2694   This project hopes that that few if any environments find it
2695   necessary to retain the old behavior, and intends to drop
2696   support for it altogether in a future release. Please report
2697   any relevant concerns in the ticket for this change.
2698
2699 v24.3.1
2700 -------
2701
2702 * #398: Fix shebang handling on Windows in script
2703   headers where spaces in ``sys.executable`` would
2704   produce an improperly-formatted shebang header,
2705   introduced in 12.0 with the fix for #188.
2706
2707 * #663, #670: More style updates.
2708
2709 v24.3.0
2710 -------
2711
2712 * #516: Disable ``os.link`` to avoid hard linking
2713   in ``sdist.make_distribution``, avoiding errors on
2714   systems that support hard links but not on the
2715   file system in which the build is occurring.
2716
2717 v24.2.1
2718 -------
2719
2720 * #667: Update Metadata-Version to 1.2 when
2721   ``python_requires`` is supplied.
2722
2723 v24.2.0
2724 -------
2725
2726 * #631: Add support for ``python_requires`` keyword.
2727
2728 v24.1.1
2729 -------
2730
2731 * More style updates. See #660, #661, #641.
2732
2733 v24.1.0
2734 -------
2735
2736 * #659: ``setup.py`` now will fail fast and with a helpful
2737   error message when the necessary metadata is missing.
2738 * More style updates. See #656, #635, #640,
2739   #644, #650, #652, and #655.
2740
2741 v24.0.3
2742 -------
2743
2744 * Updated style in much of the codebase to match
2745   community expectations. See #632, #633, #634,
2746   #637, #639, #638, #642, #648.
2747
2748 v24.0.2
2749 -------
2750
2751 * If MSVC++14 is needed ``setuptools.msvc`` now redirect
2752   user to Visual C++ Build Tools web page.
2753
2754 v24.0.1
2755 -------
2756
2757 * #625 and #626: Fixes on ``setuptools.msvc`` mainly
2758   for Python 2 and Linux.
2759
2760 v24.0.0
2761 -------
2762
2763 * Pull Request #174: Add more aggressive support for
2764   standalone Microsoft Visual C++ compilers in
2765   msvc9compiler patch.
2766   Particularly : Windows SDK 6.1 and 7.0
2767   (MSVC++ 9.0), Windows SDK 7.1 (MSVC++ 10.0),
2768   Visual C++ Build Tools 2015 (MSVC++14)
2769 * Renamed ``setuptools.msvc9_support`` to
2770   ``setuptools.msvc``.
2771
2772 v23.2.1
2773 -------
2774
2775 Re-release of v23.2.0, which was missing the intended
2776 commits.
2777
2778 * #623: Remove used of deprecated 'U' flag when reading
2779   manifests.
2780
2781 v23.1.0
2782 -------
2783
2784 * #619: Deprecated ``tag_svn_revision`` distribution
2785   option.
2786
2787 v23.0.0
2788 -------
2789
2790 * #611: Removed ARM executables for CLI and GUI script
2791   launchers on Windows. If this was a feature you cared
2792   about, please comment in the ticket.
2793 * #604: Removed docs building support. The project
2794   now relies on documentation hosted at
2795   https://setuptools.pypa.io/.
2796
2797 v22.0.5
2798 -------
2799
2800 * #604: Restore repository for upload_docs command
2801   to restore publishing of docs during release.
2802
2803 v22.0.4
2804 -------
2805
2806 * #589: Upload releases to pypi.io using the upload
2807   hostname and legacy path.
2808
2809 v22.0.3
2810 -------
2811
2812 * #589: Releases are now uploaded to pypi.io (Warehouse)
2813   even when releases are made on Twine via Travis.
2814
2815 v22.0.2
2816 -------
2817
2818 * #589: Releases are now uploaded to pypi.io (Warehouse).
2819
2820 v22.0.1
2821 -------
2822
2823 * #190: On Python 2, if unicode is passed for packages to
2824   ``build_py`` command, it will be handled just as with
2825   text on Python 3.
2826
2827 v22.0.0
2828 -------
2829
2830 Intended to be v21.3.0, but jaraco accidentally released as
2831 a major bump.
2832
2833 * #598: Setuptools now lists itself first in the User-Agent
2834   for web requests, better following the guidelines in
2835   `RFC 7231
2836   <https://tools.ietf.org/html/rfc7231#section-5.5.3>`_.
2837
2838 v21.2.2
2839 -------
2840
2841 * Minor fixes to changelog and docs.
2842
2843 v21.2.1
2844 -------
2845
2846 * #261: Exclude directories when resolving globs in
2847   package_data.
2848
2849 v21.2.0
2850 -------
2851
2852 * #539: In the easy_install get_site_dirs, honor all
2853   paths found in ``site.getsitepackages``.
2854
2855 v21.1.0
2856 -------
2857
2858 * #572: In build_ext, now always import ``_CONFIG_VARS``
2859   from ``distutils`` rather than from ``sysconfig``
2860   to allow ``distutils.sysconfig.customize_compiler``
2861   configure the OS X compiler for ``-dynamiclib``.
2862
2863 v21.0.0
2864 -------
2865
2866 * Removed ez_setup.py from Setuptools sdist. The
2867   bootstrap script will be maintained in its own
2868   branch and should be generally be retrieved from
2869   its canonical location at
2870   https://bootstrap.pypa.io/ez_setup.py.
2871
2872 v20.10.0
2873 --------
2874
2875 * #553: egg_info section is now generated in a
2876   deterministic order, matching the order generated
2877   by earlier versions of Python. Except on Python 2.6,
2878   order is preserved when existing settings are present.
2879 * #556: Update to Packaging 16.7, restoring support
2880   for deprecated ``python_implmentation`` marker.
2881 * #555: Upload command now prompts for a password
2882   when uploading to PyPI (or other repository) if no
2883   password is present in .pypirc or in the keyring.
2884
2885 v20.9.0
2886 -------
2887
2888 * #548: Update certify version to 2016.2.28
2889 * #545: Safely handle deletion of non-zip eggs in rotate
2890   command.
2891
2892 v20.8.1
2893 -------
2894
2895 * Issue #544: Fix issue with extra environment marker
2896   processing in WorkingSet due to refactor in v20.7.0.
2897
2898 v20.8.0
2899 -------
2900
2901 * Issue #543: Re-release so that latest release doesn't
2902   cause déjà vu with distribute and setuptools 0.7 in
2903   older environments.
2904
2905 v20.7.0
2906 -------
2907
2908 * Refactored extra environment marker processing
2909   in WorkingSet.
2910 * Issue #533: Fixed intermittent test failures.
2911 * Issue #536: In msvc9_support, trap additional exceptions
2912   that might occur when importing
2913   ``distutils.msvc9compiler`` in mingw environments.
2914 * Issue #537: Provide better context when package
2915   metadata fails to decode in UTF-8.
2916
2917 v20.6.8
2918 -------
2919
2920 * Issue #523: Restored support for environment markers,
2921   now honoring 'extra' environment markers.
2922
2923 v20.6.7
2924 -------
2925
2926 * Issue #523: Disabled support for environment markers
2927   introduced in v20.5.
2928
2929 v20.6.6
2930 -------
2931
2932 * Issue #503: Restore support for PEP 345 environment
2933   markers by updating to Packaging 16.6.
2934
2935 v20.6.0
2936 -------
2937
2938 * New release process that relies on
2939   `bumpversion <https://github.com/peritus/bumpversion>`_
2940   and Travis CI for continuous deployment.
2941 * Project versioning semantics now follow
2942   `semver <https://semver.org>`_ precisely.
2943   The 'v' prefix on version numbers now also allows
2944   version numbers to be referenced in the changelog,
2945   e.g. http://setuptools.pypa.io/en/latest/history.html#v20-6-0.
2946
2947 20.5
2948 ----
2949
2950 * BB Pull Request #185, #470: Add support for environment markers
2951   in requirements in install_requires, setup_requires,
2952   tests_require as well as adding a test for the existing
2953   extra_requires machinery.
2954
2955 20.4
2956 ----
2957
2958 * Issue #422: Moved hosting to
2959   `Github <https://github.com/pypa/setuptools>`_
2960   from `Bitbucket <https://bitbucket.org/pypa/setuptools>`_.
2961   Issues have been migrated, though all issues and comments
2962   are attributed to bb-migration. So if you have a particular
2963   issue or issues to which you've been subscribed, you will
2964   want to "watch" the equivalent issue in Github.
2965   The Bitbucket project will be retained for the indefinite
2966   future, but Github now hosts the canonical project repository.
2967
2968 20.3.1
2969 ------
2970
2971 * Issue #519: Remove import hook when reloading the
2972   ``pkg_resources`` module.
2973 * BB Pull Request #184: Update documentation in ``pkg_resources``
2974   around new ``Requirement`` implementation.
2975
2976 20.3
2977 ----
2978
2979 * BB Pull Request #179: ``pkg_resources.Requirement`` objects are
2980   now a subclass of ``packaging.requirements.Requirement``,
2981   allowing any environment markers and url (if any) to be
2982   affiliated with the requirement
2983 * BB Pull Request #179: Restore use of RequirementParseError
2984   exception unintentionally dropped in 20.2.
2985
2986 20.2.2
2987 ------
2988
2989 * Issue #502: Correct regression in parsing of multiple
2990   version specifiers separated by commas and spaces.
2991
2992 20.2.1
2993 ------
2994
2995 * Issue #499: Restore compatibility for legacy versions
2996   by bumping to packaging 16.4.
2997
2998 20.2
2999 ----
3000
3001 * Changelog now includes release dates and links to PEPs.
3002 * BB Pull Request #173: Replace dual PEP 345 _markerlib implementation
3003   and PEP 426 implementation of environment marker support from
3004   packaging 16.1 and PEP 508. Fixes Issue #122.
3005   See also BB Pull Request #175, BB Pull Request #168, and
3006   BB Pull Request #164. Additionally:
3007
3008    - ``Requirement.parse`` no longer retains the order of extras.
3009    - ``parse_requirements`` now requires that all versions be
3010      PEP-440 compliant, as revealed in #499. Packages released
3011      with invalid local versions should be re-released using
3012      the proper local version syntax, e.g. ``mypkg-1.0+myorg.1``.
3013
3014 20.1.1
3015 ------
3016
3017 * Update ``upload_docs`` command to also honor keyring
3018   for password resolution.
3019
3020 20.1
3021 ----
3022
3023 * Added support for using passwords from keyring in the upload
3024   command. See `the upload docs
3025   <https://setuptools.pypa.io/en/latest/setuptools.html#upload-upload-source-and-or-egg-distributions-to-pypi>`_
3026   for details.
3027
3028 20.0
3029 ----
3030
3031 * Issue #118: Once again omit the package metadata (egg-info)
3032   from the list of outputs in ``--record``. This version of setuptools
3033   can no longer be used to upgrade pip earlier than 6.0.
3034
3035 19.7
3036 ----
3037
3038 * Off-project PR: `0dcee79 <https://github.com/pypa/setuptools/commit/0dcee791dfdcfacddaaec79b29f30a347a147413>`_ and `f9bd9b9 <https://github.com/pypa/setuptools/commit/f9bd9b9f5df54ef5a0bf8d16c3a889ab8c640580>`_
3039   For FreeBSD, also `honor root certificates from ca_root_nss <https://github.com/pypa/setuptools/commit/3ae46c30225eb46e1f5aada1a19e88b79f04dc72>`_.
3040
3041 19.6.2
3042 ------
3043
3044 * Issue #491: Correct regression incurred in 19.4 where
3045   a double-namespace package installed using pip would
3046   cause a TypeError.
3047
3048 19.6.1
3049 ------
3050
3051 * Restore compatibility for PyPy 3 compatibility lost in
3052   19.4.1 addressing Issue #487.
3053 * ``setuptools.launch`` shim now loads scripts in a new
3054   namespace, avoiding getting relative imports from
3055   the setuptools package on Python 2.
3056
3057 19.6
3058 ----
3059
3060 * Added a new entry script ``setuptools.launch``,
3061   implementing the shim found in
3062   ``pip.util.setuptools_build``. Use this command to launch
3063   distutils-only packages under setuptools in the same way that
3064   pip does, causing the setuptools monkeypatching of distutils
3065   to be invoked prior to invoking a script. Useful for debugging
3066   or otherwise installing a distutils-only package under
3067   setuptools when pip isn't available or otherwise does not
3068   expose the desired functionality. For example::
3069
3070     $ python -m setuptools.launch setup.py develop
3071
3072 * Issue #488: Fix dual manifestation of Extension class in
3073   extension packages installed as dependencies when Cython
3074   is present.
3075
3076 19.5
3077 ----
3078
3079 * Issue #486: Correct TypeError when getfilesystemencoding
3080   returns None.
3081 * Issue #139: Clarified the license as MIT.
3082 * BB Pull Request #169: Removed special handling of command
3083   spec in scripts for Jython.
3084
3085 19.4.1
3086 ------
3087
3088 * Issue #487: Use direct invocation of ``importlib.machinery``
3089   in ``pkg_resources`` to avoid missing detection on relevant
3090   platforms.
3091
3092 19.4
3093 ----
3094
3095 * Issue #341: Correct error in path handling of package data
3096   files in ``build_py`` command when package is empty.
3097 * Distribute #323, Issue #141, Issue #207, and
3098   BB Pull Request #167: Another implementation of
3099   ``pkg_resources.WorkingSet`` and ``pkg_resources.Distribution``
3100   that supports replacing an extant package with a new one,
3101   allowing for setup_requires dependencies to supersede installed
3102   packages for the session.
3103
3104 19.3
3105 ----
3106
3107 * Issue #229: Implement new technique for readily incorporating
3108   dependencies conditionally from vendored copies or primary
3109   locations. Adds a new dependency on six.
3110
3111 19.2
3112 ----
3113
3114 * BB Pull Request #163: Add get_command_list method to Distribution.
3115 * BB Pull Request #162: Add missing whitespace to multiline string
3116   literals.
3117
3118 19.1.1
3119 ------
3120
3121 * Issue #476: Cast version to string (using default encoding)
3122   to avoid creating Unicode types on Python 2 clients.
3123 * Issue #477: In Powershell downloader, use explicit rendering
3124   of strings, rather than rely on ``repr``, which can be
3125   incorrect (especially on Python 2).
3126
3127 19.1
3128 ----
3129
3130 * Issue #215: The bootstrap script ``ez_setup.py`` now
3131   automatically detects
3132   the latest version of setuptools (using PyPI JSON API) rather
3133   than hard-coding a particular value.
3134 * Issue #475: Fix incorrect usage in _translate_metadata2.
3135
3136 19.0
3137 ----
3138
3139 * Issue #442: Use RawConfigParser for parsing .pypirc file.
3140   Interpolated values are no longer honored in .pypirc files.
3141
3142 18.8.1
3143 ------
3144
3145 * Issue #440: Prevent infinite recursion when a SandboxViolation
3146   or other UnpickleableException occurs in a sandbox context
3147   with setuptools hidden. Fixes regression introduced in Setuptools
3148   12.0.
3149
3150 18.8
3151 ----
3152
3153 * Deprecated ``egg_info.get_pkg_info_revision``.
3154 * Issue #471: Don't rely on repr for an HTML attribute value in
3155   package_index.
3156 * Issue #419: Avoid errors in FileMetadata when the metadata directory
3157   is broken.
3158 * Issue #472: Remove deprecated use of 'U' in mode parameter
3159   when opening files.
3160
3161 18.7.1
3162 ------
3163
3164 * Issue #469: Refactored logic for Issue #419 fix to re-use metadata
3165   loading from Provider.
3166
3167 18.7
3168 ----
3169
3170 * Update dependency on certify.
3171 * BB Pull Request #160: Improve detection of gui script in
3172   ``easy_install._adjust_header``.
3173 * Made ``test.test_args`` a non-data property; alternate fix
3174   for the issue reported in BB Pull Request #155.
3175 * Issue #453: In ``ez_setup`` bootstrap module, unload all
3176   ``pkg_resources`` modules following download.
3177 * BB Pull Request #158: Honor PEP-488 when excluding
3178   files for namespace packages.
3179 * Issue #419 and BB Pull Request #144: Add experimental support for
3180   reading the version info from distutils-installed metadata rather
3181   than using the version in the filename.
3182
3183 18.6.1
3184 ------
3185
3186 * Issue #464: Correct regression in invocation of superclass on old-style
3187   class on Python 2.
3188
3189 18.6
3190 ----
3191
3192 * Issue #439: When installing entry_point scripts under development,
3193   omit the version number of the package, allowing any version of the
3194   package to be used.
3195
3196 18.5
3197 ----
3198
3199 * In preparation for dropping support for Python 3.2, a warning is
3200   now logged when pkg_resources is imported on Python 3.2 or earlier
3201   Python 3 versions.
3202 * `Add support for python_platform_implementation environment marker
3203   <https://github.com/pypa/setuptools/commit/94416707fd59a65f4a8f7f70541d6b3fc018b626>`_.
3204 * `Fix dictionary mutation during iteration
3205   <https://github.com/pypa/setuptools/commit/57ebfa41e0f96b97e599ecd931b7ae8a143e096e>`_.
3206
3207 18.4
3208 ----
3209
3210 * Issue #446: Test command now always invokes unittest, even
3211   if no test suite is supplied.
3212
3213 18.3.2
3214 ------
3215
3216 * Correct another regression in setuptools.findall
3217   where the fix for Python #12885 was lost.
3218
3219 18.3.1
3220 ------
3221
3222 * Issue #425: Correct regression in setuptools.findall.
3223
3224 18.3
3225 ----
3226
3227 * BB Pull Request #135: Setuptools now allows disabling of
3228   the manipulation of the sys.path
3229   during the processing of the easy-install.pth file. To do so, set
3230   the environment variable ``SETUPTOOLS_SYS_PATH_TECHNIQUE`` to
3231   anything but "rewrite" (consider "raw"). During any install operation
3232   with manipulation disabled, setuptools packages will be appended to
3233   sys.path naturally.
3234
3235   Future versions may change the default behavior to disable
3236   manipulation. If so, the default behavior can be retained by setting
3237   the variable to "rewrite".
3238
3239 * Issue #257: ``easy_install --version`` now shows more detail
3240   about the installation location and Python version.
3241
3242 * Refactor setuptools.findall in preparation for re-submission
3243   back to distutils.
3244
3245 18.2
3246 ----
3247
3248 * Issue #412: More efficient directory search in ``find_packages``.
3249
3250 18.1
3251 ----
3252
3253 * Upgrade to vendored packaging 15.3.
3254
3255 18.0.1
3256 ------
3257
3258 * Issue #401: Fix failure in test suite.
3259
3260 18.0
3261 ----
3262
3263 * Dropped support for builds with Pyrex. Only Cython is supported.
3264 * Issue #288: Detect Cython later in the build process, after
3265   ``setup_requires`` dependencies are resolved.
3266   Projects backed by Cython can now be readily built
3267   with a ``setup_requires`` dependency. For example::
3268
3269     ext = setuptools.Extension('mylib', ['src/CythonStuff.pyx', 'src/CStuff.c'])
3270     setuptools.setup(
3271         ...
3272         ext_modules=[ext],
3273         setup_requires=['cython'],
3274     )
3275
3276   For compatibility with older versions of setuptools, packagers should
3277   still include ``src/CythonMod.c`` in the source distributions or
3278   require that Cython be present before building source distributions.
3279   However, for systems with this build of setuptools, Cython will be
3280   downloaded on demand.
3281 * Issue #396: Fixed test failure on OS X.
3282 * BB Pull Request #136: Remove excessive quoting from shebang headers
3283   for Jython.
3284
3285 17.1.1
3286 ------
3287
3288 * Backed out unintended changes to pkg_resources, restoring removal of
3289   deprecated imp module (`ref
3290   <https://bitbucket.org/pypa/setuptools/commits/f572ec9563d647fa8d4ffc534f2af8070ea07a8b#comment-1881283>`_).
3291
3292 17.1
3293 ----
3294
3295 * Issue #380: Add support for range operators on environment
3296   marker evaluation.
3297
3298 17.0
3299 ----
3300
3301 * Issue #378: Do not use internal importlib._bootstrap module.
3302 * Issue #390: Disallow console scripts with path separators in
3303   the name. Removes unintended functionality and brings behavior
3304   into parity with pip.
3305
3306 16.0
3307 ----
3308
3309 * BB Pull Request #130: Better error messages for errors in
3310   parsed requirements.
3311 * BB Pull Request #133: Removed ``setuptools.tests`` from the
3312   installed packages.
3313 * BB Pull Request #129: Address deprecation warning due to usage
3314   of imp module.
3315
3316 15.2
3317 ----
3318
3319 * Issue #373: Provisionally expose
3320   ``pkg_resources._initialize_master_working_set``, allowing for
3321   imperative re-initialization of the master working set.
3322
3323 15.1
3324 ----
3325
3326 * Updated to Packaging 15.1 to address Packaging #28.
3327 * Fix ``setuptools.sandbox._execfile()`` with Python 3.1.
3328
3329 15.0
3330 ----
3331
3332 * BB Pull Request #126: DistributionNotFound message now lists the package or
3333   packages that required it. E.g.::
3334
3335       pkg_resources.DistributionNotFound: The 'colorama>=0.3.1' distribution was not found and is required by smlib.log.
3336
3337   Note that zc.buildout once dependended on the string rendering of this
3338   message to determine the package that was not found. This expectation
3339   has since been changed, but older versions of buildout may experience
3340   problems. See Buildout #242 for details.
3341
3342 14.3.1
3343 ------
3344
3345 * Issue #307: Removed PEP-440 warning during parsing of versions
3346   in ``pkg_resources.Distribution``.
3347 * Issue #364: Replace deprecated usage with recommended usage of
3348   ``EntryPoint.load``.
3349
3350 14.3
3351 ----
3352
3353 * Issue #254: When creating temporary egg cache on Unix, use mode 755
3354   for creating the directory to avoid the subsequent warning if
3355   the directory is group writable.
3356
3357 14.2
3358 ----
3359
3360 * Issue #137: Update ``Distribution.hashcmp`` so that Distributions with
3361   None for pyversion or platform can be compared against Distributions
3362   defining those attributes.
3363
3364 14.1.1
3365 ------
3366
3367 * Issue #360: Removed undesirable behavior from test runs, preventing
3368   write tests and installation to system site packages.
3369
3370 14.1
3371 ----
3372
3373 * BB Pull Request #125: Add ``__ne__`` to Requirement class.
3374 * Various refactoring of easy_install.
3375
3376 14.0
3377 ----
3378
3379 * Bootstrap script now accepts ``--to-dir`` to customize save directory or
3380   allow for re-use of existing repository of setuptools versions. See
3381   BB Pull Request #112 for background.
3382 * Issue #285: ``easy_install`` no longer will default to installing
3383   packages to the "user site packages" directory if it is itself installed
3384   there. Instead, the user must pass ``--user`` in all cases to install
3385   packages to the user site packages.
3386   This behavior now matches that of "pip install". To configure
3387   an environment to always install to the user site packages, consider
3388   using the "install-dir" and "scripts-dir" parameters to easy_install
3389   through an appropriate distutils config file.
3390
3391 13.0.2
3392 ------
3393
3394 * Issue #359: Include pytest.ini in the sdist so invocation of py.test on the
3395   sdist honors the pytest configuration.
3396
3397 13.0.1
3398 ------
3399
3400 Re-release of 13.0. Intermittent connectivity issues caused the release
3401 process to fail and PyPI uploads no longer accept files for 13.0.
3402
3403 13.0
3404 ----
3405
3406 * Issue #356: Back out BB Pull Request #119 as it requires Setuptools 10 or later
3407   as the source during an upgrade.
3408 * Removed build_py class from setup.py. According to 892f439d216e, this
3409   functionality was added to support upgrades from old Distribute versions,
3410   0.6.5 and 0.6.6.
3411
3412 12.4
3413 ----
3414
3415 * BB Pull Request #119: Restore writing of ``setup_requires`` to metadata
3416   (previously added in 8.4 and removed in 9.0).
3417
3418 12.3
3419 ----
3420
3421 * Documentation is now linked using the rst.linker package.
3422 * Fix ``setuptools.command.easy_install.extract_wininst_cfg()``
3423   with Python 2.6 and 2.7.
3424 * Issue #354. Added documentation on building setuptools
3425   documentation.
3426
3427 12.2
3428 ----
3429
3430 * Issue #345: Unload all modules under pkg_resources during
3431   ``ez_setup.use_setuptools()``.
3432 * Issue #336: Removed deprecation from ``ez_setup.use_setuptools``,
3433   as it is clearly still used by buildout's bootstrap. ``ez_setup``
3434   remains deprecated for use by individual packages.
3435 * Simplified implementation of ``ez_setup.use_setuptools``.
3436
3437 12.1
3438 ----
3439
3440 * BB Pull Request #118: Soften warning for non-normalized versions in
3441   Distribution.
3442
3443 12.0.5
3444 ------
3445
3446 * Issue #339: Correct Attribute reference in ``cant_write_to_target``.
3447 * Issue #336: Deprecated ``ez_setup.use_setuptools``.
3448
3449 12.0.4
3450 ------
3451
3452 * Issue #335: Fix script header generation on Windows.
3453
3454 12.0.3
3455 ------
3456
3457 * Fixed incorrect class attribute in ``install_scripts``. Tests would be nice.
3458
3459 12.0.2
3460 ------
3461
3462 * Issue #331: Fixed ``install_scripts`` command on Windows systems corrupting
3463   the header.
3464
3465 12.0.1
3466 ------
3467
3468 * Restore ``setuptools.command.easy_install.sys_executable`` for pbr
3469   compatibility. For the future, tools should construct a CommandSpec
3470   explicitly.
3471
3472 12.0
3473 ----
3474
3475 * Issue #188: Setuptools now support multiple entities in the value for
3476   ``build.executable``, such that an executable of "/usr/bin/env my-python" may
3477   be specified. This means that systems with a specified executable whose name
3478   has spaces in the path must be updated to escape or quote that value.
3479 * Deprecated ``easy_install.ScriptWriter.get_writer``, replaced by ``.best()``
3480   with slightly different semantics (no force_windows flag).
3481
3482 11.3.1
3483 ------
3484
3485 * Issue #327: Formalize and restore support for any printable character in an
3486   entry point name.
3487
3488 11.3
3489 ----
3490
3491 * Expose ``EntryPoint.resolve`` in place of EntryPoint._load, implementing the
3492   simple, non-requiring load. Deprecated all uses of ``EntryPoint._load``
3493   except for calling with no parameters, which is just a shortcut for
3494   ``ep.require(); ep.resolve();``.
3495
3496   Apps currently invoking ``ep.load(require=False)`` should instead do the
3497   following if wanting to avoid the deprecating warning::
3498
3499     getattr(ep, "resolve", lambda: ep.load(require=False))()
3500
3501 11.2
3502 ----
3503
3504 * Pip #2326: Report deprecation warning at stacklevel 2 for easier diagnosis.
3505
3506 11.1
3507 ----
3508
3509 * Issue #281: Since Setuptools 6.1 (Issue #268), a ValueError would be raised
3510   in certain cases where VersionConflict was raised with two arguments, which
3511   occurred in ``pkg_resources.WorkingSet.find``. This release adds support
3512   for indicating the dependent packages while maintaining support for
3513   a VersionConflict when no dependent package context is known. New unit tests
3514   now capture the expected interface.
3515
3516 11.0
3517 ----
3518
3519 * Interop #3: Upgrade to Packaging 15.0; updates to PEP 440 so that >1.7 does
3520   not exclude 1.7.1 but does exclude 1.7.0 and 1.7.0.post1.
3521
3522 10.2.1
3523 ------
3524
3525 * Issue #323: Fix regression in entry point name parsing.
3526
3527 10.2
3528 ----
3529
3530 * Deprecated use of EntryPoint.load(require=False). Passing a boolean to a
3531   function to select behavior is an anti-pattern. Instead use
3532   ``Entrypoint._load()``.
3533 * Substantial refactoring of all unit tests. Tests are now much leaner and
3534   re-use a lot of fixtures and contexts for better clarity of purpose.
3535
3536 10.1
3537 ----
3538
3539 * Issue #320: Added a compatibility implementation of
3540   ``sdist._default_revctrl``
3541   so that systems relying on that interface do not fail (namely, Ubuntu 12.04
3542   and similar Debian releases).
3543
3544 10.0.1
3545 ------
3546
3547 * Issue #319: Fixed issue installing pure distutils packages.
3548
3549 10.0
3550 ----
3551
3552 * Issue #313: Removed built-in support for subversion. Projects wishing to
3553   retain support for subversion will need to use a third party library. The
3554   extant implementation is being ported to `setuptools_svn
3555   <https://pypi.org/project/setuptools_svn/>`_.
3556 * Issue #315: Updated setuptools to hide its own loaded modules during
3557   installation of another package. This change will enable setuptools to
3558   upgrade (or downgrade) itself even when its own metadata and implementation
3559   change.
3560
3561 9.1
3562 ---
3563
3564 * Prefer vendored packaging library `as recommended
3565   <https://github.com/pypa/setuptools/commit/170657b68f4b92e7e1bf82f5e19a831f5744af67>`_.
3566
3567 9.0.1
3568 -----
3569
3570 * Issue #312: Restored presence of pkg_resources API tests (doctest) to sdist.
3571
3572 9.0
3573 ---
3574
3575 * Issue #314: Disabled support for ``setup_requires`` metadata to avoid issue
3576   where Setuptools was unable to upgrade over earlier versions.
3577
3578 8.4
3579 ---
3580
3581 * BB Pull Request #106: Now write ``setup_requires`` metadata.
3582
3583 8.3
3584 ---
3585
3586 * Issue #311: Decoupled pkg_resources from setuptools once again.
3587   ``pkg_resources`` is now a package instead of a module.
3588
3589 8.2.1
3590 -----
3591
3592 * Issue #306: Suppress warnings about Version format except in select scenarios
3593   (such as installation).
3594
3595 8.2
3596 ---
3597
3598 * BB Pull Request #85: Search egg-base when adding egg-info to manifest.
3599
3600 8.1
3601 ---
3602
3603 * Upgrade ``packaging`` to 14.5, giving preference to "rc" as designator for
3604   release candidates over "c".
3605 * PEP-440 warnings are now raised as their own class,
3606   ``pkg_resources.PEP440Warning``, instead of RuntimeWarning.
3607 * Disabled warnings on empty versions.
3608
3609 8.0.4
3610 -----
3611
3612 * Upgrade ``packaging`` to 14.4, fixing an error where there is a
3613   different result for if 2.0.5 is contained within >2.0dev and >2.0.dev even
3614   though normalization rules should have made them equal.
3615 * Issue #296: Add warning when a version is parsed as legacy. This warning will
3616   make it easier for developers to recognize deprecated version numbers.
3617
3618 8.0.3
3619 -----
3620
3621 * Issue #296: Restored support for ``__hash__`` on parse_version results.
3622
3623 8.0.2
3624 -----
3625
3626 * Issue #296: Restored support for ``__getitem__`` and sort operations on
3627   parse_version result.
3628
3629 8.0.1
3630 -----
3631
3632 * Issue #296: Restore support for iteration over parse_version result, but
3633   deprecated that usage with a warning. Fixes failure with buildout.
3634
3635 8.0
3636 ---
3637
3638 * Implement PEP 440 within
3639   pkg_resources and setuptools. This change
3640   deprecates some version numbers such that they will no longer be installable
3641   without using the ``===`` escape hatch. See `the changes to test_resources
3642   <https://bitbucket.org/pypa/setuptools/commits/dcd552da643c4448056de84c73d56da6d70769d5#chg-setuptools/tests/test_resources.py>`_
3643   for specific examples of version numbers and specifiers that are no longer
3644   supported. Setuptools now "vendors" the `packaging
3645   <https://github.com/pypa/packaging>`_ library.
3646
3647 7.0
3648 ---
3649
3650 * Issue #80, Issue #209: Eggs that are downloaded for ``setup_requires``,
3651   ``test_requires``, etc. are now placed in a ``./.eggs`` directory instead of
3652   directly in the current directory. This choice of location means the files
3653   can be readily managed (removed, ignored). Additionally,
3654   later phases or invocations of setuptools will not detect the package as
3655   already installed and ignore it for permanent install (See #209).
3656
3657   This change is indicated as backward-incompatible as installations that
3658   depend on the installation in the current directory will need to account for
3659   the new location. Systems that ignore ``*.egg`` will probably need to be
3660   adapted to ignore ``.eggs``. The files will need to be manually moved or
3661   will be retrieved again. Most use cases will require no attention.
3662
3663 6.1
3664 ---
3665
3666 * Issue #268: When resolving package versions, a VersionConflict now reports
3667   which package previously required the conflicting version.
3668
3669 6.0.2
3670 -----
3671
3672 * Issue #262: Fixed regression in pip install due to egg-info directories
3673   being omitted. Re-opens Issue #118.
3674
3675 6.0.1
3676 -----
3677
3678 * Issue #259: Fixed regression with namespace package handling on ``single
3679   version, externally managed`` installs.
3680
3681 6.0
3682 ---
3683
3684 * Issue #100: When building a distribution, Setuptools will no longer match
3685   default files using platform-dependent case sensitivity, but rather will
3686   only match the files if their case matches exactly. As a result, on Windows
3687   and other case-insensitive file systems, files with names such as
3688   'readme.txt' or 'README.TXT' will be omitted from the distribution and a
3689   warning will be issued indicating that 'README.txt' was not found. Other
3690   filenames affected are:
3691
3692     - README.rst
3693     - README
3694     - setup.cfg
3695     - setup.py (or the script name)
3696     - test/test*.py
3697
3698   Any users producing distributions with filenames that match those above
3699   case-insensitively, but not case-sensitively, should rename those files in
3700   their repository for better portability.
3701 * BB Pull Request #72: When using ``single_version_externally_managed``, the
3702   exclusion list now includes Python 3.2 ``__pycache__`` entries.
3703 * BB Pull Request #76 and BB Pull Request #78: lines in top_level.txt are now
3704   ordered deterministically.
3705 * Issue #118: The egg-info directory is now no longer included in the list
3706   of outputs.
3707 * Issue #258: Setuptools now patches distutils msvc9compiler to
3708   recognize the specially-packaged compiler package for easy extension module
3709   support on Python 2.6, 2.7, and 3.2.
3710
3711 5.8
3712 ---
3713
3714 * Issue #237: ``pkg_resources`` now uses explicit detection of Python 2 vs.
3715   Python 3, supporting environments where builtins have been patched to make
3716   Python 3 look more like Python 2.
3717
3718 5.7
3719 ---
3720
3721 * Issue #240: Based on real-world performance measures against 5.4, zip
3722   manifests are now cached in all circumstances. The
3723   ``PKG_RESOURCES_CACHE_ZIP_MANIFESTS`` environment variable is no longer
3724   relevant. The observed "memory increase" referenced in the 5.4 release
3725   notes and detailed in Issue #154 was likely not an increase over the status
3726   quo, but rather only an increase over not storing the zip info at all.
3727
3728 5.6
3729 ---
3730
3731 * Issue #242: Use absolute imports in svn_utils to avoid issues if the
3732   installing package adds an xml module to the path.
3733
3734 5.5.1
3735 -----
3736
3737 * Issue #239: Fix typo in 5.5 such that fix did not take.
3738
3739 5.5
3740 ---
3741
3742 * Issue #239: Setuptools now includes the setup_requires directive on
3743   Distribution objects and validates the syntax just like install_requires
3744   and tests_require directives.
3745
3746 5.4.2
3747 -----
3748
3749 * Issue #236: Corrected regression in execfile implementation for Python 2.6.
3750
3751 5.4.1
3752 -----
3753
3754 * Python #7776: (ssl_support) Correct usage of host for validation when
3755   tunneling for HTTPS.
3756
3757 5.4
3758 ---
3759
3760 * Issue #154: ``pkg_resources`` will now cache the zip manifests rather than
3761   re-processing the same file from disk multiple times, but only if the
3762   environment variable ``PKG_RESOURCES_CACHE_ZIP_MANIFESTS`` is set. Clients
3763   that package many modules in the same zip file will see some improvement
3764   in startup time by enabling this feature. This feature is not enabled by
3765   default because it causes a substantial increase in memory usage.
3766
3767 5.3
3768 ---
3769
3770 * Issue #185: Make svn tagging work on the new style SVN metadata.
3771   Thanks cazabon!
3772 * Prune revision control directories (e.g .svn) from base path
3773   as well as sub-directories.
3774
3775 5.2
3776 ---
3777
3778 * Added a `Developer Guide
3779   <https://setuptools.pypa.io/en/latest/developer-guide.html>`_ to the official
3780   documentation.
3781 * Some code refactoring and cleanup was done with no intended behavioral
3782   changes.
3783 * During install_egg_info, the generated lines for namespace package .pth
3784   files are now processed even during a dry run.
3785
3786 5.1
3787 ---
3788
3789 * Issue #202: Implemented more robust cache invalidation for the ZipImporter,
3790   building on the work in Issue #168. Special thanks to Jurko Gospodnetic and
3791   PJE.
3792
3793 5.0.2
3794 -----
3795
3796 * Issue #220: Restored script templates.
3797
3798 5.0.1
3799 -----
3800
3801 * Renamed script templates to end with .tmpl now that they no longer need
3802   to be processed by 2to3. Fixes spurious syntax errors during build/install.
3803
3804 5.0
3805 ---
3806
3807 * Issue #218: Re-release of 3.8.1 to signal that it supersedes 4.x.
3808 * Incidentally, script templates were updated not to include the triple-quote
3809   escaping.
3810
3811 3.7.1 and 3.8.1 and 4.0.1
3812 -------------------------
3813
3814 * Issue #213: Use legacy StringIO behavior for compatibility under pbr.
3815 * Issue #218: Setuptools 3.8.1 superseded 4.0.1, and 4.x was removed
3816   from the available versions to install.
3817
3818 4.0
3819 ---
3820
3821 * Issue #210: ``setup.py develop`` now copies scripts in binary mode rather
3822   than text mode, matching the behavior of the ``install`` command.
3823
3824 3.8
3825 ---
3826
3827 * Extend Issue #197 workaround to include all Python 3 versions prior to
3828   3.2.2.
3829
3830 3.7
3831 ---
3832
3833 * Issue #193: Improved handling of Unicode filenames when building manifests.
3834
3835 3.6
3836 ---
3837
3838 * Issue #203: Honor proxy settings for Powershell downloader in the bootstrap
3839   routine.
3840
3841 3.5.2
3842 -----
3843
3844 * Issue #168: More robust handling of replaced zip files and stale caches.
3845   Fixes ZipImportError complaining about a 'bad local header'.
3846
3847 3.5.1
3848 -----
3849
3850 * Issue #199: Restored ``install._install`` for compatibility with earlier
3851   NumPy versions.
3852
3853 3.5
3854 ---
3855
3856 * Issue #195: Follow symbolic links in find_packages (restoring behavior
3857   broken in 3.4).
3858 * Issue #197: On Python 3.1, PKG-INFO is now saved in a UTF-8 encoding instead
3859   of ``sys.getpreferredencoding`` to match the behavior on Python 2.6-3.4.
3860 * Issue #192: Preferred bootstrap location is now
3861   https://bootstrap.pypa.io/ez_setup.py (mirrored from former location).
3862
3863 3.4.4
3864 -----
3865
3866 * Issue #184: Correct failure where find_package over-matched packages
3867   when directory traversal isn't short-circuited.
3868
3869 3.4.3
3870 -----
3871
3872 * Issue #183: Really fix test command with Python 3.1.
3873
3874 3.4.2
3875 -----
3876
3877 * Issue #183: Fix additional regression in test command on Python 3.1.
3878
3879 3.4.1
3880 -----
3881
3882 * Issue #180: Fix regression in test command not caught by py.test-run tests.
3883
3884 3.4
3885 ---
3886
3887 * Issue #176: Add parameter to the test command to support a custom test
3888   runner: --test-runner or -r.
3889 * Issue #177: Now assume most common invocation to install command on
3890   platforms/environments without stack support (issuing a warning). Setuptools
3891   now installs naturally on IronPython. Behavior on CPython should be
3892   unchanged.
3893
3894 3.3
3895 ---
3896
3897 * Add ``include`` parameter to ``setuptools.find_packages()``.
3898
3899 3.2
3900 ---
3901
3902 * BB Pull Request #39: Add support for C++ targets from Cython ``.pyx`` files.
3903 * Issue #162: Update dependency on certifi to 1.0.1.
3904 * Issue #164: Update dependency on wincertstore to 0.2.
3905
3906 3.1
3907 ---
3908
3909 * Issue #161: Restore Features functionality to allow backward compatibility
3910   (for Features) until the uses of that functionality is sufficiently removed.
3911
3912 3.0.2
3913 -----
3914
3915 * Correct typo in previous bugfix.
3916
3917 3.0.1
3918 -----
3919
3920 * Issue #157: Restore support for Python 2.6 in bootstrap script where
3921   ``zipfile.ZipFile`` does not yet have support for context managers.
3922
3923 3.0
3924 ---
3925
3926 * Issue #125: Prevent Subversion support from creating a ~/.subversion
3927   directory just for checking the presence of a Subversion repository.
3928 * Issue #12: Namespace packages are now imported lazily. That is, the mere
3929   declaration of a namespace package in an egg on ``sys.path`` no longer
3930   causes it to be imported when ``pkg_resources`` is imported. Note that this
3931   change means that all of a namespace package's ``__init__.py`` files must
3932   include a ``declare_namespace()`` call in order to ensure that they will be
3933   handled properly at runtime. In 2.x it was possible to get away without
3934   including the declaration, but only at the cost of forcing namespace
3935   packages to be imported early, which 3.0 no longer does.
3936 * Issue #148: When building (bdist_egg), setuptools no longer adds
3937   ``__init__.py`` files to namespace packages. Any packages that rely on this
3938   behavior will need to create ``__init__.py`` files and include the
3939   ``declare_namespace()``.
3940 * Issue #7: Setuptools itself is now distributed as a zip archive in addition to
3941   tar archive. ez_setup.py now uses zip archive. This approach avoids the potential
3942   security vulnerabilities presented by use of tar archives in ez_setup.py.
3943   It also leverages the security features added to ZipFile.extract in Python 2.7.4.
3944 * Issue #65: Removed deprecated Features functionality.
3945 * BB Pull Request #28: Remove backport of ``_bytecode_filenames`` which is
3946   available in Python 2.6 and later, but also has better compatibility with
3947   Python 3 environments.
3948 * Issue #156: Fix spelling of __PYVENV_LAUNCHER__ variable.
3949
3950 2.2
3951 ---
3952
3953 * Issue #141: Restored fix for allowing setup_requires dependencies to
3954   override installed dependencies during setup.
3955 * Issue #128: Fixed issue where only the first dependency link was honored
3956   in a distribution where multiple dependency links were supplied.
3957
3958 2.1.2
3959 -----
3960
3961 * Issue #144: Read long_description using codecs module to avoid errors
3962   installing on systems where LANG=C.
3963
3964 2.1.1
3965 -----
3966
3967 * Issue #139: Fix regression in re_finder for CVS repos (and maybe Git repos
3968   as well).
3969
3970 2.1
3971 ---
3972
3973 * Issue #129: Suppress inspection of ``*.whl`` files when searching for files
3974   in a zip-imported file.
3975 * Issue #131: Fix RuntimeError when constructing an egg fetcher.
3976
3977 2.0.2
3978 -----
3979
3980 * Fix NameError during installation with Python implementations (e.g. Jython)
3981   not containing parser module.
3982 * Fix NameError in ``sdist:re_finder``.
3983
3984 2.0.1
3985 -----
3986
3987 * Issue #124: Fixed error in list detection in upload_docs.
3988
3989 2.0
3990 ---
3991
3992 * Issue #121: Exempt lib2to3 pickled grammars from DirectorySandbox.
3993 * Issue #41: Dropped support for Python 2.4 and Python 2.5. Clients requiring
3994   setuptools for those versions of Python should use setuptools 1.x.
3995 * Removed ``setuptools.command.easy_install.HAS_USER_SITE``. Clients
3996   expecting this boolean variable should use ``site.ENABLE_USER_SITE``
3997   instead.
3998 * Removed ``pkg_resources.ImpWrapper``. Clients that expected this class
3999   should use ``pkgutil.ImpImporter`` instead.
4000
4001 1.4.2
4002 -----
4003
4004 * Issue #116: Correct TypeError when reading a local package index on Python
4005   3.
4006
4007 1.4.1
4008 -----
4009
4010 * Issue #114: Use ``sys.getfilesystemencoding`` for decoding config in
4011   ``bdist_wininst`` distributions.
4012
4013 * Issue #105 and Issue #113: Establish a more robust technique for
4014   determining the terminal encoding::
4015
4016     1. Try ``getpreferredencoding``
4017     2. If that returns US_ASCII or None, try the encoding from
4018        ``getdefaultlocale``. If that encoding was a "fallback" because Python
4019        could not figure it out from the environment or OS, encoding remains
4020        unresolved.
4021     3. If the encoding is resolved, then make sure Python actually implements
4022        the encoding.
4023     4. On the event of an error or unknown codec, revert to fallbacks
4024        (UTF-8 on Darwin, ASCII on everything else).
4025     5. On the encoding is 'mac-roman' on Darwin, use UTF-8 as 'mac-roman' was
4026        a bug on older Python releases.
4027
4028     On a side note, it would seem that the encoding only matters for when SVN
4029     does not yet support ``--xml`` and when getting repository and svn version
4030     numbers. The ``--xml`` technique should yield UTF-8 according to some
4031     messages on the SVN mailing lists. So if the version numbers are always
4032     7-bit ASCII clean, it may be best to only support the file parsing methods
4033     for legacy SVN releases and support for SVN without the subprocess command
4034     would simple go away as support for the older SVNs does.
4035
4036 1.4
4037 ---
4038
4039 * Issue #27: ``easy_install`` will now use credentials from .pypirc if
4040   present for connecting to the package index.
4041 * BB Pull Request #21: Omit unwanted newlines in ``package_index._encode_auth``
4042   when the username/password pair length indicates wrapping.
4043
4044 1.3.2
4045 -----
4046
4047 * Issue #99: Fix filename encoding issues in SVN support.
4048
4049 1.3.1
4050 -----
4051
4052 * Remove exuberant warning in SVN support when SVN is not used.
4053
4054 1.3
4055 ---
4056
4057 * Address security vulnerability in SSL match_hostname check as reported in
4058   Python #17997.
4059 * Prefer `backports.ssl_match_hostname
4060   <https://pypi.org/project/backports.ssl_match_hostname/>`_ for backport
4061   implementation if present.
4062 * Correct NameError in ``ssl_support`` module (``socket.error``).
4063
4064 1.2
4065 ---
4066
4067 * Issue #26: Add support for SVN 1.7. Special thanks to Philip Thiem for the
4068   contribution.
4069 * Issue #93: Wheels are now distributed with every release. Note that as
4070   reported in Issue #108, as of Pip 1.4, scripts aren't installed properly
4071   from wheels. Therefore, if using Pip to install setuptools from a wheel,
4072   the ``easy_install`` command will not be available.
4073 * Setuptools "natural" launcher support, introduced in 1.0, is now officially
4074   supported.
4075
4076 1.1.7
4077 -----
4078
4079 * Fixed behavior of NameError handling in 'script template (dev).py' (script
4080   launcher for 'develop' installs).
4081 * ``ez_setup.py`` now ensures partial downloads are cleaned up following
4082   a failed download.
4083 * Distribute #363 and Issue #55: Skip an sdist test that fails on locales
4084   other than UTF-8.
4085
4086 1.1.6
4087 -----
4088
4089 * Distribute #349: ``sandbox.execfile`` now opens the target file in binary
4090   mode, thus honoring a BOM in the file when compiled.
4091
4092 1.1.5
4093 -----
4094
4095 * Issue #69: Second attempt at fix (logic was reversed).
4096
4097 1.1.4
4098 -----
4099
4100 * Issue #77: Fix error in upload command (Python 2.4).
4101
4102 1.1.3
4103 -----
4104
4105 * Fix NameError in previous patch.
4106
4107 1.1.2
4108 -----
4109
4110 * Issue #69: Correct issue where 404 errors are returned for URLs with
4111   fragments in them (such as #egg=).
4112
4113 1.1.1
4114 -----
4115
4116 * Issue #75: Add ``--insecure`` option to ez_setup.py to accommodate
4117   environments where a trusted SSL connection cannot be validated.
4118 * Issue #76: Fix AttributeError in upload command with Python 2.4.
4119
4120 1.1
4121 ---
4122
4123 * Issue #71 (Distribute #333): EasyInstall now puts less emphasis on the
4124   condition when a host is blocked via ``--allow-hosts``.
4125 * Issue #72: Restored Python 2.4 compatibility in ``ez_setup.py``.
4126
4127 1.0
4128 ---
4129
4130 * Issue #60: On Windows, Setuptools supports deferring to another launcher,
4131   such as Vinay Sajip's `pylauncher <https://bitbucket.org/pypa/pylauncher>`_
4132   (included with Python 3.3) to launch console and GUI scripts and not install
4133   its own launcher executables. This experimental functionality is currently
4134   only enabled if  the ``SETUPTOOLS_LAUNCHER`` environment variable is set to
4135   "natural". In the future, this behavior may become default, but only after
4136   it has matured and seen substantial adoption. The ``SETUPTOOLS_LAUNCHER``
4137   also accepts "executable" to force the default behavior of creating launcher
4138   executables.
4139 * Issue #63: Bootstrap script (ez_setup.py) now prefers Powershell, curl, or
4140   wget for retrieving the Setuptools tarball for improved security of the
4141   install. The script will still fall back to a simple ``urlopen`` on
4142   platforms that do not have these tools.
4143 * Issue #65: Deprecated the ``Features`` functionality.
4144 * Issue #52: In ``VerifyingHTTPSConn``, handle a tunnelled (proxied)
4145   connection.
4146
4147 Backward-Incompatible Changes
4148 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4149
4150 This release includes a couple of backward-incompatible changes, but most if
4151 not all users will find 1.0 a drop-in replacement for 0.9.
4152
4153 * Issue #50: Normalized API of environment marker support. Specifically,
4154   removed line number and filename from SyntaxErrors when returned from
4155   ``pkg_resources.invalid_marker``. Any clients depending on the specific
4156   string representation of exceptions returned by that function may need to
4157   be updated to account for this change.
4158 * Issue #50: SyntaxErrors generated by ``pkg_resources.invalid_marker`` are
4159   normalized for cross-implementation consistency.
4160 * Removed ``--ignore-conflicts-at-my-risk`` and ``--delete-conflicting``
4161   options to easy_install. These options have been deprecated since 0.6a11.
4162
4163 0.9.8
4164 -----
4165
4166 * Issue #53: Fix NameErrors in ``_vcs_split_rev_from_url``.
4167
4168 0.9.7
4169 -----
4170
4171 * Issue #49: Correct AttributeError on PyPy where a hashlib.HASH object does
4172   not have a ``.name`` attribute.
4173 * Issue #34: Documentation now refers to bootstrap script in code repository
4174   referenced by bookmark.
4175 * Add underscore-separated keys to environment markers (markerlib).
4176
4177 0.9.6
4178 -----
4179
4180 * Issue #44: Test failure on Python 2.4 when MD5 hash doesn't have a ``.name``
4181   attribute.
4182
4183 0.9.5
4184 -----
4185
4186 * Python #17980: Fix security vulnerability in SSL certificate validation.
4187
4188 0.9.4
4189 -----
4190
4191 * Issue #43: Fix issue (introduced in 0.9.1) with version resolution when
4192   upgrading over other releases of Setuptools.
4193
4194 0.9.3
4195 -----
4196
4197 * Issue #42: Fix new ``AttributeError`` introduced in last fix.
4198
4199 0.9.2
4200 -----
4201
4202 * Issue #42: Fix regression where blank checksums would trigger an
4203   ``AttributeError``.
4204
4205 0.9.1
4206 -----
4207
4208 * Distribute #386: Allow other positional and keyword arguments to os.open.
4209 * Corrected dependency on certifi mis-referenced in 0.9.
4210
4211 0.9
4212 ---
4213
4214 * ``package_index`` now validates hashes other than MD5 in download links.
4215
4216 0.8
4217 ---
4218
4219 * Code base now runs on Python 2.4 - Python 3.3 without Python 2to3
4220   conversion.
4221
4222 0.7.8
4223 -----
4224
4225 * Distribute #375: Yet another fix for yet another regression.
4226
4227 0.7.7
4228 -----
4229
4230 * Distribute #375: Repair AttributeError created in last release (redo).
4231 * Issue #30: Added test for get_cache_path.
4232
4233 0.7.6
4234 -----
4235
4236 * Distribute #375: Repair AttributeError created in last release.
4237
4238 0.7.5
4239 -----
4240
4241 * Issue #21: Restore Python 2.4 compatibility in ``test_easy_install``.
4242 * Distribute #375: Merged additional warning from Distribute 0.6.46.
4243 * Now honor the environment variable
4244   ``SETUPTOOLS_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT`` in addition to the now
4245   deprecated ``DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT``.
4246
4247 0.7.4
4248 -----
4249
4250 * Issue #20: Fix comparison of parsed SVN version on Python 3.
4251
4252 0.7.3
4253 -----
4254
4255 * Issue #1: Disable installation of Windows-specific files on non-Windows systems.
4256 * Use new sysconfig module with Python 2.7 or >=3.2.
4257
4258 0.7.2
4259 -----
4260
4261 * Issue #14: Use markerlib when the ``parser`` module is not available.
4262 * Issue #10: ``ez_setup.py`` now uses HTTPS to download setuptools from PyPI.
4263
4264 0.7.1
4265 -----
4266
4267 * Fix NameError (Issue #3) again - broken in bad merge.
4268
4269 0.7
4270 ---
4271
4272 * Merged Setuptools and Distribute. See docs/merge.txt for details.
4273
4274 Added several features that were slated for setuptools 0.6c12:
4275
4276 * Index URL now defaults to HTTPS.
4277 * Added experimental environment marker support. Now clients may designate a
4278   PEP-426 environment marker for "extra" dependencies. Setuptools uses this
4279   feature in ``setup.py`` for optional SSL and certificate validation support
4280   on older platforms. Based on Distutils-SIG discussions, the syntax is
4281   somewhat tentative. There should probably be a PEP with a firmer spec before
4282   the feature should be considered suitable for use.
4283 * Added support for SSL certificate validation when installing packages from
4284   an HTTPS service.
4285
4286 0.7b4
4287 -----
4288
4289 * Issue #3: Fixed NameError in SSL support.
4290
4291 0.6.49
4292 ------
4293
4294 * Move warning check in ``get_cache_path`` to follow the directory creation
4295   to avoid errors when the cache path does not yet exist. Fixes the error
4296   reported in Distribute #375.
4297
4298 0.6.48
4299 ------
4300
4301 * Correct AttributeError in ``ResourceManager.get_cache_path`` introduced in
4302   0.6.46 (redo).
4303
4304 0.6.47
4305 ------
4306
4307 * Correct AttributeError in ``ResourceManager.get_cache_path`` introduced in
4308   0.6.46.
4309
4310 0.6.46
4311 ------
4312
4313 * Distribute #375: Issue a warning if the PYTHON_EGG_CACHE or otherwise
4314   customized egg cache location specifies a directory that's group- or
4315   world-writable.
4316
4317 0.6.45
4318 ------
4319
4320 * Distribute #379: ``distribute_setup.py`` now traps VersionConflict as well,
4321   restoring ability to upgrade from an older setuptools version.
4322
4323 0.6.44
4324 ------
4325
4326 * ``distribute_setup.py`` has been updated to allow Setuptools 0.7 to
4327   satisfy use_setuptools.
4328
4329 0.6.43
4330 ------
4331
4332 * Distribute #378: Restore support for Python 2.4 Syntax (regression in 0.6.42).
4333
4334 0.6.42
4335 ------
4336
4337 * External links finder no longer yields duplicate links.
4338 * Distribute #337: Moved site.py to setuptools/site-patch.py (graft of very old
4339   patch from setuptools trunk which inspired PR #31).
4340
4341 0.6.41
4342 ------
4343
4344 * Distribute #27: Use public api for loading resources from zip files rather than
4345   the private method ``_zip_directory_cache``.
4346 * Added a new function ``easy_install.get_win_launcher`` which may be used by
4347   third-party libraries such as buildout to get a suitable script launcher.
4348
4349 0.6.40
4350 ------
4351
4352 * Distribute #376: brought back cli.exe and gui.exe that were deleted in the
4353   previous release.
4354
4355 0.6.39
4356 ------
4357
4358 * Add support for console launchers on ARM platforms.
4359 * Fix possible issue in GUI launchers where the subsystem was not supplied to
4360   the linker.
4361 * Launcher build script now refactored for robustness.
4362 * Distribute #375: Resources extracted from a zip egg to the file system now also
4363   check the contents of the file against the zip contents during each
4364   invocation of get_resource_filename.
4365
4366 0.6.38
4367 ------
4368
4369 * Distribute #371: The launcher manifest file is now installed properly.
4370
4371 0.6.37
4372 ------
4373
4374 * Distribute #143: Launcher scripts, including easy_install itself, are now
4375   accompanied by a manifest on 32-bit Windows environments to avoid the
4376   Installer Detection Technology and thus undesirable UAC elevation described
4377   in `this Microsoft article
4378   <http://technet.microsoft.com/en-us/library/cc709628%28WS.10%29.aspx>`_.
4379
4380 0.6.36
4381 ------
4382
4383 * BB Pull Request #35: In Buildout #64, it was reported that
4384   under Python 3, installation of distutils scripts could attempt to copy
4385   the ``__pycache__`` directory as a file, causing an error, apparently only
4386   under Windows. Easy_install now skips all directories when processing
4387   metadata scripts.
4388
4389 0.6.35
4390 ------
4391
4392
4393 Note this release is backward-incompatible with distribute 0.6.23-0.6.34 in
4394 how it parses version numbers.
4395
4396 * Distribute #278: Restored compatibility with distribute 0.6.22 and setuptools
4397   0.6. Updated the documentation to match more closely with the version
4398   parsing as intended in setuptools 0.6.
4399
4400 0.6.34
4401 ------
4402
4403 * Distribute #341: 0.6.33 fails to build under Python 2.4.
4404
4405 0.6.33
4406 ------
4407
4408 * Fix 2 errors with Jython 2.5.
4409 * Fix 1 failure with Jython 2.5 and 2.7.
4410 * Disable workaround for Jython scripts on Linux systems.
4411 * Distribute #336: ``setup.py`` no longer masks failure exit code when tests fail.
4412 * Fix issue in pkg_resources where try/except around a platform-dependent
4413   import would trigger hook load failures on Mercurial. See pull request 32
4414   for details.
4415 * Distribute #341: Fix a ResourceWarning.
4416
4417 0.6.32
4418 ------
4419
4420 * Fix test suite with Python 2.6.
4421 * Fix some DeprecationWarnings and ResourceWarnings.
4422 * Distribute #335: Backed out ``setup_requires`` superseding installed requirements
4423   until regression can be addressed.
4424
4425 0.6.31
4426 ------
4427
4428 * Distribute #303: Make sure the manifest only ever contains UTF-8 in Python 3.
4429 * Distribute #329: Properly close files created by tests for compatibility with
4430   Jython.
4431 * Work around Jython #1980 and Jython #1981.
4432 * Distribute #334: Provide workaround for packages that reference ``sys.__stdout__``
4433   such as numpy does. This change should address
4434   `virtualenv #359 <https://github.com/pypa/virtualenv/issues/359>`_ as long
4435   as the system encoding is UTF-8 or the IO encoding is specified in the
4436   environment, i.e.::
4437
4438      PYTHONIOENCODING=utf8 pip install numpy
4439
4440 * Fix for encoding issue when installing from Windows executable on Python 3.
4441 * Distribute #323: Allow ``setup_requires`` requirements to supersede installed
4442   requirements. Added some new keyword arguments to existing pkg_resources
4443   methods. Also had to updated how __path__ is handled for namespace packages
4444   to ensure that when a new egg distribution containing a namespace package is
4445   placed on sys.path, the entries in __path__ are found in the same order they
4446   would have been in had that egg been on the path when pkg_resources was
4447   first imported.
4448
4449 0.6.30
4450 ------
4451
4452 * Distribute #328: Clean up temporary directories in distribute_setup.py.
4453 * Fix fatal bug in distribute_setup.py.
4454
4455 0.6.29
4456 ------
4457
4458 * BB Pull Request #14: Honor file permissions in zip files.
4459 * Distribute #327: Merged pull request #24 to fix a dependency problem with pip.
4460 * Merged pull request #23 to fix https://github.com/pypa/virtualenv/issues/301.
4461 * If Sphinx is installed, the ``upload_docs`` command now runs ``build_sphinx``
4462   to produce uploadable documentation.
4463 * Distribute #326: ``upload_docs`` provided mangled auth credentials under Python 3.
4464 * Distribute #320: Fix check for "creatable" in distribute_setup.py.
4465 * Distribute #305: Remove a warning that was triggered during normal operations.
4466 * Distribute #311: Print metadata in UTF-8 independent of platform.
4467 * Distribute #303: Read manifest file with UTF-8 encoding under Python 3.
4468 * Distribute #301: Allow to run tests of namespace packages when using 2to3.
4469 * Distribute #304: Prevent import loop in site.py under Python 3.3.
4470 * Distribute #283: Re-enable scanning of ``*.pyc`` / ``*.pyo`` files on Python 3.3.
4471 * Distribute #299: The develop command didn't work on Python 3, when using 2to3,
4472   as the egg link would go to the Python 2 source. Linking to the 2to3'd code
4473   in build/lib makes it work, although you will have to rebuild the module
4474   before testing it.
4475 * Distribute #306: Even if 2to3 is used, we build in-place under Python 2.
4476 * Distribute #307: Prints the full path when .svn/entries is broken.
4477 * Distribute #313: Support for sdist subcommands (Python 2.7)
4478 * Distribute #314: test_local_index() would fail an OS X.
4479 * Distribute #310: Non-ascii characters in a namespace __init__.py causes errors.
4480 * Distribute #218: Improved documentation on behavior of ``package_data`` and
4481   ``include_package_data``. Files indicated by ``package_data`` are now included
4482   in the manifest.
4483 * ``distribute_setup.py`` now allows a ``--download-base`` argument for retrieving
4484   distribute from a specified location.
4485
4486 0.6.28
4487 ------
4488
4489 * Distribute #294: setup.py can now be invoked from any directory.
4490 * Scripts are now installed honoring the umask.
4491 * Added support for .dist-info directories.
4492 * Distribute #283: Fix and disable scanning of ``*.pyc`` / ``*.pyo`` files on
4493   Python 3.3.
4494
4495 0.6.27
4496 ------
4497
4498 * Support current snapshots of CPython 3.3.
4499 * Distribute now recognizes README.rst as a standard, default readme file.
4500 * Exclude 'encodings' modules when removing modules from sys.modules.
4501   Workaround for #285.
4502 * Distribute #231: Don't fiddle with system python when used with buildout
4503   (bootstrap.py)
4504
4505 0.6.26
4506 ------
4507
4508 * Distribute #183: Symlinked files are now extracted from source distributions.
4509 * Distribute #227: Easy_install fetch parameters are now passed during the
4510   installation of a source distribution; now fulfillment of setup_requires
4511   dependencies will honor the parameters passed to easy_install.
4512
4513 0.6.25
4514 ------
4515
4516 * Distribute #258: Workaround a cache issue
4517 * Distribute #260: distribute_setup.py now accepts the --user parameter for
4518   Python 2.6 and later.
4519 * Distribute #262: package_index.open_with_auth no longer throws LookupError
4520   on Python 3.
4521 * Distribute #269: AttributeError when an exception occurs reading Manifest.in
4522   on late releases of Python.
4523 * Distribute #272: Prevent TypeError when namespace package names are unicode
4524   and single-install-externally-managed is used. Also fixes PIP issue
4525   449.
4526 * Distribute #273: Legacy script launchers now install with Python2/3 support.
4527
4528 0.6.24
4529 ------
4530
4531 * Distribute #249: Added options to exclude 2to3 fixers
4532
4533 0.6.23
4534 ------
4535
4536 * Distribute #244: Fixed a test
4537 * Distribute #243: Fixed a test
4538 * Distribute #239: Fixed a test
4539 * Distribute #240: Fixed a test
4540 * Distribute #241: Fixed a test
4541 * Distribute #237: Fixed a test
4542 * Distribute #238: easy_install now uses 64bit executable wrappers on 64bit Python
4543 * Distribute #208: Fixed parsed_versions, it now honors post-releases as noted in the documentation
4544 * Distribute #207: Windows cli and gui wrappers pass CTRL-C to child python process
4545 * Distribute #227: easy_install now passes its arguments to setup.py bdist_egg
4546 * Distribute #225: Fixed a NameError on Python 2.5, 2.4
4547
4548 0.6.21
4549 ------
4550
4551 * Distribute #225: FIxed a regression on py2.4
4552
4553 0.6.20
4554 ------
4555
4556 * Distribute #135: Include url in warning when processing URLs in package_index.
4557 * Distribute #212: Fix issue where easy_instal fails on Python 3 on windows installer.
4558 * Distribute #213: Fix typo in documentation.
4559
4560 0.6.19
4561 ------
4562
4563 * Distribute #206: AttributeError: 'HTTPMessage' object has no attribute 'getheaders'
4564
4565 0.6.18
4566 ------
4567
4568 * Distribute #210: Fixed a regression introduced by Distribute #204 fix.
4569
4570 0.6.17
4571 ------
4572
4573 * Support 'DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT' environment
4574   variable to allow to disable installation of easy_install-${version} script.
4575 * Support Python >=3.1.4 and >=3.2.1.
4576 * Distribute #204: Don't try to import the parent of a namespace package in
4577   declare_namespace
4578 * Distribute #196: Tolerate responses with multiple Content-Length headers
4579 * Distribute #205: Sandboxing doesn't preserve working_set. Leads to setup_requires
4580   problems.
4581
4582 0.6.16
4583 ------
4584
4585 * Builds sdist gztar even on Windows (avoiding Distribute #193).
4586 * Distribute #192: Fixed metadata omitted on Windows when package_dir
4587   specified with forward-slash.
4588 * Distribute #195: Cython build support.
4589 * Distribute #200: Issues with recognizing 64-bit packages on Windows.
4590
4591 0.6.15
4592 ------
4593
4594 * Fixed typo in bdist_egg
4595 * Several issues under Python 3 has been solved.
4596 * Distribute #146: Fixed missing DLL files after easy_install of windows exe package.
4597
4598 0.6.14
4599 ------
4600
4601 * Distribute #170: Fixed unittest failure. Thanks to Toshio.
4602 * Distribute #171: Fixed race condition in unittests cause deadlocks in test suite.
4603 * Distribute #143: Fixed a lookup issue with easy_install.
4604   Thanks to David and Zooko.
4605 * Distribute #174: Fixed the edit mode when its used with setuptools itself
4606
4607 0.6.13
4608 ------
4609
4610 * Distribute #160: 2.7 gives ValueError("Invalid IPv6 URL")
4611 * Distribute #150: Fixed using ~/.local even in a --no-site-packages virtualenv
4612 * Distribute #163: scan index links before external links, and don't use the md5 when
4613   comparing two distributions
4614
4615 0.6.12
4616 ------
4617
4618 * Distribute #149: Fixed various failures on 2.3/2.4
4619
4620 0.6.11
4621 ------
4622
4623 * Found another case of SandboxViolation - fixed
4624 * Distribute #15 and Distribute #48: Introduced a socket timeout of 15 seconds on url openings
4625 * Added indexsidebar.html into MANIFEST.in
4626 * Distribute #108: Fixed TypeError with Python3.1
4627 * Distribute #121: Fixed --help install command trying to actually install.
4628 * Distribute #112: Added an os.makedirs so that Tarek's solution will work.
4629 * Distribute #133: Added --no-find-links to easy_install
4630 * Added easy_install --user
4631 * Distribute #100: Fixed develop --user not taking '.' in PYTHONPATH into account
4632 * Distribute #134: removed spurious UserWarnings. Patch by VanLindberg
4633 * Distribute #138: cant_write_to_target error when setup_requires is used.
4634 * Distribute #147: respect the sys.dont_write_bytecode flag
4635
4636 0.6.10
4637 ------
4638
4639 * Reverted change made for the DistributionNotFound exception because
4640   zc.buildout uses the exception message to get the name of the
4641   distribution.
4642
4643 0.6.9
4644 -----
4645
4646 * Distribute #90: unknown setuptools version can be added in the working set
4647 * Distribute #87: setupt.py doesn't try to convert distribute_setup.py anymore
4648   Initial Patch by arfrever.
4649 * Distribute #89: added a side bar with a download link to the doc.
4650 * Distribute #86: fixed missing sentence in pkg_resources doc.
4651 * Added a nicer error message when a DistributionNotFound is raised.
4652 * Distribute #80: test_develop now works with Python 3.1
4653 * Distribute #93: upload_docs now works if there is an empty sub-directory.
4654 * Distribute #70: exec bit on non-exec files
4655 * Distribute #99: now the standalone easy_install command doesn't uses a
4656   "setup.cfg" if any exists in the working directory. It will use it
4657   only if triggered by ``install_requires`` from a setup.py call
4658   (install, develop, etc).
4659 * Distribute #101: Allowing ``os.devnull`` in Sandbox
4660 * Distribute #92: Fixed the "no eggs" found error with MacPort
4661   (platform.mac_ver() fails)
4662 * Distribute #103: test_get_script_header_jython_workaround not run
4663   anymore under py3 with C or POSIX local. Contributed by Arfrever.
4664 * Distribute #104: removed the assertion when the installation fails,
4665   with a nicer message for the end user.
4666 * Distribute #100: making sure there's no SandboxViolation when
4667   the setup script patches setuptools.
4668
4669 0.6.8
4670 -----
4671
4672 * Added "check_packages" in dist. (added in Setuptools 0.6c11)
4673 * Fixed the DONT_PATCH_SETUPTOOLS state.
4674
4675 0.6.7
4676 -----
4677
4678 * Distribute #58: Added --user support to the develop command
4679 * Distribute #11: Generated scripts now wrap their call to the script entry point
4680   in the standard "if name == 'main'"
4681 * Added the 'DONT_PATCH_SETUPTOOLS' environment variable, so virtualenv
4682   can drive an installation that doesn't patch a global setuptools.
4683 * Reviewed unladen-swallow specific change from
4684   http://code.google.com/p/unladen-swallow/source/detail?spec=svn875&r=719
4685   and determined that it no longer applies. Distribute should work fine with
4686   Unladen Swallow 2009Q3.
4687 * Distribute #21: Allow PackageIndex.open_url to gracefully handle all cases of a
4688   httplib.HTTPException instead of just InvalidURL and BadStatusLine.
4689 * Removed virtual-python.py from this distribution and updated documentation
4690   to point to the actively maintained virtualenv instead.
4691 * Distribute #64: use_setuptools no longer rebuilds the distribute egg every
4692   time it is run
4693 * use_setuptools now properly respects the requested version
4694 * use_setuptools will no longer try to import a distribute egg for the
4695   wrong Python version
4696 * Distribute #74: no_fake should be True by default.
4697 * Distribute #72: avoid a bootstrapping issue with easy_install -U
4698
4699 0.6.6
4700 -----
4701
4702 * Unified the bootstrap file so it works on both py2.x and py3k without 2to3
4703   (patch by Holger Krekel)
4704
4705 0.6.5
4706 -----
4707
4708 * Distribute #65: cli.exe and gui.exe are now generated at build time,
4709   depending on the platform in use.
4710
4711 * Distribute #67: Fixed doc typo (PEP 381/PEP 382).
4712
4713 * Distribute no longer shadows setuptools if we require a 0.7-series
4714   setuptools. And an error is raised when installing a 0.7 setuptools with
4715   distribute.
4716
4717 * When run from within buildout, no attempt is made to modify an existing
4718   setuptools egg, whether in a shared egg directory or a system setuptools.
4719
4720 * Fixed a hole in sandboxing allowing builtin file to write outside of
4721   the sandbox.
4722
4723 0.6.4
4724 -----
4725
4726 * Added the generation of ``distribute_setup_3k.py`` during the release.
4727   This closes Distribute #52.
4728
4729 * Added an upload_docs command to easily upload project documentation to
4730   PyPI's https://pythonhosted.org. This close issue Distribute #56.
4731
4732 * Fixed a bootstrap bug on the use_setuptools() API.
4733
4734 0.6.3
4735 -----
4736
4737 setuptools
4738 ^^^^^^^^^^
4739
4740 * Fixed a bunch of calls to file() that caused crashes on Python 3.
4741
4742 bootstrapping
4743 ^^^^^^^^^^^^^
4744
4745 * Fixed a bug in sorting that caused bootstrap to fail on Python 3.
4746
4747 0.6.2
4748 -----
4749
4750 setuptools
4751 ^^^^^^^^^^
4752
4753 * Added Python 3 support; see docs/python3.txt.
4754   This closes Old Setuptools #39.
4755
4756 * Added option to run 2to3 automatically when installing on Python 3.
4757   This closes issue Distribute #31.
4758
4759 * Fixed invalid usage of requirement.parse, that broke develop -d.
4760   This closes Old Setuptools #44.
4761
4762 * Fixed script launcher for 64-bit Windows.
4763   This closes Old Setuptools #2.
4764
4765 * KeyError when compiling extensions.
4766   This closes Old Setuptools #41.
4767
4768 bootstrapping
4769 ^^^^^^^^^^^^^
4770
4771 * Fixed bootstrap not working on Windows. This closes issue Distribute #49.
4772
4773 * Fixed 2.6 dependencies. This closes issue Distribute #50.
4774
4775 * Make sure setuptools is patched when running through easy_install
4776   This closes Old Setuptools #40.
4777
4778 0.6.1
4779 -----
4780
4781 setuptools
4782 ^^^^^^^^^^
4783
4784 * package_index.urlopen now catches BadStatusLine and malformed url errors.
4785   This closes Distribute #16 and Distribute #18.
4786
4787 * zip_ok is now False by default. This closes Old Setuptools #33.
4788
4789 * Fixed invalid URL error catching. Old Setuptools #20.
4790
4791 * Fixed invalid bootstraping with easy_install installation (Distribute #40).
4792   Thanks to Florian Schulze for the help.
4793
4794 * Removed buildout/bootstrap.py. A new repository will create a specific
4795   bootstrap.py script.
4796
4797
4798 bootstrapping
4799 ^^^^^^^^^^^^^
4800
4801 * The bootstrap process leave setuptools alone if detected in the system
4802   and --root or --prefix is provided, but is not in the same location.
4803   This closes Distribute #10.
4804
4805 0.6
4806 ---
4807
4808 setuptools
4809 ^^^^^^^^^^
4810
4811 * Packages required at build time where not fully present at install time.
4812   This closes Distribute #12.
4813
4814 * Protected against failures in tarfile extraction. This closes Distribute #10.
4815
4816 * Made Jython api_tests.txt doctest compatible. This closes Distribute #7.
4817
4818 * sandbox.py replaced builtin type file with builtin function open. This
4819   closes Distribute #6.
4820
4821 * Immediately close all file handles. This closes Distribute #3.
4822
4823 * Added compatibility with Subversion 1.6. This references Distribute #1.
4824
4825 pkg_resources
4826 ^^^^^^^^^^^^^
4827
4828 * Avoid a call to /usr/bin/sw_vers on OSX and use the official platform API
4829   instead. Based on a patch from ronaldoussoren. This closes issue #5.
4830
4831 * Fixed a SandboxViolation for mkdir that could occur in certain cases.
4832   This closes Distribute #13.
4833
4834 * Allow to find_on_path on systems with tight permissions to fail gracefully.
4835   This closes Distribute #9.
4836
4837 * Corrected inconsistency between documentation and code of add_entry.
4838   This closes Distribute #8.
4839
4840 * Immediately close all file handles. This closes Distribute #3.
4841
4842 easy_install
4843 ^^^^^^^^^^^^
4844
4845 * Immediately close all file handles. This closes Distribute #3.
4846
4847 0.6c9
4848 -----
4849
4850  * Fixed a missing files problem when using Windows source distributions on
4851    non-Windows platforms, due to distutils not handling manifest file line
4852    endings correctly.
4853
4854  * Updated Pyrex support to work with Pyrex 0.9.6 and higher.
4855
4856  * Minor changes for Jython compatibility, including skipping tests that can't
4857    work on Jython.
4858
4859  * Fixed not installing eggs in ``install_requires`` if they were also used for
4860    ``setup_requires`` or ``tests_require``.
4861
4862  * Fixed not fetching eggs in ``install_requires`` when running tests.
4863
4864  * Allow ``ez_setup.use_setuptools()`` to upgrade existing setuptools
4865    installations when called from a standalone ``setup.py``.
4866
4867  * Added a warning if a namespace package is declared, but its parent package
4868    is not also declared as a namespace.
4869
4870  * Support Subversion 1.5
4871
4872  * Removed use of deprecated ``md5`` module if ``hashlib`` is available
4873
4874  * Fixed ``bdist_wininst upload`` trying to upload the ``.exe`` twice
4875
4876  * Fixed ``bdist_egg`` putting a ``native_libs.txt`` in the source package's
4877    ``.egg-info``, when it should only be in the built egg's ``EGG-INFO``.
4878
4879  * Ensure that _full_name is set on all shared libs before extensions are
4880    checked for shared lib usage.  (Fixes a bug in the experimental shared
4881    library build support.)
4882
4883  * Fix to allow unpacked eggs containing native libraries to fail more
4884    gracefully under Google App Engine (with an ``ImportError`` loading the
4885    C-based module, instead of getting a ``NameError``).
4886
4887  * Fixed ``win32.exe`` support for .pth files, so unnecessary directory nesting
4888    is flattened out in the resulting egg.  (There was a case-sensitivity
4889    problem that affected some distributions, notably ``pywin32``.)
4890
4891  * Prevent ``--help-commands`` and other junk from showing under Python 2.5
4892    when running ``easy_install --help``.
4893
4894  * Fixed GUI scripts sometimes not executing on Windows
4895
4896  * Fixed not picking up dependency links from recursive dependencies.
4897
4898  * Only make ``.py``, ``.dll`` and ``.so`` files executable when unpacking eggs
4899
4900  * Changes for Jython compatibility
4901
4902  * Improved error message when a requirement is also a directory name, but the
4903    specified directory is not a source package.
4904
4905  * Fixed ``--allow-hosts`` option blocking ``file:`` URLs
4906
4907  * Fixed HTTP SVN detection failing when the page title included a project
4908    name (e.g. on SourceForge-hosted SVN)
4909
4910  * Fix Jython script installation to handle ``#!`` lines better when
4911    ``sys.executable`` is a script.
4912
4913  * Removed use of deprecated ``md5`` module if ``hashlib`` is available
4914
4915  * Keep site directories (e.g. ``site-packages``) from being included in
4916    ``.pth`` files.
4917
4918 0.6c7
4919 -----
4920
4921  * Fixed ``distutils.filelist.findall()`` crashing on broken symlinks, and
4922    ``egg_info`` command failing on new, uncommitted SVN directories.
4923
4924  * Fix import problems with nested namespace packages installed via
4925    ``--root`` or ``--single-version-externally-managed``, due to the
4926    parent package not having the child package as an attribute.
4927
4928  * ``ftp:`` download URLs now work correctly.
4929
4930  * The default ``--index-url`` is now ``https://pypi.python.org/simple``, to use
4931    the Python Package Index's new simpler (and faster!) REST API.
4932
4933 0.6c6
4934 -----
4935
4936  * Added ``--egg-path`` option to ``develop`` command, allowing you to force
4937    ``.egg-link`` files to use relative paths (allowing them to be shared across
4938    platforms on a networked drive).
4939
4940  * Fix not building binary RPMs correctly.
4941
4942  * Fix "eggsecutables" (such as setuptools' own egg) only being runnable with
4943    bash-compatible shells.
4944
4945  * Fix ``#!`` parsing problems in Windows ``.exe`` script wrappers, when there
4946    was whitespace inside a quoted argument or at the end of the ``#!`` line
4947    (a regression introduced in 0.6c4).
4948
4949  * Fix ``test`` command possibly failing if an older version of the project
4950    being tested was installed on ``sys.path`` ahead of the test source
4951    directory.
4952
4953  * Fix ``find_packages()`` treating ``ez_setup`` and directories with ``.`` in
4954    their names as packages.
4955
4956  * EasyInstall no longer aborts the installation process if a URL it wants to
4957    retrieve can't be downloaded, unless the URL is an actual package download.
4958    Instead, it issues a warning and tries to keep going.
4959
4960  * Fixed distutils-style scripts originally built on Windows having their line
4961    endings doubled when installed on any platform.
4962
4963  * Added ``--local-snapshots-ok`` flag, to allow building eggs from projects
4964    installed using ``setup.py develop``.
4965
4966  * Fixed not HTML-decoding URLs scraped from web pages
4967
4968 0.6c5
4969 -----
4970
4971  * Fix uploaded ``bdist_rpm`` packages being described as ``bdist_egg``
4972    packages under Python versions less than 2.5.
4973
4974  * Fix uploaded ``bdist_wininst`` packages being described as suitable for
4975    "any" version by Python 2.5, even if a ``--target-version`` was specified.
4976
4977  * Fixed ``.dll`` files on Cygwin not having executable permissions when an egg
4978    is installed unzipped.
4979
4980 0.6c4
4981 -----
4982
4983  * Overhauled Windows script wrapping to support ``bdist_wininst`` better.
4984    Scripts installed with ``bdist_wininst`` will always use ``#!python.exe`` or
4985    ``#!pythonw.exe`` as the executable name (even when built on non-Windows
4986    platforms!), and the wrappers will look for the executable in the script's
4987    parent directory (which should find the right version of Python).
4988
4989  * Fix ``upload`` command not uploading files built by ``bdist_rpm`` or
4990    ``bdist_wininst`` under Python 2.3 and 2.4.
4991
4992  * Add support for "eggsecutable" headers: a ``#!/bin/sh`` script that is
4993    prepended to an ``.egg`` file to allow it to be run as a script on Unix-ish
4994    platforms.  (This is mainly so that setuptools itself can have a single-file
4995    installer on Unix, without doing multiple downloads, dealing with firewalls,
4996    etc.)
4997
4998  * Fix problem with empty revision numbers in Subversion 1.4 ``entries`` files
4999
5000  * Use cross-platform relative paths in ``easy-install.pth`` when doing
5001    ``develop`` and the source directory is a subdirectory of the installation
5002    target directory.
5003
5004  * Fix a problem installing eggs with a system packaging tool if the project
5005    contained an implicit namespace package; for example if the ``setup()``
5006    listed a namespace package ``foo.bar`` without explicitly listing ``foo``
5007    as a namespace package.
5008
5009  * Added support for HTTP "Basic" authentication using ``http://user:pass@host``
5010    URLs.  If a password-protected page contains links to the same host (and
5011    protocol), those links will inherit the credentials used to access the
5012    original page.
5013
5014  * Removed all special support for Sourceforge mirrors, as Sourceforge's
5015    mirror system now works well for non-browser downloads.
5016
5017  * Fixed not recognizing ``win32.exe`` installers that included a custom
5018    bitmap.
5019
5020  * Fixed not allowing ``os.open()`` of paths outside the sandbox, even if they
5021    are opened read-only (e.g. reading ``/dev/urandom`` for random numbers, as
5022    is done by ``os.urandom()`` on some platforms).
5023
5024  * Fixed a problem with ``.pth`` testing on Windows when ``sys.executable``
5025    has a space in it (e.g., the user installed Python to a ``Program Files``
5026    directory).
5027
5028 0.6c3
5029 -----
5030
5031  * Fixed breakages caused by Subversion 1.4's new "working copy" format
5032
5033  * You can once again use "python -m easy_install" with Python 2.4 and above.
5034
5035  * Python 2.5 compatibility fixes added.
5036
5037 0.6c2
5038 -----
5039
5040  * The ``ez_setup`` module displays the conflicting version of setuptools (and
5041    its installation location) when a script requests a version that's not
5042    available.
5043
5044  * Running ``setup.py develop`` on a setuptools-using project will now install
5045    setuptools if needed, instead of only downloading the egg.
5046
5047  * Windows script wrappers now support quoted arguments and arguments
5048    containing spaces.  (Patch contributed by Jim Fulton.)
5049
5050  * The ``ez_setup.py`` script now actually works when you put a setuptools
5051    ``.egg`` alongside it for bootstrapping an offline machine.
5052
5053  * A writable installation directory on ``sys.path`` is no longer required to
5054    download and extract a source distribution using ``--editable``.
5055
5056  * Generated scripts now use ``-x`` on the ``#!`` line when ``sys.executable``
5057    contains non-ASCII characters, to prevent deprecation warnings about an
5058    unspecified encoding when the script is run.
5059
5060 0.6c1
5061 -----
5062
5063  * Fixed ``AttributeError`` when trying to download a ``setup_requires``
5064    dependency when a distribution lacks a ``dependency_links`` setting.
5065
5066  * Made ``zip-safe`` and ``not-zip-safe`` flag files contain a single byte, so
5067    as to play better with packaging tools that complain about zero-length
5068    files.
5069
5070  * Made ``setup.py develop`` respect the ``--no-deps`` option, which it
5071    previously was ignoring.
5072
5073  * Support ``extra_path`` option to ``setup()`` when ``install`` is run in
5074    backward-compatibility mode.
5075
5076  * Source distributions now always include a ``setup.cfg`` file that explicitly
5077    sets ``egg_info`` options such that they produce an identical version number
5078    to the source distribution's version number.  (Previously, the default
5079    version number could be different due to the use of ``--tag-date``, or if
5080    the version was overridden on the command line that built the source
5081    distribution.)
5082
5083  * EasyInstall now includes setuptools version information in the
5084    ``User-Agent`` string sent to websites it visits.
5085
5086 0.6b4
5087 -----
5088
5089  * Fix ``register`` not obeying name/version set by ``egg_info`` command, if
5090    ``egg_info`` wasn't explicitly run first on the same command line.
5091
5092  * Added ``--no-date`` and ``--no-svn-revision`` options to ``egg_info``
5093    command, to allow suppressing tags configured in ``setup.cfg``.
5094
5095  * Fixed redundant warnings about missing ``README`` file(s); it should now
5096    appear only if you are actually a source distribution.
5097
5098  * Fix creating Python wrappers for non-Python scripts
5099
5100  * Fix ``ftp://`` directory listing URLs from causing a crash when used in the
5101    "Home page" or "Download URL" slots on PyPI.
5102
5103  * Fix ``sys.path_importer_cache`` not being updated when an existing zipfile
5104    or directory is deleted/overwritten.
5105
5106  * Fix not recognizing HTML 404 pages from package indexes.
5107
5108  * Allow ``file://`` URLs to be used as a package index.  URLs that refer to
5109    directories will use an internally-generated directory listing if there is
5110    no ``index.html`` file in the directory.
5111
5112  * Allow external links in a package index to be specified using
5113    ``rel="homepage"`` or ``rel="download"``, without needing the old
5114    PyPI-specific visible markup.
5115
5116  * Suppressed warning message about possibly-misspelled project name, if an egg
5117    or link for that project name has already been seen.
5118
5119 0.6b3
5120 -----
5121
5122  * Fix ``bdist_egg`` not including files in subdirectories of ``.egg-info``.
5123
5124  * Allow ``.py`` files found by the ``include_package_data`` option to be
5125    automatically included. Remove duplicate data file matches if both
5126    ``include_package_data`` and ``package_data`` are used to refer to the same
5127    files.
5128
5129  * Fix local ``--find-links`` eggs not being copied except with
5130    ``--always-copy``.
5131
5132  * Fix sometimes not detecting local packages installed outside of "site"
5133    directories.
5134
5135  * Fix mysterious errors during initial ``setuptools`` install, caused by
5136    ``ez_setup`` trying to run ``easy_install`` twice, due to a code fallthru
5137    after deleting the egg from which it's running.
5138
5139 0.6b2
5140 -----
5141
5142  * Don't install or update a ``site.py`` patch when installing to a
5143    ``PYTHONPATH`` directory with ``--multi-version``, unless an
5144    ``easy-install.pth`` file is already in use there.
5145
5146  * Construct ``.pth`` file paths in such a way that installing an egg whose
5147    name begins with ``import`` doesn't cause a syntax error.
5148
5149  * Fixed a bogus warning message that wasn't updated since the 0.5 versions.
5150
5151 0.6b1
5152 -----
5153
5154  * Strip ``module`` from the end of compiled extension modules when computing
5155    the name of a ``.py`` loader/wrapper.  (Python's import machinery ignores
5156    this suffix when searching for an extension module.)
5157
5158  * Better ambiguity management: accept ``#egg`` name/version even if processing
5159    what appears to be a correctly-named distutils file, and ignore ``.egg``
5160    files with no ``-``, since valid Python ``.egg`` files always have a version
5161    number (but Scheme eggs often don't).
5162
5163  * Support ``file://`` links to directories in ``--find-links``, so that
5164    easy_install can build packages from local source checkouts.
5165
5166  * Added automatic retry for Sourceforge mirrors.  The new download process is
5167    to first just try dl.sourceforge.net, then randomly select mirror IPs and
5168    remove ones that fail, until something works.  The removed IPs stay removed
5169    for the remainder of the run.
5170
5171  * Ignore bdist_dumb distributions when looking at download URLs.
5172
5173 0.6a11
5174 ------
5175
5176  * Added ``test_loader`` keyword to support custom test loaders
5177
5178  * Added ``setuptools.file_finders`` entry point group to allow implementing
5179    revision control plugins.
5180
5181  * Added ``--identity`` option to ``upload`` command.
5182
5183  * Added ``dependency_links`` to allow specifying URLs for ``--find-links``.
5184
5185  * Enhanced test loader to scan packages as well as modules, and call
5186    ``additional_tests()`` if present to get non-unittest tests.
5187
5188  * Support namespace packages in conjunction with system packagers, by omitting
5189    the installation of any ``__init__.py`` files for namespace packages, and
5190    adding a special ``.pth`` file to create a working package in
5191    ``sys.modules``.
5192
5193  * Made ``--single-version-externally-managed`` automatic when ``--root`` is
5194    used, so that most system packagers won't require special support for
5195    setuptools.
5196
5197  * Fixed ``setup_requires``, ``tests_require``, etc. not using ``setup.cfg`` or
5198    other configuration files for their option defaults when installing, and
5199    also made the install use ``--multi-version`` mode so that the project
5200    directory doesn't need to support .pth files.
5201
5202  * ``MANIFEST.in`` is now forcibly closed when any errors occur while reading
5203    it. Previously, the file could be left open and the actual error would be
5204    masked by problems trying to remove the open file on Windows systems.
5205
5206  * Process ``dependency_links.txt`` if found in a distribution, by adding the
5207    URLs to the list for scanning.
5208
5209  * Use relative paths in ``.pth`` files when eggs are being installed to the
5210    same directory as the ``.pth`` file.  This maximizes portability of the
5211    target directory when building applications that contain eggs.
5212
5213  * Added ``easy_install-N.N`` script(s) for convenience when using multiple
5214    Python versions.
5215
5216  * Added automatic handling of installation conflicts.  Eggs are now shifted to
5217    the front of sys.path, in an order consistent with where they came from,
5218    making EasyInstall seamlessly co-operate with system package managers.
5219
5220    The ``--delete-conflicting`` and ``--ignore-conflicts-at-my-risk`` options
5221    are now no longer necessary, and will generate warnings at the end of a
5222    run if you use them.
5223
5224  * Don't recursively traverse subdirectories given to ``--find-links``.
5225
5226 0.6a10
5227 ------
5228
5229  * Fixed the ``develop`` command ignoring ``--find-links``.
5230
5231  * Added exhaustive testing of the install directory, including a spawn test
5232    for ``.pth`` file support, and directory writability/existence checks.  This
5233    should virtually eliminate the need to set or configure ``--site-dirs``.
5234
5235  * Added ``--prefix`` option for more do-what-I-mean-ishness in the absence of
5236    RTFM-ing.  :)
5237
5238  * Enhanced ``PYTHONPATH`` support so that you don't have to put any eggs on it
5239    manually to make it work.  ``--multi-version`` is no longer a silent
5240    default; you must explicitly use it if installing to a non-PYTHONPATH,
5241    non-"site" directory.
5242
5243  * Expand ``$variables`` used in the ``--site-dirs``, ``--build-directory``,
5244    ``--install-dir``, and ``--script-dir`` options, whether on the command line
5245    or in configuration files.
5246
5247  * Improved SourceForge mirror processing to work faster and be less affected
5248    by transient HTML changes made by SourceForge.
5249
5250  * PyPI searches now use the exact spelling of requirements specified on the
5251    command line or in a project's ``install_requires``.  Previously, a
5252    normalized form of the name was used, which could lead to unnecessary
5253    full-index searches when a project's name had an underscore (``_``) in it.
5254
5255  * EasyInstall can now download bare ``.py`` files and wrap them in an egg,
5256    as long as you include an ``#egg=name-version`` suffix on the URL, or if
5257    the ``.py`` file is listed as the "Download URL" on the project's PyPI page.
5258    This allows third parties to "package" trivial Python modules just by
5259    linking to them (e.g. from within their own PyPI page or download links
5260    page).
5261
5262  * The ``--always-copy`` option now skips "system" and "development" eggs since
5263    they can't be reliably copied.  Note that this may cause EasyInstall to
5264    choose an older version of a package than what you expected, or it may cause
5265    downloading and installation of a fresh version of what's already installed.
5266
5267  * The ``--find-links`` option previously scanned all supplied URLs and
5268    directories as early as possible, but now only directories and direct
5269    archive links are scanned immediately.  URLs are not retrieved unless a
5270    package search was already going to go online due to a package not being
5271    available locally, or due to the use of the ``--update`` or ``-U`` option.
5272
5273  * Fixed the annoying ``--help-commands`` wart.
5274
5275 0.6a9
5276 -----
5277
5278  * The ``sdist`` command no longer uses the traditional ``MANIFEST`` file to
5279    create source distributions.  ``MANIFEST.in`` is still read and processed,
5280    as are the standard defaults and pruning. But the manifest is built inside
5281    the project's ``.egg-info`` directory as ``SOURCES.txt``, and it is rebuilt
5282    every time the ``egg_info`` command is run.
5283
5284  * Added the ``include_package_data`` keyword to ``setup()``, allowing you to
5285    automatically include any package data listed in revision control or
5286    ``MANIFEST.in``
5287
5288  * Added the ``exclude_package_data`` keyword to ``setup()``, allowing you to
5289    trim back files included via the ``package_data`` and
5290    ``include_package_data`` options.
5291
5292  * Fixed ``--tag-svn-revision`` not working when run from a source
5293    distribution.
5294
5295  * Added warning for namespace packages with missing ``declare_namespace()``
5296
5297  * Added ``tests_require`` keyword to ``setup()``, so that e.g. packages
5298    requiring ``nose`` to run unit tests can make this dependency optional
5299    unless the ``test`` command is run.
5300
5301  * Made all commands that use ``easy_install`` respect its configuration
5302    options, as this was causing some problems with ``setup.py install``.
5303
5304  * Added an ``unpack_directory()`` driver to ``setuptools.archive_util``, so
5305    that you can process a directory tree through a processing filter as if it
5306    were a zipfile or tarfile.
5307
5308  * Added an internal ``install_egg_info`` command to use as part of old-style
5309    ``install`` operations, that installs an ``.egg-info`` directory with the
5310    package.
5311
5312  * Added a ``--single-version-externally-managed`` option to the ``install``
5313    command so that you can more easily wrap a "flat" egg in a system package.
5314
5315  * Enhanced ``bdist_rpm`` so that it installs single-version eggs that
5316    don't rely on a ``.pth`` file. The ``--no-egg`` option has been removed,
5317    since all RPMs are now built in a more backwards-compatible format.
5318
5319  * Support full roundtrip translation of eggs to and from ``bdist_wininst``
5320    format. Running ``bdist_wininst`` on a setuptools-based package wraps the
5321    egg in an .exe that will safely install it as an egg (i.e., with metadata
5322    and entry-point wrapper scripts), and ``easy_install`` can turn the .exe
5323    back into an ``.egg`` file or directory and install it as such.
5324
5325  * Fixed ``.pth`` file processing picking up nested eggs (i.e. ones inside
5326    "baskets") when they weren't explicitly listed in the ``.pth`` file.
5327
5328  * If more than one URL appears to describe the exact same distribution, prefer
5329    the shortest one.  This helps to avoid "table of contents" CGI URLs like the
5330    ones on effbot.org.
5331
5332  * Quote arguments to python.exe (including python's path) to avoid problems
5333    when Python (or a script) is installed in a directory whose name contains
5334    spaces on Windows.
5335
5336  * Support full roundtrip translation of eggs to and from ``bdist_wininst``
5337    format.  Running ``bdist_wininst`` on a setuptools-based package wraps the
5338    egg in an .exe that will safely install it as an egg (i.e., with metadata
5339    and entry-point wrapper scripts), and ``easy_install`` can turn the .exe
5340    back into an ``.egg`` file or directory and install it as such.
5341
5342 0.6a8
5343 -----
5344
5345  * Fixed some problems building extensions when Pyrex was installed, especially
5346    with Python 2.4 and/or packages using SWIG.
5347
5348  * Made ``develop`` command accept all the same options as ``easy_install``,
5349    and use the ``easy_install`` command's configuration settings as defaults.
5350
5351  * Made ``egg_info --tag-svn-revision`` fall back to extracting the revision
5352    number from ``PKG-INFO`` in case it is being run on a source distribution of
5353    a snapshot taken from a Subversion-based project.
5354
5355  * Automatically detect ``.dll``, ``.so`` and ``.dylib`` files that are being
5356    installed as data, adding them to ``native_libs.txt`` automatically.
5357
5358  * Fixed some problems with fresh checkouts of projects that don't include
5359    ``.egg-info/PKG-INFO`` under revision control and put the project's source
5360    code directly in the project directory. If such a package had any
5361    requirements that get processed before the ``egg_info`` command can be run,
5362    the setup scripts would fail with a "Missing 'Version:' header and/or
5363    PKG-INFO file" error, because the egg runtime interpreted the unbuilt
5364    metadata in a directory on ``sys.path`` (i.e. the current directory) as
5365    being a corrupted egg. Setuptools now monkeypatches the distribution
5366    metadata cache to pretend that the egg has valid version information, until
5367    it has a chance to make it actually be so (via the ``egg_info`` command).
5368
5369  * Update for changed SourceForge mirror format
5370
5371  * Fixed not installing dependencies for some packages fetched via Subversion
5372
5373  * Fixed dependency installation with ``--always-copy`` not using the same
5374    dependency resolution procedure as other operations.
5375
5376  * Fixed not fully removing temporary directories on Windows, if a Subversion
5377    checkout left read-only files behind
5378
5379  * Fixed some problems building extensions when Pyrex was installed, especially
5380    with Python 2.4 and/or packages using SWIG.
5381
5382 0.6a7
5383 -----
5384
5385  * Fixed not being able to install Windows script wrappers using Python 2.3
5386
5387 0.6a6
5388 -----
5389
5390  * Added support for "traditional" PYTHONPATH-based non-root installation, and
5391    also the convenient ``virtual-python.py`` script, based on a contribution
5392    by Ian Bicking.  The setuptools egg now contains a hacked ``site`` module
5393    that makes the PYTHONPATH-based approach work with .pth files, so that you
5394    can get the full EasyInstall feature set on such installations.
5395
5396  * Added ``--no-deps`` and ``--allow-hosts`` options.
5397
5398  * Improved Windows ``.exe`` script wrappers so that the script can have the
5399    same name as a module without confusing Python.
5400
5401  * Changed dependency processing so that it's breadth-first, allowing a
5402    depender's preferences to override those of a dependee, to prevent conflicts
5403    when a lower version is acceptable to the dependee, but not the depender.
5404    Also, ensure that currently installed/selected packages aren't given
5405    precedence over ones desired by a package being installed, which could
5406    cause conflict errors.
5407
5408 0.6a5
5409 -----
5410
5411  * Fixed missing gui/cli .exe files in distribution. Fixed bugs in tests.
5412
5413 0.6a3
5414 -----
5415
5416  * Added ``gui_scripts`` entry point group to allow installing GUI scripts
5417    on Windows and other platforms.  (The special handling is only for Windows;
5418    other platforms are treated the same as for ``console_scripts``.)
5419
5420  * Improved error message when trying to use old ways of running
5421    ``easy_install``.  Removed the ability to run via ``python -m`` or by
5422    running ``easy_install.py``; ``easy_install`` is the command to run on all
5423    supported platforms.
5424
5425  * Improved wrapper script generation and runtime initialization so that a
5426    VersionConflict doesn't occur if you later install a competing version of a
5427    needed package as the default version of that package.
5428
5429  * Fixed a problem parsing version numbers in ``#egg=`` links.
5430
5431 0.6a2
5432 -----
5433
5434  * Added ``console_scripts`` entry point group to allow installing scripts
5435    without the need to create separate script files. On Windows, console
5436    scripts get an ``.exe`` wrapper so you can just type their name. On other
5437    platforms, the scripts are written without a file extension.
5438
5439  * EasyInstall can now install "console_scripts" defined by packages that use
5440    ``setuptools`` and define appropriate entry points.  On Windows, console
5441    scripts get an ``.exe`` wrapper so you can just type their name.  On other
5442    platforms, the scripts are installed without a file extension.
5443
5444  * Using ``python -m easy_install`` or running ``easy_install.py`` is now
5445    DEPRECATED, since an ``easy_install`` wrapper is now available on all
5446    platforms.
5447
5448 0.6a1
5449 -----
5450
5451  * Added support for building "old-style" RPMs that don't install an egg for
5452    the target package, using a ``--no-egg`` option.
5453
5454  * The ``build_ext`` command now works better when using the ``--inplace``
5455    option and multiple Python versions. It now makes sure that all extensions
5456    match the current Python version, even if newer copies were built for a
5457    different Python version.
5458
5459  * The ``upload`` command no longer attaches an extra ``.zip`` when uploading
5460    eggs, as PyPI now supports egg uploads without trickery.
5461
5462  * The ``ez_setup`` script/module now displays a warning before downloading
5463    the setuptools egg, and attempts to check the downloaded egg against an
5464    internal MD5 checksum table.
5465
5466  * Fixed the ``--tag-svn-revision`` option of ``egg_info`` not finding the
5467    latest revision number; it was using the revision number of the directory
5468    containing ``setup.py``, not the highest revision number in the project.
5469
5470  * Added ``eager_resources`` setup argument
5471
5472  * The ``sdist`` command now recognizes Subversion "deleted file" entries and
5473    does not include them in source distributions.
5474
5475  * ``setuptools`` now embeds itself more thoroughly into the distutils, so that
5476    other distutils extensions (e.g. py2exe, py2app) will subclass setuptools'
5477    versions of things, rather than the native distutils ones.
5478
5479  * Added ``entry_points`` and ``setup_requires`` arguments to ``setup()``;
5480    ``setup_requires`` allows you to automatically find and download packages
5481    that are needed in order to *build* your project (as opposed to running it).
5482
5483  * ``setuptools`` now finds its commands, ``setup()`` argument validators, and
5484    metadata writers using entry points, so that they can be extended by
5485    third-party packages. See `Creating distutils Extensions
5486    <https://setuptools.pypa.io/en/latest/setuptools.html#creating-distutils-extensions>`_
5487    for more details.
5488
5489  * The vestigial ``depends`` command has been removed. It was never finished
5490    or documented, and never would have worked without EasyInstall - which it
5491    pre-dated and was never compatible with.
5492
5493  * EasyInstall now does MD5 validation of downloads from PyPI, or from any link
5494    that has an "#md5=..." trailer with a 32-digit lowercase hex md5 digest.
5495
5496  * EasyInstall now handles symlinks in target directories by removing the link,
5497    rather than attempting to overwrite the link's destination.  This makes it
5498    easier to set up an alternate Python "home" directory (as described in
5499    the Non-Root Installation section of the docs).
5500
5501  * Added support for handling MacOS platform information in ``.egg`` filenames,
5502    based on a contribution by Kevin Dangoor.  You may wish to delete and
5503    reinstall any eggs whose filename includes "darwin" and "Power_Macintosh",
5504    because the format for this platform information has changed so that minor
5505    OS X upgrades (such as 10.4.1 to 10.4.2) do not cause eggs built with a
5506    previous OS version to become obsolete.
5507
5508  * easy_install's dependency processing algorithms have changed.  When using
5509    ``--always-copy``, it now ensures that dependencies are copied too.  When
5510    not using ``--always-copy``, it tries to use a single resolution loop,
5511    rather than recursing.
5512
5513  * Fixed installing extra ``.pyc`` or ``.pyo`` files for scripts with ``.py``
5514    extensions.
5515
5516  * Added ``--site-dirs`` option to allow adding custom "site" directories.
5517    Made ``easy-install.pth`` work in platform-specific alternate site
5518    directories (e.g. ``~/Library/Python/2.x/site-packages`` on Mac OS X).
5519
5520  * If you manually delete the current version of a package, the next run of
5521    EasyInstall against the target directory will now remove the stray entry
5522    from the ``easy-install.pth`` file.
5523
5524  * EasyInstall now recognizes URLs with a ``#egg=project_name`` fragment ID
5525    as pointing to the named project's source checkout.  Such URLs have a lower
5526    match precedence than any other kind of distribution, so they'll only be
5527    used if they have a higher version number than any other available
5528    distribution, or if you use the ``--editable`` option.  The ``#egg``
5529    fragment can contain a version if it's formatted as ``#egg=proj-ver``,
5530    where ``proj`` is the project name, and ``ver`` is the version number.  You
5531    *must* use the format for these values that the ``bdist_egg`` command uses;
5532    i.e., all non-alphanumeric runs must be condensed to single underscore
5533    characters.
5534
5535  * Added the ``--editable`` option; see Editing and Viewing Source Packages
5536    in the docs.  Also, slightly changed the behavior of the
5537    ``--build-directory`` option.
5538
5539  * Fixed the setup script sandbox facility not recognizing certain paths as
5540    valid on case-insensitive platforms.
5541
5542 0.5a12
5543 ------
5544
5545  * The zip-safety scanner now checks for modules that might be used with
5546    ``python -m``, and marks them as unsafe for zipping, since Python 2.4 can't
5547    handle ``-m`` on zipped modules.
5548
5549  * Fix ``python -m easy_install`` not working due to setuptools being installed
5550    as a zipfile.  Update safety scanner to check for modules that might be used
5551    as ``python -m`` scripts.
5552
5553  * Misc. fixes for win32.exe support, including changes to support Python 2.4's
5554    changed ``bdist_wininst`` format.
5555
5556 0.5a11
5557 ------
5558
5559  * Fix breakage of the "develop" command that was caused by the addition of
5560    ``--always-unzip`` to the ``easy_install`` command.
5561
5562 0.5a10
5563 ------
5564
5565  * Put the ``easy_install`` module back in as a module, as it's needed for
5566    ``python -m`` to run it!
5567
5568  * Allow ``--find-links/-f`` to accept local directories or filenames as well
5569    as URLs.
5570
5571 0.5a9
5572 -----
5573
5574  * Include ``svn:externals`` directories in source distributions as well as
5575    normal subversion-controlled files and directories.
5576
5577  * Added ``exclude=patternlist`` option to ``setuptools.find_packages()``
5578
5579  * Changed --tag-svn-revision to include an "r" in front of the revision number
5580    for better readability.
5581
5582  * Added ability to build eggs without including source files (except for any
5583    scripts, of course), using the ``--exclude-source-files`` option to
5584    ``bdist_egg``.
5585
5586  * ``setup.py install`` now automatically detects when an "unmanaged" package
5587    or module is going to be on ``sys.path`` ahead of a package being installed,
5588    thereby preventing the newer version from being imported. If this occurs,
5589    a warning message is output to ``sys.stderr``, but installation proceeds
5590    anyway. The warning message informs the user what files or directories
5591    need deleting, and advises them they can also use EasyInstall (with the
5592    ``--delete-conflicting`` option) to do it automatically.
5593
5594  * The ``egg_info`` command now adds a ``top_level.txt`` file to the metadata
5595    directory that lists all top-level modules and packages in the distribution.
5596    This is used by the ``easy_install`` command to find possibly-conflicting
5597    "unmanaged" packages when installing the distribution.
5598
5599  * Added ``zip_safe`` and ``namespace_packages`` arguments to ``setup()``.
5600    Added package analysis to determine zip-safety if the ``zip_safe`` flag
5601    is not given, and advise the author regarding what code might need changing.
5602
5603  * Fixed the swapped ``-d`` and ``-b`` options of ``bdist_egg``.
5604
5605  * EasyInstall now automatically detects when an "unmanaged" package or
5606    module is going to be on ``sys.path`` ahead of a package you're installing,
5607    thereby preventing the newer version from being imported.  By default, it
5608    will abort installation to alert you of the problem, but there are also
5609    new options (``--delete-conflicting`` and ``--ignore-conflicts-at-my-risk``)
5610    available to change the default behavior.  (Note: this new feature doesn't
5611    take effect for egg files that were built with older ``setuptools``
5612    versions, because they lack the new metadata file required to implement it.)
5613
5614  * The ``easy_install`` distutils command now uses ``DistutilsError`` as its
5615    base error type for errors that should just issue a message to stderr and
5616    exit the program without a traceback.
5617
5618  * EasyInstall can now be given a path to a directory containing a setup
5619    script, and it will attempt to build and install the package there.
5620
5621  * EasyInstall now performs a safety analysis on module contents to determine
5622    whether a package is likely to run in zipped form, and displays
5623    information about what modules may be doing introspection that would break
5624    when running as a zipfile.
5625
5626  * Added the ``--always-unzip/-Z`` option, to force unzipping of packages that
5627    would ordinarily be considered safe to unzip, and changed the meaning of
5628    ``--zip-ok/-z`` to "always leave everything zipped".
5629
5630 0.5a8
5631 -----
5632
5633  * The "egg_info" command now always sets the distribution metadata to "safe"
5634    forms of the distribution name and version, so that distribution files will
5635    be generated with parseable names (i.e., ones that don't include '-' in the
5636    name or version). Also, this means that if you use the various ``--tag``
5637    options of "egg_info", any distributions generated will use the tags in the
5638    version, not just egg distributions.
5639
5640  * Added support for defining command aliases in distutils configuration files,
5641    under the "[aliases]" section. To prevent recursion and to allow aliases to
5642    call the command of the same name, a given alias can be expanded only once
5643    per command-line invocation. You can define new aliases with the "alias"
5644    command, either for the local, global, or per-user configuration.
5645
5646  * Added "rotate" command to delete old distribution files, given a set of
5647    patterns to match and the number of files to keep.  (Keeps the most
5648    recently-modified distribution files matching each pattern.)
5649
5650  * Added "saveopts" command that saves all command-line options for the current
5651    invocation to the local, global, or per-user configuration file. Useful for
5652    setting defaults without having to hand-edit a configuration file.
5653
5654  * Added a "setopt" command that sets a single option in a specified distutils
5655    configuration file.
5656
5657  * There is now a separate documentation page for setuptools; revision
5658    history that's not specific to EasyInstall has been moved to that page.
5659
5660 0.5a7
5661 -----
5662
5663  * Added "upload" support for egg and source distributions, including a bug
5664    fix for "upload" and a temporary workaround for lack of .egg support in
5665    PyPI.
5666
5667 0.5a6
5668 -----
5669
5670  * Beefed up the "sdist" command so that if you don't have a MANIFEST.in, it
5671    will include all files under revision control (CVS or Subversion) in the
5672    current directory, and it will regenerate the list every time you create a
5673    source distribution, not just when you tell it to. This should make the
5674    default "do what you mean" more often than the distutils' default behavior
5675    did, while still retaining the old behavior in the presence of MANIFEST.in.
5676
5677  * Fixed the "develop" command always updating .pth files, even if you
5678    specified ``-n`` or ``--dry-run``.
5679
5680  * Slightly changed the format of the generated version when you use
5681    ``--tag-build`` on the "egg_info" command, so that you can make tagged
5682    revisions compare *lower* than the version specified in setup.py (e.g. by
5683    using ``--tag-build=dev``).
5684
5685 0.5a5
5686 -----
5687
5688  * Added ``develop`` command to ``setuptools``-based packages. This command
5689    installs an ``.egg-link`` pointing to the package's source directory, and
5690    script wrappers that ``execfile()`` the source versions of the package's
5691    scripts. This lets you put your development checkout(s) on sys.path without
5692    having to actually install them.  (To uninstall the link, use
5693    use ``setup.py develop --uninstall``.)
5694
5695  * Added ``egg_info`` command to ``setuptools``-based packages. This command
5696    just creates or updates the "projectname.egg-info" directory, without
5697    building an egg.  (It's used by the ``bdist_egg``, ``test``, and ``develop``
5698    commands.)
5699
5700  * Enhanced the ``test`` command so that it doesn't install the package, but
5701    instead builds any C extensions in-place, updates the ``.egg-info``
5702    metadata, adds the source directory to ``sys.path``, and runs the tests
5703    directly on the source. This avoids an "unmanaged" installation of the
5704    package to ``site-packages`` or elsewhere.
5705
5706  * Made ``easy_install`` a standard ``setuptools`` command, moving it from
5707    the ``easy_install`` module to ``setuptools.command.easy_install``. Note
5708    that if you were importing or extending it, you must now change your imports
5709    accordingly.  ``easy_install.py`` is still installed as a script, but not as
5710    a module.
5711
5712 0.5a4
5713 -----
5714
5715  * Setup scripts using setuptools can now list their dependencies directly in
5716    the setup.py file, without having to manually create a ``depends.txt`` file.
5717    The ``install_requires`` and ``extras_require`` arguments to ``setup()``
5718    are used to create a dependencies file automatically. If you are manually
5719    creating ``depends.txt`` right now, please switch to using these setup
5720    arguments as soon as practical, because ``depends.txt`` support will be
5721    removed in the 0.6 release cycle. For documentation on the new arguments,
5722    see the ``setuptools.dist.Distribution`` class.
5723
5724  * Setup scripts using setuptools now always install using ``easy_install``
5725    internally, for ease of uninstallation and upgrading.
5726
5727  * Added ``--always-copy/-a`` option to always copy needed packages to the
5728    installation directory, even if they're already present elsewhere on
5729    sys.path. (In previous versions, this was the default behavior, but now
5730    you must request it.)
5731
5732  * Added ``--upgrade/-U`` option to force checking PyPI for latest available
5733    version(s) of all packages requested by name and version, even if a matching
5734    version is available locally.
5735
5736  * Added automatic installation of dependencies declared by a distribution
5737    being installed.  These dependencies must be listed in the distribution's
5738    ``EGG-INFO`` directory, so the distribution has to have declared its
5739    dependencies by using setuptools.  If a package has requirements it didn't
5740    declare, you'll still have to deal with them yourself.  (E.g., by asking
5741    EasyInstall to find and install them.)
5742
5743  * Added the ``--record`` option to ``easy_install`` for the benefit of tools
5744    that run ``setup.py install --record=filename`` on behalf of another
5745    packaging system.)
5746
5747 0.5a3
5748 -----
5749
5750  * Fixed not setting script permissions to allow execution.
5751
5752  * Improved sandboxing so that setup scripts that want a temporary directory
5753    (e.g. pychecker) can still run in the sandbox.
5754
5755 0.5a2
5756 -----
5757
5758  * Fix stupid stupid refactoring-at-the-last-minute typos.  :(
5759
5760 0.5a1
5761 -----
5762
5763  * Added support for "self-installation" bootstrapping. Packages can now
5764    include ``ez_setup.py`` in their source distribution, and add the following
5765    to their ``setup.py``, in order to automatically bootstrap installation of
5766    setuptools as part of their setup process::
5767
5768     from ez_setup import use_setuptools
5769     use_setuptools()
5770
5771     from setuptools import setup
5772     # etc...
5773
5774  * Added support for converting ``.win32.exe`` installers to eggs on the fly.
5775    EasyInstall will now recognize such files by name and install them.
5776
5777  * Fixed a problem with picking the "best" version to install (versions were
5778    being sorted as strings, rather than as parsed values)
5779
5780 0.4a4
5781 -----
5782
5783  * Added support for the distutils "verbose/quiet" and "dry-run" options, as
5784    well as the "optimize" flag.
5785
5786  * Support downloading packages that were uploaded to PyPI (by scanning all
5787    links on package pages, not just the homepage/download links).
5788
5789 0.4a3
5790 -----
5791
5792  * Add progress messages to the search/download process so that you can tell
5793    what URLs it's reading to find download links.  (Hopefully, this will help
5794    people report out-of-date and broken links to package authors, and to tell
5795    when they've asked for a package that doesn't exist.)
5796
5797 0.4a2
5798 -----
5799
5800  * Added ``ez_setup.py`` installer/bootstrap script to make initial setuptools
5801    installation easier, and to allow distributions using setuptools to avoid
5802    having to include setuptools in their source distribution.
5803
5804  * All downloads are now managed by the ``PackageIndex`` class (which is now
5805    subclassable and replaceable), so that embedders can more easily override
5806    download logic, give download progress reports, etc. The class has also
5807    been moved to the new ``setuptools.package_index`` module.
5808
5809  * The ``Installer`` class no longer handles downloading, manages a temporary
5810    directory, or tracks the ``zip_ok`` option. Downloading is now handled
5811    by ``PackageIndex``, and ``Installer`` has become an ``easy_install``
5812    command class based on ``setuptools.Command``.
5813
5814  * There is a new ``setuptools.sandbox.run_setup()`` API to invoke a setup
5815    script in a directory sandbox, and a new ``setuptools.archive_util`` module
5816    with an ``unpack_archive()`` API. These were split out of EasyInstall to
5817    allow reuse by other tools and applications.
5818
5819  * ``setuptools.Command`` now supports reinitializing commands using keyword
5820    arguments to set/reset options. Also, ``Command`` subclasses can now set
5821    their ``command_consumes_arguments`` attribute to ``True`` in order to
5822    receive an ``args`` option containing the rest of the command line.
5823
5824  * Added support for installing scripts
5825
5826  * Added support for setting options via distutils configuration files, and
5827    using distutils' default options as a basis for EasyInstall's defaults.
5828
5829  * Renamed ``--scan-url/-s`` to ``--find-links/-f`` to free up ``-s`` for the
5830    script installation directory option.
5831
5832  * Use ``urllib2`` instead of ``urllib``, to allow use of ``https:`` URLs if
5833    Python includes SSL support.
5834
5835 0.4a1
5836 -----
5837
5838  * Added ``--scan-url`` and ``--index-url`` options, to scan download pages
5839    and search PyPI for needed packages.
5840
5841 0.3a4
5842 -----
5843
5844  * Restrict ``--build-directory=DIR/-b DIR`` option to only be used with single
5845    URL installs, to avoid running the wrong setup.py.
5846
5847 0.3a3
5848 -----
5849
5850  * Added ``--build-directory=DIR/-b DIR`` option.
5851
5852  * Added "installation report" that explains how to use 'require()' when doing
5853    a multiversion install or alternate installation directory.
5854
5855  * Added SourceForge mirror auto-select (Contributed by Ian Bicking)
5856
5857  * Added "sandboxing" that stops a setup script from running if it attempts to
5858    write to the filesystem outside of the build area
5859
5860  * Added more workarounds for packages with quirky ``install_data`` hacks
5861
5862 0.3a2
5863 -----
5864
5865  * Added new options to ``bdist_egg`` to allow tagging the egg's version number
5866    with a subversion revision number, the current date, or an explicit tag
5867    value. Run ``setup.py bdist_egg --help`` to get more information.
5868
5869  * Added subversion download support for ``svn:`` and ``svn+`` URLs, as well as
5870    automatic recognition of HTTP subversion URLs (Contributed by Ian Bicking)
5871
5872  * Misc. bug fixes
5873
5874 0.3a1
5875 -----
5876
5877  * Initial release.
5878