Ticket #1074: zetuptoolz-only-warn-if-not-our-site-py-v2.dpatch

File zetuptoolz-only-warn-if-not-our-site-py-v2.dpatch, 99.1 KB (added by davidsarah, at 2010-08-02T06:20:14Z)

setuptools/command/easy_install.py: if site.py does not start with the 'def boot():' signature, warn (and do not overwrite it) rather than failing the installation.

Line 
11 patch for repository davidsarah@tahoe-lafs.org:/home/source/darcs/zetuptoolz/trunk:
2
3Mon Aug  2 06:59:27 GMT Daylight Time 2010  david-sarah@jacaranda.org
4  * setuptools/command/easy_install.py: if site.py does not start with the 'def __boot():' signature, warn (and do not overwrite it) rather than failing the installation.
5
6New patches:
7
8[setuptools/command/easy_install.py: if site.py does not start with the 'def __boot():' signature, warn (and do not overwrite it) rather than failing the installation.
9david-sarah@jacaranda.org**20100802055927
10 Ignore-this: 59c6c95414357e0cb367465325f7e5a2
11] hunk ./setuptools/command/easy_install.py 1089
12             log.debug("Checking existing site.py in %s", self.install_dir)
13             current = open(sitepy,'rb').read()
14             if not current.startswith('def __boot():'):
15-                raise DistutilsError(
16-                    "%s is not a setuptools-generated site.py; please"
17-                    " remove it." % sitepy
18-                )
19+                print ("**********************************************************************\n"
20+                       "Warning: %s is not a setuptools-generated site.py\n"
21+                       "It will not be overwritten.\n"
22+                       "**********************************************************************\n"
23+                      ) % (sitepy,)
24+                self.sitepy_installed = True
25+                return
26 
27         if current != source:
28             log.info("Creating %s", sitepy)
29
30Context:
31
32[setuptools/sandbox.py: Fix a problem with sandbox swapping 'open' and 'file' builtins. Support sandbox access to os.devnull. Equivalent to change in setuptools svn revision 80621 (2010-04-29).
33david-sarah@jacaranda.org**20100731025037
34 Ignore-this: 36c0c6788fd65bf87e681c15072c721f
35] 
36[merge changes and remove unused import
37zooko@zooko.com**20100523175508
38 Ignore-this: adbcb7e313eb9d9bdcae2fe7f3dbbe6f
39] 
40[Fix wrong keyword argument for specifying test tunner to unittest
41phillip.eby**20100312184011
42 Ignore-this: fbdaecd6c31ed8ee9dc809ecfffdc5ac
43] 
44[Yet another Sourceforge download fix
45phillip.eby**20100201163817
46 Ignore-this: 2ffaaf67be7073140918fc7b8a291015
47] 
48[Fix incorrect error message/traceback when no download
49phillip.eby**20091105155809
50 Ignore-this: 3311bc52a624fe9b71144e9ade5152d3
51 is found.
52] 
53[Fix for issue 88
54phillip.eby**20091028170953
55 Ignore-this: 2869fb03fe37ee5c67f93304ea4ece74
56] 
57[Fix the elusive "double upload bdist_wininst" bug
58phillip.eby**20091019214636
59 Ignore-this: c659bd76108f664448892933a0854376
60] 
61[Fix lost launcher changes, string.split().
62phillip.eby**20091019210206
63 Ignore-this: a232501033c73ebabb57920e21ce26a3
64] 
65[Add a better link to the files
66phillip.eby**20091014025059
67 Ignore-this: 3a11d77458ee07d65fcc89be710a7246
68] 
69[Fixes for Windwos 64 and Vista UAC errors
70phillip.eby**20091012202033
71 Ignore-this: 8075132bffa551a7b104790b174306b8
72] 
73[Major updates and fixes include:
74phillip.eby**20091012195846
75 Ignore-this: 221fc598c157bb09110610c61606e477
76 
77 * Fix for the Python 2.6.3 build_ext API change
78 * Support for the most recent Sourceforge download link insanity
79 * Support for SVN 1.6
80 * Stop crashing on certain types of HTTP error
81 * Stop re-trying URLs that already failed retrieval once
82 * Fixes for various dependency management problems such as looping
83   builds, re-downloading packages already present on sys.path (but not
84   in a registered "site" directory), and randomly preferring local -f
85   packages over local installed packages
86 * Prevent lots of spurious "already imported from another path" warnings
87   (e.g. when pkg_resources is imported late)
88 * Ensure C libraries (as opposed to extensions) are also built when
89   doing bdist_egg
90 * Fixed running the "test" command under Python 2.6+
91 
92 Other changes:
93 * Misc. documentation fixes
94 * Improved Jython support
95 * Fewer warnings under Python 2.6+
96 * Warn when 'packages' uses paths instead of package names (because it
97   causes other problems, like spurious "already imported" warnings)
98 * Stop using /usr/bin/sw_vers on Mac OS (replaced w/'platform' module
99   calls)
100 
101 Note: This is NOT a merge from Distribute; upon review, many of the
102 tracker-submitted patches used as a basis for forking were incorrect,
103 incomplete, introduced new bugs, or were not addressing the root
104 causes.  (E.g., one of the changes in this patch fixes three superficially
105 unrelated issues in the setuptools bug tracker.)  Careful review will be
106 required if you  want to merge this work back into Distribute.
107] 
108[Fixes for Windwos 64 and Vista UAC errors
109phillip.eby**20091012202033
110 Ignore-this: d09ca72d9c23a001579fb5bf84a28f9f
111] 
112[VERSION=0.6c14dev
113zooko@zooko.com**20090724121405
114 Ignore-this: 412b004941e16aceb5a343bdb9099f62
115] 
116[add cli.exe and gui.exe
117zooko@zooko.com**20090724121235
118 Ignore-this: 1eccf7f75a87956daed9668c5481aaa0
119] 
120[setup: VERSION=0.6c13
121zooko@zooko.com**20090703214638
122 Ignore-this: ee8d7e9c97e932f271fd65bd5a9274b8
123] 
124[manually undo the patch "Backport pkgutil, pydoc, and doctest from the 2.5 trunk to setuptools."
125zooko@zooko.com**20090703214517
126 Ignore-this: 993ea673533b35a6967682667d87e46d
127] 
128[Automatically add instdir to all_site_dirs, and go ahead and write a site.py even if it isn't on the PYTHONPATH.
129zooko@zooko.com**20090205150048
130 Ignore-this: 7717d45de7ea00d11ec3752507d7135a
131 This is to support the use case of installing with --prefix into a directory that isn't on the PYTHONPATH, and then adding it to the PYTHONPATH and running.
132 Some people who are in the habit of using PYTHONPATH like this prefer to pass the PYTHONPATH explicitly at the beginning of each command-line, like this:
133 
134 $ PYTHONPATH=./support/lib/python2.5/site-packages python ./docoolthing.py
135 
136 instead of by setting a persistent environment variable in their shell, like this:
137 
138 $ export PYTHONPATH=./support/lib/python2.5/site-packages
139 $ python ./docoolthing.py
140 
141 This is the topic of http://bugs.python.org/setuptools/issue54
142 
143] 
144[add sys.path to the index to search for easy_install
145zooko@zooko.com**20090203004109
146 Ignore-this: eac7b84940c5c290ec5f1a8931576606
147] 
148[hand built egg, renamed to not specify py2.5, added cli.exe and gui.exe, and about to add _pkgutil.py
149zooko@zooko.com**20081025151204
150 Ignore-this: a4b1837fa6429dcffa4996b129a19352
151] 
152[change exception into warning when target install dir isn't pth-capable
153zooko@zooko.com**20081115190501
154 Ignore-this: 5965276b28210180712c5370954cd550
155 This eases the common use case of "./setup.py install --prefix=foo"
156 followed by some other mechanism to make sure that ./foo/... is
157 importable, and makes setuptools behave more like distutils in this regard.
158 
159] 
160[try to mkdir the install directory
161zooko@zooko.com**20081115190420
162 Ignore-this: 4454e4a559e4114de0d96ac5b351e2ad
163 This eases the common use case of "./setup.py install --prefix=somedir"
164 and makes setuptools behave more like distutils in this case.
165] 
166[leave the PYTHONPATH dirs at the front of the sys.path
167zooko@zooko.com**20081115185932
168 Ignore-this: 494791a9f73bdf3ebf08657e6d7d98fb
169 This is in accordance with
170 http://www.python.org/doc/2.5.2/inst/search-path.html , which says "The
171 PYTHONPATH variable can be set to a list of paths that will be added to
172 the beginning of sys.path.", and it resolves an objection many people
173 have which impels them to ban setuptools from systems they administrate.
174 
175] 
176[call it 0.6c10dev
177zooko@zooko.com**20081025122705
178 Ignore-this: 48835c56f9a7015c829480e160b74e01
179] 
180[Keep site directories (e.g. site-packages) from being included in
181phillip.eby**20080924172009
182 .pth files.
183] 
184[Fix for http://bugs.python.org/setuptools/issue39
185phillip.eby**20080924170535] 
186[Doc typo fix
187phillip.eby**20080924165637] 
188[Fix for http://bugs.python.org/setuptools/issue47 - more md5 usage
189phillip.eby**20080924165229] 
190[Fix for http://bugs.python.org/setuptools/issue27 (Jython shebang
191phillip.eby**20080924164220
192 lines)
193] 
194[Fix for http://bugs.python.org/setuptools/issue37 - missing
195phillip.eby**20080911154326
196 __loader__ running under Google App Engine.
197] 
198[Added 'test_runner'.  (Note: this is a new feature and should not
199phillip.eby**20080821215416
200 be backported to the 0.6 branch.)
201] 
202[Ensure that _full_name is set on all shared libs before extensions
203phillip.eby**20080821213758
204 are checked for shared lib usage.  (problem reported by Andi Vajda)
205] 
206[Fix for http://bugs.python.org/setuptools/issue34
207phillip.eby**20080821192547] 
208[Fix for http://bugs.python.org/setuptools/issue9
209phillip.eby**20080821191924] 
210[Fix for http://bugs.python.org/setuptools/issue29
211phillip.eby**20080821190929] 
212[Fix for http://bugs.python.org/setuptools/issue11
213phillip.eby**20080821185402] 
214[Candidate fix for http://bugs.python.org/setuptools/issue20
215phillip.eby**20080821184159] 
216[Fix for http://bugs.python.org/setuptools/issue31
217phillip.eby**20080821183437] 
218[Fix for http://bugs.python.org/setuptools/issue16
219phillip.eby**20080821181703] 
220[Fix for http://bugs.python.org/setuptools/issue5
221phillip.eby**20080821175952] 
222[Fix for http://bugs.python.org/setuptools/issue7
223phillip.eby**20080821175532] 
224[Enhanced error message per http://bugs.python.org/setuptools/issue28
225phillip.eby**20080821174725] 
226[Fix for http://bugs.python.org/setuptools/issue23
227phillip.eby**20080821174205] 
228[Misc. documentation updates/fixes
229phillip.eby**20080821172042] 
230[More SVN 1.5 fixing
231phillip.eby**20080724211623] 
232[Support subversion 1.5
233phillip.eby**20080716135651] 
234[Support installing pywin32 as an egg, albeit without registering
235phillip.eby**20080310162225
236 COM support, shortcuts, etc.
237] 
238[Fixed issues with empty resource names for resource_listdir et al.
239phillip.eby**20080215234944] 
240[Fixed missing import
241phillip.eby**20080215234919] 
242[Warn if a namespace package is declared, but its parent
243phillip.eby**20080214211714
244 package is not.
245] 
246[Support upgrading existing setuptools when run from a setup.py
247phillip.eby**20080214193528
248 script (but not during easy_install, unfortunately).
249] 
250[Fix interactions between the various "require" options,
251phillip.eby**20080119024651
252 so that downloads aren't repeated and needed eggs are
253 always installed, even if they were downloaded to the
254 setup directory already.
255] 
256[chmod/test cleanups and Jython support.
257phillip.eby**20080118214709] 
258[Update Pyrex/swig_sources workaround for newer Pyrex versions
259phillip.eby**20080115175223] 
260[Fix not picking up dependency links from recursive dependencies.
261phillip.eby**20080115174417] 
262[Fix gui.exe launcher issue reported by Alexander Michael and Robin Dunn.
263phillip.eby**20080103234438] 
264[Fix dependency on Python 2.5
265phillip.eby**20071026022031] 
266[Prevent --help-commands and other junk from showing under
267phillip.eby**20071008114807
268 Python 2.5 when running "easy_install" directly.
269] 
270[Fix cross-platform line-end problem with SOURCES.txt: distutils
271phillip.eby**20070926170339
272 doesn't expect manifest files to be shipped across platforms.
273] 
274[Remove all references to the Cheese Shop, and switch to using
275phillip.eby**20070904155318
276 the new PyPI "/simple" REST API.
277] 
278[Fix import problems with system-installed nested namespace packages,
279phillip.eby**20070904040757
280 due to the parent package not having the child package as an attribute.
281] 
282[Fix precedence issue between .egg and .egg-info packages
283phillip.eby**20070904035125
284 when both are installed in site-packages.
285] 
286[Fix downloading from ftp: URLs (which don't have a content-type).
287phillip.eby**20070824031432] 
288[Fix a problem with the findall() fix.  :(
289phillip.eby**20070712173106] 
290[Fix distutils.filelist.findall() crashing on broken symlinks.  Fix
291phillip.eby**20070711173402
292 egg_info failures on new, uncommitted SVN directories.
293] 
294[Misc. fixes:
295phillip.eby**20070531172056
296 
297 * Don't treat directories with a '.' in the name as packages
298 * Don't include ez_setup in find_packages()
299 * HTML-decode URLs scraped from web pages (d'oh!)
300 * Fix cache dir defaults on Windows when multiple env vars used
301 * Doc updates
302] 
303[Setting svn:eol properties everywhere where they weren't set yet.
304guido.van.rossum**20070425195151] 
305[Changed setuptools.package_index.PackageIndex.open_url to include the
306jim.fulton**20070309161241
307 url in the exception.
308] 
309[Fix problem activating dependencies for tests
310phillip.eby**20070302012227] 
311[Fix "test" command possibly failing if an older version of the project
312phillip.eby**20070224220920
313 being tested is installed on sys.path ahead of the test source directory.
314] 
315[Add --local-snapshots-ok flag, to allow building eggs from projects
316phillip.eby**20070223202729
317 installed using "setup.py develop".
318] 
319[Get rid of 'sets' module usage under Python 2.4+, so that no warnings
320phillip.eby**20070223192457
321 are issued by Python 2.6.
322] 
323[Indicate when dependency processing is finished, so that you can tell
324phillip.eby**20070223192254
325 which dependencies go with what.  (Suggested by Ian Bicking)
326] 
327[Respect possible entry point override of 'easy_install' command.
328phillip.eby**20070220224540] 
329[Fix error if script contains null byte.
330phillip.eby**20070217175345] 
331[Internals updated for relative .egg-link support
332phillip.eby**20070215193702] 
333[Support .egg-link paths being relative
334phillip.eby**20070215193508] 
335[Add --egg-path option to force .egg-link files to use relative paths
336phillip.eby**20070215191941
337 (allowing them to be shared across platforms on a networked drive).
338] 
339[Ensure extracted libraries have correct permissions on Posix systems
340phillip.eby**20070208200816
341 (e.g. Cygwin, which is where I found the problem.)
342] 
343[Match Python 2.5 pydoc
344phillip.eby**20070206125526] 
345[Fix script language detection so that scripts built on Windows are
346phillip.eby**20070201195949
347 correctly identified as still being Python code!
348] 
349[Fixed mangling line endings when an old-style source script came from
350phillip.eby**20070201185706
351 Windows.
352] 
353[Fix #! parsing problems w/whitespace in quoted strings or at the end
354phillip.eby**20070124205726
355 of the #! line.
356] 
357[If a page can't be spidered, warn and ignore rather than aborting.
358phillip.eby**20070124153900] 
359[Fix "bashism" in eggsecutable header.
360phillip.eby**20070124152212] 
361[Incorporate README fix from 0.6 branch.
362phillip.eby**20070124152148] 
363[Workaround for Python 2.5 distutils bug: when bdist_wininst files are
364phillip.eby**20070109192242
365 uploaded, they are marked as suitable for "any" Python version, even if
366 an explicit --target-version was specified.  (This needs to be fixed in
367 the distutils too.)
368] 
369[Fix not making Cygwin .dll's executable when installing in non-zip-safe
370phillip.eby**20070109185723
371 mode.
372] 
373[Argh, again.
374phillip.eby**20070109182136] 
375[Backport from branch.
376phillip.eby**20070109181432] 
377[Don't double-upload .exe files under Python 2.5.  :(
378phillip.eby**20070109180831] 
379[Formatting fixes for README
380phillip.eby**20070109175934] 
381[Fix not generating correct .pth for parent namespace packages when
382phillip.eby**20070105181531
383 installing --single-version-externally-managed.
384] 
385[Add Basic Auth support for http URLs with embedded credentials.  If an
386phillip.eby**20061230160314
387 authenticated page contains links to the same protocol and host, those
388 links should inherit the same credentials.
389] 
390[Fix os.open() sandboxing code that refused anything but read-only access.
391phillip.eby**20061230030609] 
392[Switch default package-index to cheeseshop.python.org, and make
393phillip.eby**20061229175025
394 setuptools' home page its cheeseshop page.
395] 
396[Whoops; dupes were already taken care of elsewhere.
397phillip.eby**20061229174103] 
398[Overhaul Windows script wrappers to support bdist_wininst better. 
399phillip.eby**20061229173314
400 Scripts installed with bdist_wininst will always use #!python.exe or
401 #!pythonw.exe as the executable name, and the wrappers will look for the
402 executable in the script's parent directory.  Since bdist_wininst
403 scripts are installed to Python2X/Scripts, this will look for
404 Python2X/python.exe.  Scripts installed by easy_install, however, will
405 still use an absolute executable path.  Also fixed: some egg<->exe
406 roundtripping issues, and script #! lines on Windows can now have an
407 arbitrary number of arguments following the Python exe name, and the 
408 exe name is quoted if necessary, following the MS command line parsing
409 rules.
410] 
411[Partial support for cross-platform generation of bdist_wininst .exe's.
412phillip.eby**20061229012949
413 Unfortunately, bdist_wininst doesn't fix up #! lines, so python.exe or
414 pythonw.exe have to be on PATH for generated scripts to work.  This
415 could probably be fixed up with a post-install script, but that's a
416 job for another day.
417] 
418[Work around a distutils bdist_wininst bug: if the user has specified an
419phillip.eby**20061229005834
420 --install-lib via a configuration file, the path is hardcoded into the
421 .exe file in place of PLATLIB/ or PURELIB/.  (This bug should also be
422 fixed in distutils' bdist_wininst!)
423] 
424[Fix import problem for bdist_rpm w/Python<2.5
425phillip.eby**20061229004032] 
426[Removed all special support for Sourceforge mirrors, since SF finally
427phillip.eby**20061229003104
428 replaced their crazy mirror system with something sane.
429] 
430[New installation instructions and credits
431phillip.eby**20061229000623] 
432[Fix problem w/' ' in sys.executable on Windows.
433phillip.eby**20061201033900] 
434[Fixed not allowing os.open() of paths outside the sandbox, even if they
435phillip.eby**20061024182935
436 are opened read-only (e.g. /dev/urandom).
437] 
438[Use cross-platform relative paths in .pth if target is anywhere inside the
439phillip.eby**20060929192410
440 .pth file's directory.
441] 
442[Fix problem generating "eggsecutable" header if dist/ dir doesn't exst yet.
443phillip.eby**20060928044752] 
444[Allow explicit selection of Sourceforge mirror(s) with --sf-mirror, and
445phillip.eby**20060927015648
446 further refine download/retry algorithm.
447] 
448[Should've used distutils.log.warn instead of warnings.warn
449phillip.eby**20060926201505] 
450[Handle empty revision numbers in SVN 1.4 "entries" format
451phillip.eby**20060926161741] 
452[Fix SF download problems when server returns HTML instead of a 404.  Use
453phillip.eby**20060925212419
454 sf-mirrors.telecommunity.com as a fallback to get SF mirror info if the
455 first dl.sourceforge.net attempt doesn't work.
456] 
457[Fix "dev" versions being considered newer than release candidates.  :(
458phillip.eby**20060925175846] 
459[Add support for "eggsecutable" headers: a /bin/sh script that is prepended
460phillip.eby**20060922000356
461 to an .egg file to allow it to be run as a script on Unix-ish platforms.
462 (This is mainly so that setuptools itself can have a single-file installer
463 on Unix, without doing multiple downloads, dealing with firewalls, etc.)
464] 
465[Fix broken imports.
466phillip.eby**20060921222831] 
467[Fix bdist_wininst files not being uploaded by "upload"
468phillip.eby**20060921221340] 
469[Support uploading bdist_rpm files on older Python versions (2.3/2.4)
470phillip.eby**20060921215859] 
471[Fix easy_install not recognizing win32.exe files that include a custom bitmap.
472phillip.eby**20060921205907] 
473[Retain 2.3/2.4 compatibility as well...
474phillip.eby**20060920202057] 
475[Python 2.5 compatibility fix
476phillip.eby**20060920201100] 
477[Support svn 1.4 working copy format
478phillip.eby**20060917161854] 
479[Prevent deprecation warnings coming from generated scripts when
480phillip.eby**20060906205428
481 sys.executable contains non-ASCII characters.
482] 
483[Make "setup.py develop" of a setuptools-using project install
484phillip.eby**20060906195435
485 setuptools, if needed, instead of only downloading the egg.
486] 
487[Don't check installation directory writability and site/.pth setup when
488phillip.eby**20060906194339
489 using --editable.
490] 
491[Support setuptools .egg being in current directory when bootstrapping on
492phillip.eby**20060906181013
493 an offline machine.  Output what version/location is conflicting when a
494 newer version of setuptools is requested.
495] 
496[Added quoting of script arguments and extended the quoting logic to
497jim.fulton**20060822194248
498 handle embedded quotes.
499 
500 Added support for passing a single argument on the shebang line to
501 pass things like -O and -i.
502 
503 Fixed bug in handling trailing whitespace in Python command.
504] 
505[Fix wrong Mac OS X installation paths.
506phillip.eby**20060813174259] 
507[Sync pkgutil from trunk
508phillip.eby**20060728235814] 
509[Fix a problem with eggs specified directly on PYTHONPATH on
510phillip.eby**20060721165418
511 case-insensitive filesystems possibly not showing up in the default
512 working set.
513] 
514[Update MD5 matching for current PyPI code.  :(
515phillip.eby**20060720204649] 
516[Identify the setuptools version as part of the User-Agent string when
517phillip.eby**20060720203727
518 spidering pages or downloading files.
519] 
520[Make sdist-from-sdist builds keep the exact same version number, even if
521phillip.eby**20060718164942
522 --tag-date was used to build the original sdist.
523] 
524[Edit an sdist's setup.cfg to include any egg_info options that were used
525phillip.eby**20060718163207
526 to build it.
527] 
528[Restored support for extra_path when using backward compatibility mode.
529phillip.eby**20060718155946] 
530[Fix three problems reported by Bob Ippolito and Jim Fulton
531phillip.eby**20060714233215] 
532[Fix doubled --tag-build option.
533phillip.eby**20060711194919] 
534[Fix doc typo
535phillip.eby**20060711194829] 
536[Don't warn about possible misspelling if we know that a project with
537phillip.eby**20060711182341
538 that name does in fact exist.
539] 
540[Crosslink "Creating your own package index" to the new docs.
541phillip.eby**20060711011451] 
542[Add documentation for package index "API" (layout/content rules)
543phillip.eby**20060711011215] 
544[Reduce screenscraping required for a package index.  Homepage and
545phillip.eby**20060711000616
546 download URLs can now be marked with 'rel="download"' and
547 'rel="homepage"' respectively, and the 'Index of Packages' string is no
548 longer required.  Since PyPI doesn't yet support rel="" attributes, the
549 old "<th>"-matching code remains, as does the MD5 scraping.
550] 
551[Allow use of file:// URLs for --index-url.
552phillip.eby**20060710225403] 
553[Fix not recognizing HTML 404 pages from package indexes.
554phillip.eby**20060710215412] 
555[Ensure that sys.path_importer_cache is updated when an existing zipfile
556phillip.eby**20060710212514
557 or directory is deleted.
558] 
559[Don't warn about missing README(.txt) unless creating an sdist
560phillip.eby**20060710211427] 
561[Tweak docs for subversion release stuff to make better use of new
562phillip.eby**20060710204533
563 options.
564] 
565[Update aliases for easier release using new options
566phillip.eby**20060710203858] 
567[Add --no-date and --no-svn-revision options to make creating release
568phillip.eby**20060710203345
569 snapshots easier.
570] 
571[Fix "register" command not necessarily reflecting build tags.
572phillip.eby**20060710200448] 
573[Include more detailed version ranges spec, and make Requirement.specs a
574phillip.eby**20060710195406
575 public/documented attribute.
576] 
577[Fix broken error message for socket error during upload.
578phillip.eby**20060710194835] 
579[Fix ftp:// directory listing URLs from causing a crash when used in the
580phillip.eby**20060620211924
581 URL or Download URL slot on PyPI.
582] 
583[Implement detection of non-Python scripts, as described in
584phillip.eby**20060615201616
585 http://mail.python.org/pipermail/distutils-sig/2006-June/006359.html
586] 
587[Allow .py files found by the include_package_data option to be
588phillip.eby**20060609182428
589 automatically included.  Remove duplicate data file matches if both
590 include_package_data and package_data are used to refer to the same
591 files.
592] 
593[Fix mysterious errors during initial setuptools install, caused by
594phillip.eby**20060609175510
595 ez_setup trying to run easy_install twice, due to a code fallthru
596 after deleting the egg from which it's running.
597] 
598[Fix sometimes not detecting local packages installed outside of "site"
599phillip.eby**20060609164203
600 directories.
601] 
602[Fix local --find-links eggs not being copied except with --always-copy.
603phillip.eby**20060607200552] 
604[Fix bdist_egg not including files in .egg-info subdirectories.
605phillip.eby**20060607193220] 
606[Clarify the limitations of get_provider(packagename)
607phillip.eby**20060607183701] 
608[Fix a duplicate path insertion bug on case-insensitive filesystems,
609phillip.eby**20060607182702
610 found by Markku Mielityinen.
611] 
612[Fix a problem w/relative path generation if you install an egg whose
613phillip.eby**20060530175627
614 name begins with 'import'.
615] 
616[Don't make things warnings that aren't; update info text for
617phillip.eby**20060526190328
618 --multi-version.
619] 
620[Don't install or update a ``site.py`` patch when installing to a
621phillip.eby**20060523190927
622 ``PYTHONPATH`` directory with ``--multi-version``, unless an
623 ``easy-install.pth`` file is already in use there.
624] 
625[Merge doc update from 0.6b1
626phillip.eby**20060523190645] 
627[Remove outdated MD5 signatures
628phillip.eby**20060523190613] 
629[Better ambiguity management: accept #egg name/version even if processing
630phillip.eby**20060512221619
631 what appears to be a correctly-named distutils file, and ignore .egg
632 files with no '-', since valid Python .egg files always have a version
633 number (but Scheme eggs often don't).
634] 
635[Python 2.5 supports -m w/zipped modules, and Python 2.3 has no -m, so
636phillip.eby**20060428181218
637 there's no need to treat script modules as zip-unsafe unless we're
638 running 2.4 exactly.
639] 
640[Remove out-of-date info about zipfile analysis
641phillip.eby**20060428180407] 
642[Fix entry point parsing when a standalone module name has whitespace
643phillip.eby**20060427180244
644 between it and the extras.
645] 
646[Forgot to document script wrappers
647phillip.eby**20060426001053] 
648[Add "internals" documentation describing file formats, sys.path
649phillip.eby**20060425223207
650 manipulation, zip file issues, file naming, etc., mostly by reference to
651 other documentation and a few distutils-sig posts.
652] 
653[Catch 'module' names in internal module name list as well.
654phillip.eby**20060424205018] 
655[Strip 'module' from the end of compiled extension modules when computing
656phillip.eby**20060424202232
657 the name of a .py loader/wrapper.  Python's import machinery ignores
658 this suffix when searching for an extension module.
659] 
660[Recognize 'U' as a valid read-only mode for open()
661phillip.eby**20060421173855] 
662[Ignore bdist_dumb distributions when looking for downloads.
663phillip.eby**20060421170643] 
664[Support file:// links to directories in --find-links, so that
665phillip.eby**20060419001858
666 easy_install can build packages from local source checkouts.
667] 
668[Backport whitespace normalization from 2.5 trunk.
669phillip.eby**20060419001321] 
670[Split ``get_platform()`` into ``get_supported_platform()`` and
671phillip.eby**20060418152706
672 ``get_build_platform()`` to work around a Mac versioning problem that caused
673 the behavior of ``compatible_platforms()`` to be platform specific.
674] 
675[Handle being run via -m with no __file__ if done from a zipfile in
676phillip.eby**20060418042518
677 Python 2.5.
678] 
679[Changes to the experimental 'Feature' feature to be compatible with
680phillip.eby**20060418034051
681 Python 2.5 distutils, so the tests don't bomb under 2.5
682] 
683[Make errors __repr__ the same as the default exception repr in Python
684phillip.eby**20060418032910
685 2.5, so doctests will work right.  :(
686] 
687[Move api_tests.txt file to tests subpackage for easier integration
688phillip.eby**20060418030838
689 w/stdlib test suites.
690] 
691[Backport pkgutil, pydoc, and doctest from the 2.5 trunk to setuptools
692phillip.eby**20060418030316
693 0.7 trunk.  (Sideport?)  Setuptools 0.7 will install these in place of
694 the 2.3/2.4 versions (at least of pydoc and doctest) to let them work
695 properly with eggs.  pkg_resources now depends on the 2.5 pkgutil, which
696 is included here as _pkgutil, to work around the fact that some system
697 packagers will install setuptools without overriding the stdlib modules. 
698 But users who install their own setuptools will get them, and the system
699 packaged people probably don't need them.
700] 
701[Trap absolute paths given as package_dirs, which foul up things terribly.
702phillip.eby**20060415053216] 
703[First round of prepping setuptools for inclusion in Python 2.5: move
704phillip.eby**20060414193838
705 site.py to setuptools/site-patch.py; reinstate 'python -m easy_install'
706 support; use distutils' "upload" command when running under 2.5.
707] 
708[Namespace package doc tweaks.
709phillip.eby**20060414191737] 
710[Don't eagerly import namespace packages.  This was the big reason for
711phillip.eby**20060414191324
712 branching to 0.7 now, as I wanted this wart gone before anything went
713 into Python 2.5.  But it's gone now, yay!
714] 
715[Bump trunk version # to 0.7a1.dev, and clear out old version history
716phillip.eby**20060414181050
717 from release notes.
718] 
719[Added automatic retry for Sourceforge mirrors.  The new download process is
720phillip.eby**20060409202549
721 to first just try dl.sourceforge.net, then randomly select mirror IPs and
722 remove ones that fail, until something works.  The removed IPs stay removed
723 for the remainder of the run.
724] 
725[Bump version to 0.6a12dev...  but hopefully it will in fact be 0.6b1.
726phillip.eby**20060330003843] 
727[Misc. doc formatting/phrasing corrections
728phillip.eby**20060330000010] 
729[0.6a11 release
730phillip.eby**20060329235925] 
731[Fix typo
732phillip.eby**20060329234035] 
733[Added ``test_loader`` keyword to support custom test loaders.
734phillip.eby**20060329233241] 
735[More docs for .py#egg and ``dependency_links``
736phillip.eby**20060329230916] 
737[Added ``setuptools.file_finders`` entry point group to allow implementing
738phillip.eby**20060329222338
739 revision control plugins.
740] 
741[Added ``--identity`` option to ``upload`` command.
742phillip.eby**20060329214501] 
743[Added ``ExtractionError`` and ``ResourceManager.extraction_error()`` so that
744phillip.eby**20060329211122
745 cache permission problems get a more user-friendly explanation of the
746 problem, and so that programs can catch and handle extraction errors if they
747 need to.
748] 
749[Fix a problem with the test loader finding the bundled doctest's
750phillip.eby**20060329210943
751 TestCase subclasses and trying to run them, too.
752] 
753[Implement dependency_links feature, courtesy of Tres Seaver's rough
754phillip.eby**20060329192355
755 draft of a patch.
756] 
757[Support complex .pth files in win32.exe->.egg conversion; this addition
758phillip.eby**20060329054140
759 lets easy_install handle pywin32...  well, almost.  You still have to
760 deal with the "system" DLLs yourself.
761] 
762[Fall back to a reasonable default Sourceforge address if the machine is
763phillip.eby**20060328230658
764 unable to obtain the mirror IP list via DNS.
765] 
766[Enhanced test loader to scan packages as well as modules, and call
767phillip.eby**20060328224057
768 ``additional_tests()`` if present to get non-unittest tests.
769] 
770[Support Python 2.5, which now includes its own install_egg_info command.
771phillip.eby**20060328190752] 
772[Eliminate spurious warnings due to case-insensitive file systems
773phillip.eby**20060328170706] 
774[Fix ZipImportError when overwriting a zipfile with the same name/version
775phillip.eby**20060324174902
776 but different contents.
777] 
778[Remove use of obsolete --ignore-conflicts-at-my-risk option
779phillip.eby**20060324174817] 
780[Ensure SOURCES.txt references itself even the first time it is generated
781phillip.eby**20060324173452
782 (i.e., when it didn't exist prior to egg_info being run).
783] 
784[Don't generate a loader .py file in .egg file for extensions that aren't
785phillip.eby**20060321190455
786 actually built.  This prevents problems w/customized setups that make
787 some extensions optional (e.g. scipy.distutils).
788] 
789[Use relative paths in ``.pth`` files when eggs are being installed to the
790phillip.eby**20060320230622
791 same directory as the ``.pth`` file.  This maximizes portability of the
792 target directory when building applications that contain eggs.
793] 
794[Added ``easy_install-N.N`` script(s) for convenience when using multiple
795phillip.eby**20060320222838
796 Python versions.
797] 
798[Fix a problem with fetch() method backward compatibility.
799phillip.eby**20060317180554] 
800[Tweak the nspkg.pth hack to avoid creating a module if there *is* an
801phillip.eby**20060317171619
802 __init__.py installed.  It may be that this should check for .pyc/.pyo,
803 but system packagers don't normally remove them.
804] 
805[Support namespace packages in conjunction with system packagers, by omitting
806phillip.eby**20060317165723
807 the installation of any ``__init__.py`` files for namespace packages, and
808 adding a special ``.pth`` file to create a working package in ``sys.modules``.
809 
810] 
811[Preserve timestamps and permissions when "unpacking" (copying) a
812phillip.eby**20060317155205
813 directory tree.
814] 
815[Added automatic handling of installation conflicts.  Eggs are now shifted to
816phillip.eby**20060311003909
817 the front of sys.path, in an order consistent with where they came from,
818 making EasyInstall seamlessly co-operate with system package managers.
819 
820 The ``--delete-conflicting`` and ``--ignore-conflicts-at-my-risk`` options
821 are now no longer necessary, and will generate warnings at the end of a
822 run if you use them.
823] 
824[Record recent changes in the release notes.
825phillip.eby**20060304000222] 
826[Made ``--single-version-externally-managed`` automatic when ``--root`` is
827phillip.eby**20060304000020
828 used, so that most system packagers won't require special support for
829 setuptools.
830] 
831[Don't recurse into subdirectories when scanning --find-links
832phillip.eby**20060303235100] 
833[Fix setup_requires/tests_require/etc. not using setup.cfg or other
834phillip.eby**20060228212253
835 config files for option defaults.
836] 
837[When installing setup_requires/tests_require packages, use
838phillip.eby**20060228205927
839 --multi-version so that '.' doesn't have to support .pth files.
840] 
841[Prevent failed attempts at removing MANIFEST.in from masking errors that
842phillip.eby**20060221224458
843 occur while reading it.
844] 
845[bump version #
846phillip.eby**20060221224416] 
847[Misc. doc fixes
848phillip.eby**20060215151028] 
849[0.6a10 release
850phillip.eby**20060214210108] 
851[Minor tweak to installation report, and add in a hook for later
852phillip.eby**20060214205434
853 displaying the "extras" that can be added to a package.
854] 
855[Fix a Windows problem when the Python executable is in a directory with
856phillip.eby**20060214190756
857 a ' ' in its name.
858] 
859[Added the ``extras`` attribute to ``Distribution``, the ``find_plugins()``
860phillip.eby**20060214190504
861 method to ``WorkingSet``, and the ``__add__()`` and ``__iadd__()`` methods
862 to ``Environment``.
863] 
864[Don't compress eggs on Python 2.3, as a possible workaround for 64-bit
865phillip.eby**20060213213550
866 zipimport bug.
867] 
868[Added exhaustive testing of the install directory, including a spawn test
869phillip.eby**20060213180947
870 for ``.pth`` file support, and directory writability/existence checks.  This
871 should virtually eliminate the need to set or configure ``--site-dirs``.
872] 
873[Fixed duplication of scripts inside .egg files
874phillip.eby**20060213173242] 
875[Expanded download message so people know what file to get, if they're
876phillip.eby**20060212233908
877 going to have to fetch it by hand due to restricted or nonexistent
878 network access.
879] 
880[Workaround for packages that think 'version' is a number.
881phillip.eby**20060212193217] 
882[Misc. doc additions: callback exception handling, and an assortment of
883phillip.eby**20060212192029
884 tips and techniques for using easy_install.
885] 
886[Fixed the annoying ``--help-commands`` wart, albeit in a most
887phillip.eby**20060210222348
888 unfortunately kludgy fashion.
889] 
890[--prefix support for even more do-what-I-meanishness.  :)
891phillip.eby**20060210220427] 
892[Implemented DWIM for PYTHONPATH.  That is, ez_setup and easy_install
893phillip.eby**20060210210912
894 should now "just work" if you're using a PYTHONPATH target, and if it
895 can't "just work", you get helpful instructions and doc links.
896] 
897[New version of site.py hack, for better compatibility with distros that
898phillip.eby**20060210014904
899 patch the stdlib site.py.  This version runs the stdlib site.py, then
900 tries to hack sys.path back to something resembling what the old version
901 did.  Unfortunately, this is complex since site.py and .pth files can
902 munge the path in rather arbitrary ways, and the initial setup of
903 sys.path is dependent on the platform and Python version.  This code has
904 been tested on Linux, cygwin, and Windows Python, versions 2.2, 2.3, and
905 2.4 (although not all versions on all platforms), and appears to perform
906 as intended.
907] 
908[Ugh.  Rereading the Fedora patch shows my previous hack won't actually
909phillip.eby**20060210013424
910 accomplish anything useful.  This one should, but it needs testing by
911 someone who actually has a Fedora 64-bit x86 setup.
912] 
913[Oops, bad indentation.
914phillip.eby**20060210012622] 
915[Tweak site_dirs detection so that distros with weird layouts (e.g.
916phillip.eby**20060210012520
917 /usr/lib64 patches on 64-bit Fedora) will have a better chance of
918 working "out of the box".
919] 
920[The ``--find-links`` option previously scanned all supplied URLs and
921phillip.eby**20060208054654
922 directories as early as possible, but now only directories and direct
923 archive links are scanned immediately.  URLs are not retrieved unless a
924 package search was already going to go online due to a package not being
925 available locally, or due to the use of the ``--update`` or ``-U``
926 option.  Also, fixed the ``develop`` command ignoring ``--find-links``.
927] 
928[The ``--always-copy`` option now skips "system" and "development" eggs
929phillip.eby**20060207164341
930 since they can't be reliably copied.  Note that this may cause EasyInstall
931 to choose an older version of a package than what you expected, or it may
932 cause downloading and installation of a fresh version of what's already
933 installed.
934] 
935[Added ``Distribution.clone()`` method, and keyword argument support to
936phillip.eby**20060207164055
937 other ``Distribution`` constructors.  Added the ``DEVELOP_DIST``
938 precedence, and automatically assign it to eggs using ``.egg-info``
939 format.
940] 
941[Implement more Mac OS X version handling stuff requested by Bob
942phillip.eby**20060207133650
943 Ippolito.
944] 
945[Honor get_platform() for Mac OS X if it starts with 'macosx-'
946phillip.eby**20060204000325] 
947[Fix missing import.
948phillip.eby**20060127164759] 
949[Expand ``$variables`` used in the ``--site-dirs``, ``--build-directory``,
950phillip.eby**20060126220807
951 ``--install-dir``, and ``--script-dir`` options, whether on the command
952 line or in configuration files.
953] 
954[Randomly select a SourceForge mirror IP for each download, to work
955phillip.eby**20060123162916
956 around too-aggressive DNS caches on some platforms, that could otherwise
957 result in a stuck bad IP.
958] 
959[Fix typo.
960phillip.eby**20060122222244] 
961[Scrape-proof Sourceforge mirror processing!
962phillip.eby**20060117195659] 
963[Fix editing error (reported by Ian Bicking).
964phillip.eby**20060117184756] 
965[More sourceforge changes.  :(
966phillip.eby**20060117184446] 
967[Tweak build configuration for OS X, based on suggestions from Michael
968phillip.eby**20060114193455
969 Twomey on the distutils-sig.  (It looks like we may also need to add an
970 '-install_name' or some such to the library link step.)
971] 
972[Attempt to define some reasonable flags for OS X linker.
973phillip.eby**20060114013413] 
974[Fix broken import
975phillip.eby**20060114001318] 
976[Don't keep the stub .py file around, just the .pyc/.pyo.  Don't write
977phillip.eby**20060114001203
978 a stub to the source tree if it would overwrite an existing .py file.
979] 
980[Ensure installed stubs get compiled, even if there are no "pure" modules
981phillip.eby**20060113235242
982 present.  Also, don't bother compiling the stub prior to installation.
983] 
984[Write stub files correctly for build_ext --inplace
985phillip.eby**20060113233255] 
986[Implement LD_LIBRARY_PATH workaround stub loader
987phillip.eby**20060113231656] 
988[Don't write .py stubs except for actual extensions that don't already
989phillip.eby**20060113223257
990 have them.
991] 
992[Oops.
993phillip.eby**20060113215905] 
994[Add experimental code for wrapping relocatable shared libraries on
995phillip.eby**20060113215712
996 platforms that support the 'dl' module.
997] 
998[EasyInstall can now download bare ``.py`` files and wrap them in an egg,
999phillip.eby**20060110040054
1000 as long as you include an ``#egg=name-version`` suffix on the URL, or if
1001 the ``.py`` file is listed as the "Download URL" on the project's PyPI
1002 page.  This allows third parties to "package" trivial Python modules
1003 just by linking to them (e.g. from within their own PyPI page or
1004 download links page).
1005 
1006] 
1007[``safe_name()`` now allows dots in project names, and there is a new
1008phillip.eby**20060110034922
1009 ``to_filename()`` function that escapes project names and versions for
1010 safe use in constructing egg filenames from a Distribution object's
1011 metadata.
1012 
1013 Note that allowing dots may now cause problems for projects with '.' in
1014 the name that were previously installed, since such projects had to be
1015 spelled with a '-' before.  The '-' name will no longer match the '.'
1016 project, and there is no real room for backward compatibility here.  :(
1017] 
1018[PyPI searches now use the exact spelling of requirements specified on
1019phillip.eby**20060107001958
1020 the command line or in a project's ``install_requires``.  Previously, a
1021 normalized form of the name was used, which could lead to unnecessary
1022 full-index searches when a project's name had an underscore (``_``)
1023 in it.
1024] 
1025[SharedLibrary -> Library.  For now, Windows libs get built as shared,
1026phillip.eby**20060106195736
1027 and other platforms get static.  :(
1028] 
1029[Remove debug print left in by mistake.
1030phillip.eby**20060105233042] 
1031[First draft of shared library build support.  See tests/shlib_test
1032phillip.eby**20060105231421
1033 for a trivial example.  This has only been tested on Windows with
1034 a MinGW compiler, and the Mac OS support isn't finished.  Testing
1035 w/other platforms+compilers would be helpful.
1036] 
1037[Bump version number to start the 0.6a10dev cycle.
1038phillip.eby**20060105000157] 
1039[0.6a9 release
1040phillip.eby**20060104175552] 
1041[Make it clearer that Requirement.parse() is the only way for users
1042phillip.eby**20060103231020
1043 to create correct Requirement instances.
1044] 
1045[Tweak windows environment variable doc, per user feedback.
1046phillip.eby**20060103213522] 
1047[Allow most commands to work with an existing .egg-info directory w/a '-'
1048phillip.eby**20051230163542
1049 in it, but warn about it and refuse to run "develop" until the existing
1050 directory is renamed.  This should allow older source distributions and
1051 checkouts to keep working with 0.6a9.
1052] 
1053[Fix unescaped '-' in .egg-info directory names.  Note that this means
1054phillip.eby**20051230161135
1055 you must rename any existing .egg-info directory inside a project that
1056 has a '-' in it!
1057] 
1058[Make the install_scripts command respect the "build_scripts -e"
1059phillip.eby**20051226192141
1060 option when installing generated scripts using the
1061 --single-version-externally-managed option.
1062] 
1063[Fix typo.  :(
1064phillip.eby**20051220171831] 
1065[Fix "legacy mode" trying to install scripts when there are none.
1066phillip.eby**20051220163129] 
1067[Changes so that upgrading an existing setuptools to a development
1068phillip.eby**20051220162150
1069 version doesn't lose its entry points by using the already-installed
1070 setuptools as a basis for generating them.
1071] 
1072[Incorporate Bob Ippolito's corrections to Mac OS X instructions.
1073phillip.eby**20051218170702] 
1074[Add notes about bdist_msi, bdist_nsi, and bdist_deb formats'
1075phillip.eby**20051216204910
1076 compatibility with setuptools.
1077] 
1078[Added "What Your Users Should Know" section, telling package developers
1079phillip.eby**20051216201501
1080 what information they should give to their users about dependencies,
1081 network access, system packaging, and other common questions or
1082 concerns.
1083] 
1084[Fix bdist_dumb support to use .egg-info instead of .egg format.
1085phillip.eby**20051216193721] 
1086[Overhaul installation docs to address frequently asked questions
1087phillip.eby**20051216184656
1088 and problems, and to document additional approaches to dealing with
1089 custom install locations.  Also, added a note about the parameters
1090 of ``use_setuptools()`` so that persons needing to distribute e.g.
1091 an in-development version of setuptools can do so.
1092] 
1093[Modify resource extraction to bypass sandbox control so that egg
1094phillip.eby**20051215194903
1095 extraction during setup runs is not restricted.
1096] 
1097[Make install_egg_info track every file it installs, not just the
1098phillip.eby**20051215181112
1099 directory it installs to.
1100] 
1101[Improve startup performance when sys.path contains a lot of eggs, by
1102phillip.eby**20051215181010
1103 caching normalized versions of path entries.  It appears that
1104 normalizing paths using os.path.realpath is extremely expensive on
1105 at least Windows.  Caching cuts the overhead by around 30X.
1106] 
1107[Added the ``exclude_package_data`` keyword to ``setup()``, allowing you
1108phillip.eby**20051215024503
1109 to trim back files included via the ``package_data`` and
1110 ``include_package_data`` options.
1111] 
1112[Support full roundtrip translation of eggs to and from ``bdist_wininst``
1113phillip.eby**20051214234722
1114 format.  Running ``bdist_wininst`` on a setuptools-based package wraps the
1115 egg in an .exe that will safely install it as an egg (i.e., with metadata
1116 and entry-point wrapper scripts), and ``easy_install`` can turn the .exe
1117 back into an ``.egg`` file or directory and install it as such.
1118 
1119 At this point, it should also be possible to "system package" any egg,
1120 complete with wrapper scripts, and at least bdist_wininst works now.
1121 More testing is needed for at least bdist_dumb and bdist_rpm.
1122] 
1123[Refactor script wrapper generation into a separate function so that it
1124phillip.eby**20051214225641
1125 can be used by the future install_scripts command to install entry point
1126 scripts in "legacy" mode.
1127] 
1128[Basic roundtripping support between bdist_wininst and eggs.  EasyInstall
1129phillip.eby**20051214204936
1130 will now recognize when a bdist_wininst .exe wraps a .egg-info style
1131 package, and reconstitute it correctly, maintaining the original zip
1132 safety flag, if applicable.  This still needs support for entrypoint
1133 scripts, though, as does the install_scripts command.
1134] 
1135[Oops.
1136phillip.eby**20051214182628] 
1137[Added a ``--single-version-externally-managed`` option to the ``install``
1138phillip.eby**20051214181011
1139 command so that you can more easily wrap a "flat" egg in a system package.
1140 Enhanced ``bdist_rpm`` so that it installs single-version eggs that
1141 don't rely on a ``.pth`` file.  The ``--no-egg`` option has been removed,
1142 since all RPMs are now built in a more backwards-compatible format.
1143 
1144 Some work is now needed for easy_install to recognize bdist_wininst
1145 .exe's that wrap these new flat eggs, as currently the .egg-info will
1146 not be recognized.
1147] 
1148[Added an internal ``install_egg_info`` command to use as part of old-style
1149phillip.eby**20051214173730
1150 ``install`` operations, that installs an ``.egg-info`` directory with the
1151 package.  This is a preliminary step to implementing "install
1152 --single-version-externally-managed" for use with bdist_* commands and
1153 Debian.
1154] 
1155[Changed ``parse_version()`` to remove dashes before pre-release tags, so
1156phillip.eby**20051206174136
1157 that ``0.2-rc1`` is considered an *older* version than ``0.2``, and is equal
1158 to ``0.2rc1``.  The idea that a dash *always* meant a post-release version
1159 was highly non-intuitive to setuptools users and Python developers, who
1160 seem to want to use ``-rc`` version numbers a lot.
1161 
1162] 
1163[Added an ``unpack_directory()`` driver to ``setuptools.archive_util``, so
1164phillip.eby**20051206031248
1165 that you can process a directory tree through a processing filter as if
1166 it were a zipfile or tarfile.
1167] 
1168[Remove unneeded code that slipped into last commit.
1169phillip.eby**20051206031122] 
1170[Added support for ``.egg-info`` files or directories with version/platform
1171phillip.eby**20051206010227
1172 information embedded in the filename, so that system packagers have the
1173 option of including ``PKG-INFO`` files to indicate the presence of a
1174 system-installed egg, without needing to use ``.egg`` directories, zipfiles,
1175 or ``.pth`` manipulation.
1176 
1177] 
1178[Made all commands that use ``easy_install`` respect its configuration
1179phillip.eby**20051201014539
1180 options, as this was causing some problems with ``setup.py install``
1181 ignoring global site-dirs settings.
1182] 
1183[Misc. doc enhancements
1184phillip.eby**20051201011803] 
1185[If more than one URL appears to describe the exact same distribution, prefer
1186phillip.eby**20051126185935
1187 the shortest one.  This helps to avoid "table of contents" CGI URLs like the
1188 ones on effbot.org.
1189] 
1190[Added ``tests_require`` keyword to ``setup()``, so that e.g. packages
1191phillip.eby**20051119203840
1192 requiring ``nose`` to run unit tests can make this dependency optional
1193 unless the ``test`` command is run.
1194] 
1195[Kludges to make building packages with '-' in their version work with
1196phillip.eby**20051119193629
1197 bdist_rpm.  This still doesn't address the issue of building RPMs that
1198 don't effectively install as multi-version eggs, but at least now
1199 building RPMs for development eggs is possible.
1200] 
1201[Added warning for namespace packages with missing ``declare_namespace()``,
1202phillip.eby**20051118172947
1203 updated docs for new policy/implementation, and explain the reasons
1204 for the change and what to do about it.
1205] 
1206[Fixed ``.pth`` file processing picking up nested eggs (i.e. ones inside
1207phillip.eby**20051118150050
1208 "baskets") when they weren't explicitly listed in the ``.pth`` file.
1209] 
1210[Add tutorial section on choosing project version numbers that
1211phillip.eby**20051118143125
1212 will work well with automated tools based on pkg_resources.
1213] 
1214[Fix .svn exclude pattern for non-Windows platforms.
1215phillip.eby**20051118131533] 
1216[Fixed ``--tag-svn-revision`` not working when run from a source
1217phillip.eby**20051118112950
1218 distribution.
1219] 
1220[Added the ``include_package_data`` keyword to ``setup()``, allowing you to
1221phillip.eby**20051118043731
1222 automatically include any package data listed in revision control or
1223 ``MANIFEST.in``.  Now projects can manage their data files and source
1224 manifests without having to maintain two ways to express the same file
1225 list.  Yay!
1226] 
1227[The ``sdist`` command no longer uses the traditional ``MANIFEST`` file to
1228phillip.eby**20051118034516
1229 create source distributions.  ``MANIFEST.in`` is still read and processed,
1230 as are the standard defaults and pruning.  But the manifest is built inside
1231 the project's ``.egg-info`` directory as ``SOURCES.txt``, and it is rebuilt
1232 every time the ``egg_info`` command is run.
1233] 
1234[Build a SOURCES.txt manifest file in .egg-info, that can then be included in
1235phillip.eby**20051118031307
1236 sdist distributions to support building an sdist from an sdist (which the
1237 bdist_rpm command requires).  This will also be the basis for enhanced
1238 package data support, that will allow optionally using the manifest to
1239 identify package data files instead of having separate manual identification
1240 of the data files.
1241] 
1242[Bump version number to begin the 0.6a9 developent cycle
1243phillip.eby**20051118022208] 
1244[Don't raise an error when an invalid (unfinished) distribution is found
1245phillip.eby**20051118020730
1246 unless absolutely necessary.  Warn about skipping invalid/unfinished eggs
1247 when building an Environment.
1248] 
1249[Quote arguments to python.exe (including python's path) to avoid
1250phillip.eby**20051117030133
1251 problems when Python (or a script) is installed in a directory
1252 whose name contains spaces.  :(
1253] 
1254[0.6a8 final.
1255phillip.eby**20051116191808] 
1256[Update for SourceForge's changed mirror page formats
1257phillip.eby**20051116184305] 
1258[Fixed a problem with nested namespace packages (e.g. ``peak.util``) not
1259phillip.eby**20051113010833
1260 being set as an attribute of their parent package.
1261] 
1262[Record case-insensitivity fix.
1263phillip.eby**20051109033043] 
1264[Document shared library autodetection
1265phillip.eby**20051109032857] 
1266[Detect .dll, .so, .dylib and .pyd files that might have
1267phillip.eby**20051109032334
1268 been included in a project as data files rather than as
1269 Python extensions. 
1270] 
1271[Normalize items in sys.path when determining where to insert
1272phillip.eby**20051109030230
1273 a new item.
1274] 
1275[Fix rmtree() brokenness with Python 2.4 by breaking down and copying
1276phillip.eby**20051105163236
1277 shutil.rmtree from 2.4 directly into easy_install.py.
1278] 
1279[Fixed some problems with fresh checkouts of projects that don't include
1280phillip.eby**20051105055026
1281 ``.egg-info/PKG-INFO`` under revision control and put the project's source
1282 code directly in the project directory.  If such a package had any
1283 requirements that get processed before the ``egg_info`` command can be run,
1284 the setup scripts would fail with a "Missing 'Version:' header and/or
1285 PKG-INFO file" error, because the egg runtime interpreted the unbuilt
1286 metadata in a directory on ``sys.path`` (i.e. the current directory) as
1287 being a corrupted egg.  Setuptools now monkeypatches the distribution
1288 metadata cache to pretend that the egg has valid version information, until
1289 it has a chance to make it actually be so (via the ``egg_info`` command).
1290 
1291] 
1292[Made ``egg_info --tag-svn-revision`` fall back to extracting the
1293phillip.eby**20051104053822
1294 revision number from ``PKG-INFO`` in case it is being run on a
1295 source distribution of a snapshot taken from a Subversion-based
1296 project.  That is, if a project builds an sdist with
1297 --tag-svn-revision in setup.cfg, then the built sdist will
1298 create binaries with the same version number as the checkout
1299 that was used to create the sdist.
1300] 
1301[Reduce the number of redundant host blocking warnings by not
1302phillip.eby**20051104031844
1303 retrying the same previously-blocked URLs.
1304] 
1305[Made ``develop`` command accept all the same options as ``easy_install``,
1306phillip.eby**20051104030830
1307 and use the ``easy_install`` command's configuration settings as defaults.
1308] 
1309[Workaround for broken DISTUTILS_DEBUG output.
1310phillip.eby**20051104030652] 
1311[Document best practices for managing continuous releases with
1312phillip.eby**20051104022934
1313 Subversion, #egg links, --tag-svn-revision, etc., to reflect the
1314 community experience with the tools to date.
1315] 
1316[* Improved runtime conflict warning message to identify a line in the user's
1317phillip.eby**20051104015325
1318   program, rather than flagging the ``warn()`` call in ``pkg_resources``.
1319 
1320 * Avoid giving runtime conflict warnings for namespace packages, even if they
1321   were declared by a different package than the one currently being activated.
1322] 
1323[Fixed some problems building extensions when Pyrex was installed, especially
1324phillip.eby**20051103035542
1325 with Python 2.4 and/or packages using SWIG.
1326] 
1327[Handle non-requirement installs correctly for dependency processing
1328phillip.eby**20051103035206
1329 (e.g. "setup.py install", or "easy_install somefile/someurl").
1330] 
1331[Fix some Subversion-related problems reported by John J. Lee:
1332phillip.eby**20051103032844
1333 
1334 * Fixed not installing dependencies for some packages fetched via Subversion
1335 
1336 * Fixed dependency installation with ``--always-copy`` not using the same
1337   dependency resolution procedure as other operations.
1338 
1339 * Fixed not fully removing temporary directories on Windows, if a Subversion
1340   checkout left read-only files behind
1341 
1342] 
1343[Switch setuptools to use 'dev-rNNNN' version tags by default, and configure
1344phillip.eby**20051103023426
1345 so that people can use 'ez_setup.py setuptools==dev' to fetch the latest
1346 in-development version.
1347] 
1348[Fixed a problem with ``WorkingSet.resolve()`` that prevented version
1349phillip.eby**20051103022449
1350 conflicts from being detected at runtime.  (As reported by Ian Bicking.)
1351] 
1352[Oops, this was part of 0.6a7 too.
1353phillip.eby**20051102235821] 
1354[Fix documentation typos, and note that Python 2.4 is required on 64-bit
1355phillip.eby**20051102235744
1356 platforms (due to a bugfix in zipimport.c that was never backported to
1357 the 2.3 branch).
1358] 
1359[0.6a7 bugfix release
1360phillip.eby**20051102235534] 
1361[Fixed a problem extracting zipped files on Windows, when the egg in
1362pje**20051022190744
1363 question has had changed contents but still has the same version number.
1364] 
1365[Added "--allow-hosts" option to restrict downloading and spidering to
1366pje**20051019030035
1367 a specified list of server glob patterns.
1368] 
1369[Hurray!  Our first dependency processing bug!  This is cool because it
1370pje**20051018040846
1371 means that people are finally doing enough things with setuptools to
1372 have real-life version conflict scenarios.  Luckily, the fix is trivial:
1373 use breadth-first instead of depth-first dependency processing, which I
1374 thought we were already doing anyway, but weren't.  And we were giving
1375 precedence to already-installed packages, which means upgrades didn't
1376 work so well.
1377] 
1378[Prep for 0.6a6 release.
1379pje**20051017024439] 
1380[Fix a typo in patched site.py.
1381pje**20051017023900] 
1382[Significantly enhanced support and docs for "non-root" installation,
1383pje**20051017022639
1384 including both "virtual" and PYTHONPATH-based installs.  The activation
1385 precedence of distributions has also changed so that PYTHONPATH-based
1386 non-root installs can include eggs that override system-defined packages
1387 (whether managed or unmanaged).  This version should eliminate most
1388 common installation complaints from non-root Python users.
1389 Note: this version includes a hacked 'site.py' to support processing
1390 .pth files in directories that come *before* site-packages on sys.path.
1391 However, because of its placement, it should only come into play when
1392 a user puts the setuptools .egg file *directly* on PYTHONPATH, so it
1393 doesn't affect "virtual" or "root" installations.  It's strictly to
1394 provide support for luddites who refuse to give up their
1395 existing non-root PYTHONPATH setup unless you pry it from their cold,
1396 dead hands.  :)
1397] 
1398[Fix problem with Windows console scripts conflicting with module names,
1399pje**20051016204530
1400 thereby confusing the import process.  Scripts are now generated with a
1401 suffix of the form '-script.py' to avoid conflicts.  (The .exe's are still
1402 generated without the '-script' part, so you don't have to type it.)
1403 Thanks to Matthew R. Scott for reporting the problem.
1404] 
1405[Implement --no-deps option, add link to Ian Bicking's non-root Python
1406pje**20051016174211
1407 builder script.
1408] 
1409[0.6a5 brown bag bug fix release.
1410pje**20050929170543] 
1411[Bugfixes.  :(
1412pje**20050929164955] 
1413[0.6a4 bugfix release.
1414pje**20050926004600] 
1415[Ensure that WorkingSet.resolve() (and therefore require() as well)
1416pje**20050926003535
1417 returns a list of the relevant distributions, even if they are found in
1418 the working set rather than the environment.  This fixes some problems
1419 in the 0.6a3 release.
1420] 
1421[0.6a3 release.
1422pje**20050924214059] 
1423[Support generating .pyw/.exe wrappers for Windows GUI scripts, and
1424pje**20050924202957
1425 "normal" #! wrappers for GUI scripts on other platforms.
1426] 
1427[Fix a problem with inconsistent quoting of "extras", reported by Ian
1428pje**20050924194828
1429 Bicking on the distutils-sig.
1430] 
1431[Add release notes for changes made today.
1432pje**20050924194520] 
1433[Fix a bug parsing #egg links reported by Ben Bangert on the distutils-sig.
1434pje**20050924194427] 
1435[Implement smart version conflict resolution for scripts, so that
1436pje**20050924175822
1437 installed applications will not have their eggs overridden by packages
1438 installed locally on sys.path.  This should also make things work a bit
1439 better for "traditional" non-root Python setups on Unixy operating
1440 systems.  See:
1441 
1442 http://mail.python.org/pipermail/distutils-sig/2005-September/005164.html
1443 
1444 for more details.
1445] 
1446[Improve backward compatibility, so that users running easy_install.py or
1447pje**20050924172856
1448 python -m easy_install get a clearer error message.
1449] 
1450[Fix typo.  Add setup for include/python2.X directory in non-root install
1451pje**20050924143043
1452 instructions.
1453] 
1454[setuptools 0.6a2 release
1455pje**20050918040238] 
1456[Added support to solve the infamous "we want .py on Windows, no
1457pje**20050917011302
1458 extension elsewhere" problem, while also bypassing the need for PATHEXT
1459 on Windows, and in fact the need to even write script files at all, for
1460 any platform.  Instead, you define "entry points" in your setup script,
1461 in this case the names of the scripts you want (without extensions) and
1462 the functions that should be imported and run to implement the scripts.
1463 Setuptools will then generate platform-appropriate script files at
1464 install time, including an .exe wrapper when installing on Windows.
1465] 
1466[Fixed cheeseshop URL.
1467pje**20050917001837] 
1468[Fix another typo
1469pje**20050914164507] 
1470[Update cheeseshop URL, fix typo.
1471pje**20050914164123] 
1472[0.6a1 release of setuptools.
1473pje**20050914033349] 
1474[Correctly handle URL fragments in --find-links.
1475pje**20050914032810] 
1476[Release 0.6a1c2.
1477pje**20050903050112] 
1478[Add release note about bdist_rpm --no-egg option
1479pje**20050903045310] 
1480[Added support for old-style RPMs (i.e. non-egg RPMs)
1481pje**20050903045127] 
1482[Ensure wrapper scripts are included in output file record; this is
1483pje**20050903045005
1484 especially important for RPMs with scripts.
1485] 
1486[Make sure that script target directory exists.  Ordinarily it should, but
1487pje**20050903043718
1488 some bdist_* targets install to a pseudo-root where stuff might not exist.
1489] 
1490[Fix typo in symlink handling code.
1491pje**20050903040403] 
1492[Work around a problem with SuSE Linux's patched install_lib command, by
1493pje**20050903032054
1494 figuring out the extension paths without its help.  :(
1495] 
1496[More minor doc tweaks.
1497pje**20050823134550] 
1498[Minor doc tweaks, and add release note about symlink support.
1499pje**20050823134220] 
1500[D'oh!  os.path.islink is available on all platforms.  Also, ensure that we
1501pje**20050823133452
1502 do directory tree removals only if isdir() and not islink(), and use
1503 unlink() in all other cases.
1504] 
1505[Simplify non-root install process and improve Mac OS docs for it.  Support
1506pje**20050823132442
1507 .pth files and legacy packages possibly being symlinks, and ensure that
1508 overwrites don't follow the symlink.
1509] 
1510[Make easy_install --record strip the RPM root when building RPMs, and have
1511pje**20050822134010
1512 bdist_egg ignore the RPM root when building an egg.  This version now can
1513 actually run bdist_rpm to completion, although the resulting RPM will
1514 install an egg without a corresponding .pth file.
1515] 
1516[Remove broken example.
1517pje**20050822035342] 
1518[Bump release version to 0.6a1.  Fix a minor cosmetic issue on certain
1519pje**20050822035019
1520 ez_setup installs.
1521] 
1522[Give pkg_resources its own revision history; add some notes on today's
1523pje**20050822034020
1524 fixes and enhancements.
1525] 
1526[More documentation enhancements.
1527pje**20050822032827] 
1528[Add detailed instructions for non-root installation using PYTHONHOME.
1529pje**20050822031458] 
1530[Add release note about the new MD5 validation feature.
1531pje**20050822011705] 
1532[Implemented md5 validation for PyPI and for URLs with a "#md5=..." anchor.
1533pje**20050822011314] 
1534[Add hardcoded md5 checking to ez_setup.  Also, don't delay and display
1535pje**20050822003547
1536 banner if ez_setup is run as a command-line script, since its whole purpose
1537 in that case is to download setuptools.  Running "ez_setup.py --md5update
1538 FILE [FILE...]" will update the internal md5 checksum dictionary with new
1539 or changed distributions.  You should only do this if you are a setuptools
1540 maintainer, however!
1541] 
1542[Fix a problem running build_ext -i w/no extensions.
1543pje**20050822003248] 
1544[Display a download warning in ez_setup, so that people won't be caught
1545pje**20050821235554
1546 off-guard by the setuptools download (which only occurs if setuptools isn't
1547 locally available, of course).
1548] 
1549[Fix problem w/bdist_rpm and setuptools, reported by Walter Doerwald.  I
1550pje**20050821233340
1551 was trying to have setuptools fix distutils' broken filename handling that
1552 assumes people haven't put punctuation in their distribution names,
1553 including '-' (which prevents unambiguous parsing of distribution names).
1554 However, bdist_rpm's attempt to guess a source distribution's filename
1555 isn't compatible with this fix, without making other changes.  I decided
1556 therefore to drop the fixes for the sake of backward compatibility, but
1557 monkeypatch bdist_rpm so that it runs "egg_info" first, to ensure that any
1558 --tag-svn-revision or other tagging options take effect.
1559] 
1560[Make "build_ext --inplace" work sanely w/multiple Python versions and
1561pje**20050821225957
1562 platforms, by ensuring that the in-place extensions are the right ones for
1563 the currently-running Python, even if they are newer than their sources.
1564 (This, like so many other setuptools fixes and enhancements, should
1565 probably be backported into the distutils as well, although it would have
1566 to be implemented a bit differently.)
1567] 
1568[Thanks to Richard Jones, we no longer need to fake out PyPI with a '.zip'
1569pje**20050821221212
1570 extension for eggs.
1571] 
1572[Parse .svn/entries directly instead of using 'svn info' to obtain a
1573pje**20050821214939
1574 revision number.  (Christopher Lenz reported that svn info's output is
1575 different in non-English locales.)
1576] 
1577[Fix namespace packages not getting fixed up when the eggs are zipped and
1578pje**20050819010153
1579 loaded late (i.e. via require).  Thanks to Walter Doerwald for the bug
1580 report.
1581] 
1582[Auto-generate namespace __init__.py files for packages without them.  This
1583pje**20050814211745
1584 is a workaround for packages like 'll-color', which are distributed without
1585 'll/__init__.py', to avoid overwriting ll-core's copy of ll/__init__.py.
1586 This allows existing packages that use this sort of kludging to be treated
1587 as a crude namespace package, as long as the "real" __init__.py also
1588 calls declare_namespace().
1589] 
1590[Minor refactoring of code that checks a distribution's contents.
1591pje**20050814211446] 
1592[Add experimental support for merging non-empty namespace packages.  This
1593pje**20050814210133
1594 lets you have one distribution containing a non-empty __init__.py for the
1595 package, as long as you call 'declare_namespace()' from that __init__.py
1596 and all other __init__.py files for the namespace package, and do *not*
1597 declare it as a namespace package in setup() (so that it won't be
1598 automatically imported if it's on sys.path, the way empty namespace
1599 packages are.)
1600] 
1601[Fix a bug introduced by removing the Environment.get() method.
1602pje**20050814204649] 
1603[On second thought, don't.  :(  Walter Doerwald's situation isn't really
1604pje**20050814201856
1605 compatible with namespace packages, even if I do manage to hack up a way
1606 to make it work.
1607] 
1608[Allow distributing an empty namespace package.
1609pje**20050814201628] 
1610[Fix some reST formatting problems and other issues discovered during a
1611pje**20050814174807
1612 quick review.
1613] 
1614[Document "Distribution" objects.  Now the API reference is complete, and I
1615pje**20050814173015
1616 just need to write the Overview and Developer's Guide sections so that most
1617 people won't have to actually *read* the API reference.  :)
1618] 
1619[Documentation for namespace packages, working sets, and supporting custom
1620pje**20050814060837
1621 PEP 302 importers.  Once the "Distribution" class is documented, this will
1622 be a complete API reference for pkg_resources.
1623] 
1624[Make "run_script" a method of WorkingSet objects, thereby removing a global
1625pje**20050814060320
1626 coupling.
1627] 
1628[Document the "Environment" class, and simplify its API.
1629pje**20050814014538] 
1630[Document "Requirement" objects.
1631pje**20050814003728] 
1632[Added docs for main EntryPoint APIs, and cleaned up the API itself a bit.
1633pje**20050813230408
1634 Also fixed a few bugs.
1635] 
1636[Fixed breakage of bdist_* commands that call the 'install' command.
1637pje**20050811145854] 
1638[Fix bugs reported by Ian Bicking, Walter Doerwald, and Vincenzo Di Massa.
1639pje**20050811003737] 
1640[Fix a bug introduced by making split_sections() not lowercase section
1641pje**20050809155039
1642 headings.
1643] 
1644[Document resource and metadata access APIs.
1645pje**20050807205410] 
1646[Add docs for exceptions, and for much of the ResourceManager API.
1647pje**20050807055237] 
1648[Document utility routines.  Made ``split_sections()`` not lowercase its
1649pje**20050807045044
1650 section headers any more, since e.g. entry point group names are
1651 case-sensitive.
1652] 
1653[Renamed AvailableDistributions -> Environment.  Add sketch of pkg_resources
1654pje**20050807010336
1655 manual outline.
1656] 
1657[Allow distutils extensions to define new kinds of metadata that can be
1658pje**20050806211750
1659 written to EGG-INFO.  Extensible applications and frameworks can thus make
1660 it possible for plugin projects to supply setup() metadata that can then
1661 be used by the application or framework.
1662] 
1663[Fix WorkingSet yielding the same distribution more than once if more than
1664pje**20050806205401
1665 one path entry points to it.
1666] 
1667[Got rid of the no-longer meaningful "depends" command.  Consolidated the
1668pje**20050806192949
1669 replacement of the "install" command so that installation is always via
1670 easy_install, but doesn't use the previous kludgy intereception technique.
1671 Allow ``extra_path`` to be set, but ignore it, so that when easy_install
1672 wraps a package that uses it, there won't be any confusion as to the
1673 desired installation location.
1674] 
1675[Enhanced setuptools infrastructure to support distutils extensions that
1676pje**20050806184628
1677 can be plugged in at setup() time to define new setup() arguments or
1678 distutils commands.  This allows modularization and reuse of distutils
1679 extensions in a way that was previously not possible.
1680] 
1681[Allow specifying an environment and/or installer for entry-point loading.
1682pje**20050806175658
1683 This will be used by setuptools to automatically install eggs that may be
1684 needed as part of a build process, or to invoke a particular command.
1685] 
1686[Change dependency processing algorithm for less redundancy in the common
1687pje**20050806175455
1688 case, and more thoroughness in the --always-copy case.
1689] 
1690[Fix wrongly including files that Subversion has marked deleted.
1691pje**20050806162644] 
1692[Performance boosts: don't create environment during require()/resolve()
1693pje**20050806023052
1694 if all requirements can be met with items already in the working set.
1695 Don't eagerly determine whether a path is a directory.  Avoid redundant
1696 path operations, etc.  These changes dropped the test suite runtime from
1697 over 3.4 seconds to around .34 seconds.
1698] 
1699[Fix a problem with zip paths reported by Ashley Walsh.
1700pje**20050803131850] 
1701[Misc. bugs reported by Ian Bicking and Ashley Walsh.
1702pje**20050731163118] 
1703[Misc. bug fixes and doc additions.  Add 'iter_entry_points()' API.
1704pje**20050725031251] 
1705[Implement "entry points" for dynamic discovery of drivers and plugins.
1706pje**20050724224706
1707 Change setuptools to discover setup commands using an entry point group
1708 called "distutils.commands".  Thanks to Ian Bicking for the suggestion that
1709 led to designing this super-cool feature.
1710] 
1711[Fix eager resource extraction. Add eager_resources setup() argument.  Add
1712pje**20050724175927
1713 support for obtaining project-level resources by making get_provider()
1714 accept Requirement objects.
1715] 
1716[Fix a regression; this code was changed in order to avoid being fooled by
1717pje**20050724055107
1718 incompatible eggs that might have ended up in the distribution directory,
1719 but the "fixed" code was broken.
1720] 
1721[Implement --editable option, which allows you to just download and extract
1722pje**20050724024144
1723 (or check out from Subversion) one or more source distributions, without
1724 actually building or installing them (or their dependencies).
1725] 
1726[Fixed the setup script sandbox facility not recognizing certain paths as
1727pje**20050724023820
1728 valid on case-insensitive platforms.
1729] 
1730[Improved backward compatibility of Mac OS platform string changes, thanks
1731pje**20050721161134
1732 to more help from Kevin Dangoor.
1733] 
1734[Tweak Mac OS platform string based on Mac SIG feedback: remove "micro"
1735pje**20050721045050
1736 version number, and map "PowerPC" and "Power_Macintosh" to "ppc".
1737] 
1738[Added support for handling MacOS platform information in ``.egg``
1739pje**20050721011131
1740 filenames, based on a contribution by Kevin Dangoor.  (NOTE: this may make
1741 eggs compiled for OS X with older versions of setuptools unusable!  If you
1742 have eggs whose file/directory names end with ``-darwin-*.egg``, you will
1743 probably need to rename them to ``-macosx-*.egg``, substituting your
1744 current Mac OS version for the darwin kernel version in the version number.
1745 Or, you can just delete and reinstall the problematic eggs.)
1746] 
1747[Make 'test' command work correctly with the 0.6 WorkingSet class.
1748pje**20050721005107] 
1749[Fixed installing extra ``.pyc`` or ``.pyo`` files for scripts with ``.py``
1750pje**20050721004945
1751 extensions.
1752] 
1753[Catch a few missed terminology changes.
1754pje**20050718022814] 
1755[Massive API refactoring; see setuptools.txt changelog for details.  Also,
1756pje**20050718020630
1757 add ``#egg=project-version`` link support, and docs on how to make your
1758 package available for EasyInstall to find.
1759] 
1760[Massive API refactoring; see setuptools.txt changelog for details.  Also,
1761pje**20050718013945
1762 add ``#egg=project-version`` link support, and docs on how to make your
1763 package available for EasyInstall to find.
1764] 
1765[The ``path`` attribute of ``Distribution`` objects is now ``location``,
1766pje**20050717195438
1767 because it isn't necessarily a filesystem path (and hasn't been for some
1768 time now).  ``Distribution`` objects now have an ``as_requirement()``
1769 method that returns a ``Requirement`` for the distribution's project name
1770 and version.
1771] 
1772[``Distribution`` objects now implement the ``IResourceProvider`` and
1773pje**20050717190115
1774 ``IMetadataProvider`` interfaces, so you don't need to reference the (no
1775 longer available) ``metadata`` attribute to get at these interfaces.
1776] 
1777[Renamings for consistent terminology; distributions and requirements now
1778pje**20050717044242
1779 both have 'project_name' attributes, instead of one having 'name' and the
1780 other 'distname'.  Requirements no longer have 'options', they have
1781 'extras'.  This is the beginning of the terminology/architecture
1782 refactoring described at:
1783 
1784 http://mail.python.org/pipermail/distutils-sig/2005-June/004652.html
1785] 
1786[Added ``--site-dirs`` option to allow adding custom "site" directories.
1787pje**20050716215750
1788 Made ``easy-install.pth`` work in platform-specific alternate site
1789 directories (e.g. ``~/Library/Python/2.x/site-packages``).
1790] 
1791[Fixed some problems using ``pkg_resources`` w/PEP 302 loaders other than
1792pje**20050716172535
1793 ``zipimport``.  Fixed ``pkg_resources.resource_exists()`` not working
1794 correctly.
1795] 
1796[Fix only detecting the revision number of the setup directory, not the
1797pje**20050716164302
1798 highest revision number for the project as a whole.
1799] 
1800[prep for 0.5a13 release
1801pje**20050716161729] 
1802[Fix a problem extracting resources from nested packages.
1803pje**20050715041137] 
1804[Fix formatting error.
1805pje**20050715041012] 
1806[Prep for 0.5a12 release; update docs.
1807pje**20050713001000] 
1808[Updated extraction/cache mechanism for zipped resources to avoid inter-
1809pje**20050713000925
1810 process and inter-thread races during extraction.  The default cache
1811 location can now be set via the ``PYTHON_EGGS_CACHE`` environment variable,
1812 and the default Windows cache is now a ``Python-Eggs`` subdirectory of the
1813 current user's "Application Data" directory, if the ``PYTHON_EGGS_CACHE``
1814 variable isn't set.
1815] 
1816[Update zip-safety scanner to check for modules that might be used as
1817pje**20050712234322
1818 ``python -m`` scripts.  Misc. fixes for win32.exe support, including
1819 changes to support Python 2.4's changed ``bdist_wininst`` format.
1820] 
1821[Fixed not being able to use python -m easy_install.
1822pje**20050712232232] 
1823[Add a message explaining that you can use -U setuptools to reinstall or
1824pje**20050712232206
1825 upgrade setuptools.
1826] 
1827[Fix breakage of the "develop" command that was caused by the addition of
1828pje**20050712160900
1829 ``--always-unzip`` to the ``easy_install`` command.  Bump version for bug
1830 fix release.
1831] 
1832[Drop links to the Windows installer; it was installing an "unmanaged"
1833pje**20050712053458
1834 version of setuptools!
1835] 
1836[Bump version #.
1837pje**20050712053205] 
1838[Fix bugs and implement features reported/requested by folks on the
1839pje**20050712053136
1840 Distutils-SIG.
1841] 
1842[Update to 0.5a9, add zip_safe flag, and fix a doc error.
1843pje**20050711042157] 
1844[Enhanced "zip safety" analysis (including scan of win32.exe's) and have
1845pje**20050711041248
1846 EasyInstall act on zip safety flags.  Add a lot more docs for setuptools.
1847] 
1848[First-pass implementation of zippability analysis; scans for impure
1849pje**20050710162426
1850 distribution or use of __file__/__path__ and selected 'inspect' operations.
1851 Currently, the analysis is a bit overconservative; when the runtime is more
1852 robust, it should probably allow extensions to be zipped by default.
1853] 
1854[Implement ``namespace_packages`` keyword to ``setup()``.  Added keyword
1855pje**20050710154308
1856 summary to setuptools doc.  Begin work on ``zip_safe`` flag.
1857] 
1858[Add an example of using the new "directory w/setup.py" feature
1859pje**20050710152412] 
1860[EasyInstall now builds eggs in a temporary directory alongside the setup
1861pje**20050710052944
1862 script it's running.  This avoids it getting confused by projects with
1863 non-standard distribution locations, and projects that may have various
1864 eggs already sitting in their distribution directory.  It should probably
1865 also do something like this for the build directory to ensure a clean,
1866 fresh build, but it seems like overkill, since it only affects local
1867 projects, not stuff that EasyInstall downloaded in the first place.
1868] 
1869[Allow EasyInstall to accept a directory containing a setup script as one
1870pje**20050710050631
1871 of its arguments.  Fix swapped short option names for --bdist-dir and
1872 --dist-dir in bdist_egg.
1873] 
1874[Detect and handle conflicts with "unmanaged" packages when installing
1875pje**20050710044931
1876 packages managed by EasyInstall.  Also, add an option to exclude source
1877 files from .egg distributions.
1878] 
1879[Added command reference to documentation.
1880pje**20050709162723] 
1881[Changed --tag-svn-revision to include an "r" in front of the revision
1882pje**20050709162554
1883 number for better readability.
1884] 
1885[Remove old-style requirements from setup.py, to avoid confusing people who
1886pje**20050709042738
1887 look to it for an example of setuptools use.
1888] 
1889[Add informative comment when uploading eggs, to help distinguish them from
1890pje**20050709042621
1891 source archives.
1892] 
1893[Fix typos in option specs for bdist_egg.
1894pje**20050709042549] 
1895[Added ``exclude=patternlist`` option to ``setuptools.find_packages()``
1896pje**20050709042438] 
1897[Include ``svn:externals`` directories in source distributions as well as
1898pje**20050709042122
1899 normal subversion-controlled files and directories.
1900] 
1901[Doc and other updates for 0.5a8 release.  Add project aliases for source
1902pje**20050708155205
1903 and binary register+upload.
1904] 
1905[Delete empty sections when their last option is deleted.
1906pje**20050708155032] 
1907[Cleaner argument quoting in command aliases.
1908pje**20050708154953] 
1909[Partial first draft documentation for setuptools.  Split revision history
1910pje**20050708151314
1911 between setuptools and easy_install docs.  Pull project's long_description
1912 from the documentation, for a more informative PyPI project page.
1913] 
1914[Restructured the 'alias' command to take arguments instead of options, and
1915pje**20050708151119
1916 to display the definition of the named alias or of all aliases.
1917] 
1918[Fix a couple of command descriptions.
1919pje**20050708051120] 
1920[Added support for defining command aliases in distutils configuration
1921pje**20050708050923
1922 files, under the "[aliases]" section.  To prevent recursion and to allow
1923 aliases to call the command of the same name, a given alias can be expanded
1924 only once per command-line invocation.  You can define new aliases with the
1925 "alias" command, either for the local, global, or per-user configuration.
1926] 
1927[* Added "rotate" command to delete old distribution files, given a set of
1928pje**20050708044820
1929 patterns to match and the number of files to keep.  (Keeps the most
1930 recently-modified distribution files matching each pattern.)
1931 
1932 * Added "saveopts" command that saves all command-line options for the
1933 current invocation to the local, global, or per-user configuration file.
1934 Useful for setting defaults without having to hand-edit a configuration
1935 file.
1936 
1937 * Added a "setopt" command that sets a single option in a specified
1938 distutils configuration file.
1939] 
1940[The "egg_info" command now always sets the distribution metadata to "safe"
1941pje**20050708044558
1942 forms of the distribution name and version, so that distribution files will
1943 be generated with parseable names (i.e., ones that don't include '-' in the
1944 name or version).  Also, this means that if you use the various ``--tag``
1945 options of "egg_info", any distributions generated will use the tags in the
1946 version, not just egg distributions.
1947] 
1948[Fix problems upgrading an already-installed setuptools version.
1949pje**20050707163831] 
1950[Add upload support to setuptools, and make default downloads of setuptools
1951pje**20050707162843
1952 come from PyPI/python.org rather than from telecommunity.com.  Bump to
1953 version 0.5a7.
1954] 
1955[Bump release version
1956pje**20050707021014] 
1957[Update revision history.
1958pje**20050707020556] 
1959[Beefed up the "sdist" command so that if you don't have a MANIFEST.in, it
1960pje**20050707020325
1961 will include all files under revision control (CVS or Subversion) in the
1962 current directory, and it will regenerate the list every time you create a
1963 source distribution, not just when you tell it to.  This should make the
1964 default "do what you mean" more often than the distutils' default behavior
1965 did, while still retaining the old behavior in the presence of MANIFEST.in.
1966] 
1967[Slightly changed the format of the generated version when you use
1968pje**20050707020154
1969 ``--tag-build`` on the "egg_info" command, so that you can make tagged
1970 revisions compare *lower* than the version specified in setup.py (e.g. by
1971 using ``--tag-build=dev``).
1972] 
1973[Don't modify .pth files when in --dry-run/-n mode.
1974pje**20050707015759] 
1975[Fix for .py scripts that might be imported (e.g. the "py" library's hideous
1976pje**20050707015357
1977 '_findpy.py' hack.)
1978] 
1979[Backward-compatibility fix, so ez_setup can upgrade older versions of
1980pje**20050707015221
1981 setuptools.
1982] 
1983[Add a note about interaction between exemaker and easy_install
1984pje**20050707015146] 
1985[Bump version to 0.5a5.
1986pje**20050706034704] 
1987[Added ``develop`` command to ``setuptools``-based packages.  This command
1988pje**20050706034616
1989 installs an ``.egg-link`` pointing to the package's source directory, and
1990 script wrappers that ``execfile()`` the source versions of the package's
1991 scripts.  This lets you put your development checkout(s) on sys.path
1992 without having to actually install them.  (To uninstall the link, use
1993 use ``setup.py develop --uninstall``.)
1994] 
1995[Made ``easy_install`` a standard ``setuptools`` command, moving it from
1996pje**20050706021048
1997 the ``easy_install`` module to ``setuptools.command.easy_install``.  Note
1998 that if you were importing or extending it, you must now change your
1999 imports accordingly.  ``easy_install.py`` is still installed as a script,
2000 but not as a module.
2001] 
2002[Enhanced the ``test`` command so that it doesn't install the package, but
2003pje**20050706015408
2004 instead builds any C extensions in-place, updates the ``.egg-info``
2005 metadata, adds the source directory to ``sys.path``, and runs the tests
2006 directly on the source.  This avoids an "unmanaged" installation of the
2007 package to ``site-packages`` or elsewhere.  (Also, fix a breaking test of
2008 older dependency support; this should probably be removed altogether, as
2009 long as nobody's using it.)
2010] 
2011[Added ``egg_info`` command to ``setuptools``-based packages.  This command
2012pje**20050706013741
2013 just creates or updates the "projectname.egg-info" directory, without
2014 building an egg.  It's used by the ``bdist_egg`` command now, and will be
2015 used by the ``test`` and ``develop`` commands later on.
2016] 
2017[Fix a problem using bdist_egg with non-setuptools distributions.
2018pje**20050704184541] 
2019[Fix typo
2020pje**20050704184502] 
2021[Add missing download links
2022pje**20050704184426] 
2023[EasyInstall/setuptools 0.5a4: significant new features, including automatic
2024pje**20050627003103
2025 installation of dependencies, the ability to specify dependencies in a
2026 setup script, and several new options to control EasyInstall's behavior.
2027] 
2028[0.5a3 bugfix release
2029pje**20050625193306] 
2030[Fix stupid typos.
2031pje**20050615023910] 
2032[Add support for installing from .win32.exe's created by distutils (by
2033pje**20050615022348
2034 converting them to eggs).  Bump version to 0.5a1.
2035] 
2036[Add bootstrap installation support that "hitches a ride" on other packages
2037pje**20050615021942
2038 being installed via the normal distutils "setup.py install".  Also, don't
2039 repeatedly download the setuptools egg if it's already in the target
2040 location.
2041] 
2042[Fix incorrect sorting of packages by string version instead of parsed
2043pje**20050615021603
2044 version info.  Don't set a default Python version for distribution
2045 objects.  Add enum for binary distributions (like bdist_wininst).
2046] 
2047[Make write_stub() a function, so easy_install can use it too.
2048pje**20050615021249] 
2049[Enhance unpack_* utilities to allow on-the-fly redirection of where files
2050pje**20050615021109
2051 are extracted to.
2052] 
2053[Bump version # for release.
2054pje**20050614154844] 
2055[Add support for quiet/verbose/dry-run/optimize flags.
2056pje**20050614153032] 
2057[Fix more zipped-egg directory resource bugs reported by Ryan Tomayko.
2058pje**20050614152941] 
2059[Support downloading packages that were uploaded to PyPI (by scanning all
2060pje**20050614124635
2061 links on package pages, not just the homepage/download links).
2062] 
2063[Fix typos found by Ryan Tomayko.
2064pje**20050614124443] 
2065[Oops, forgot to bump a version number.
2066pje**20050614013119] 
2067[Update to version 0.4a3
2068pje**20050614012959] 
2069[Fix missing '__file__' when running scripts.
2070pje**20050614012844] 
2071[Cosmetic improvements to progress messages.
2072pje**20050614012712] 
2073[Add lots of progress messages, so people know what the package search is
2074pje**20050614012626
2075 doing.
2076] 
2077[Fix a bug in resource_isdir(), introduced in 0.4a2.  Add str/repr of
2078pje**20050614012548
2079 Distribution objects.
2080] 
2081[Add 'ez_setup' bootstrap installer.  Prep for 0.4a2 release.
2082pje**20050612214734] 
2083[Add script installation support.  Use distutils' exceptions for option
2084pje**20050612192645
2085 errors.  Include Python version in setuptools' egg name for compatibility
2086 w/installs via easy_install.  Add isdir/listdir facilities for metadata,
2087 along with support for running scripts from eggs.
2088] 
2089[Restructure easy_install as a distutils "Command" object, so that it can
2090pje**20050612154954
2091 access the distutils configuration and logging infrastructure, and can
2092 "inherit" options from a distutils setup script that wants to use it to
2093 install its own dependencies.
2094] 
2095[Move package index/downloading stuff to setuptools.package_index module.
2096pje**20050612034407] 
2097[Rebalance responsibilities between PackageIndex, Installer, and main() so
2098pje**20050612030753
2099 that PackageIndex handles all downloading of any kind, Installers can be
2100 reused for multiple packages, and main() manages temporary directories and
2101 all communication between PackageIndex and Installer.  Also, change
2102 run_setup to take an argument sequence, because later we will probably need
2103 other arguments to control other aspects of run_setup's behavior.
2104] 
2105[Split setup-running and archive-extraction utilities into separate modules,
2106pje**20050612011234
2107 for easy use by tools other than EasyInstall.
2108] 
2109[Package scripts under EGG-INFO/scripts.  Refactor subcommand invocations
2110pje**20050607044151
2111 for less duplication and greater clarity.
2112] 
2113[Update distribution metadata so 'setup.py register' works; add 'extra_path'
2114pje**20050606033048
2115 so that setuptools can install itself in egg form.
2116] 
2117[Update docs for PyPI support, prep for 0.4a1 release
2118pje**20050605215541] 
2119[Implement PyPI screenscraping for EasyInstall.  Fix a bug in requirement
2120pje**20050605213351
2121 version checking.  Document new options for screen scraping.
2122] 
2123[Add "safe_name" and "safe_version" functions to allow sanitizing of
2124pje**20050605185937
2125 distribution names and versions in arbitrary packages that might be built
2126 using EasyInstall.
2127] 
2128[Partial support for autolocation of packages via link harvesting.  Still
2129pje**20050605012430
2130 needs a little work to get PyPI support working, and automatic dependency
2131 resolution.  But for now you can do:
2132 
2133     easy_install -s http://example.com/download.html SomePackage
2134 
2135 And easy_install will find the best-looking download link on the page for
2136 instaling SomePackage.
2137] 
2138[Make ``AvailableDistributions`` keep track of the desired platform/python.
2139pje**20050605012009
2140 Add a ``can_add()`` method that indicates whether a distribution matches
2141 the collection's desired platform and Python version.  Fix a bug in
2142 ``Distribution.from_filename()`` when the filename has no Python version.
2143] 
2144[Updated for v0.3a4
2145pje**20050605004811] 
2146[Add support for prioritized sorting of distributions by distribution type,
2147pje**20050605004736
2148 to assist easy_install in indexing packages from PyPI.
2149] 
2150[Fix a minor problem with -b option, and prep for 0.3a4 release.
2151pje**20050604213513] 
2152[Add support for resource isdir/listdir operations.  Support directory
2153pje**20050604211819
2154 extraction and "egg baskets" for .zips.  Add import locking for namespace
2155 package manipulation routines.
2156] 
2157[Release 0.3a3
2158pje**20050531003454] 
2159[Ditch outdated TODO file, move docs to a new 'EasyInstall.txt' file.  Fix
2160pje**20050531002445
2161 installation report for .egg files/directories.
2162] 
2163[Add option to allow specifying a download/extract/build directory, which
2164pje**20050530235233
2165 will be kept after installation completes.  Added an "installation report"
2166 that tells you how to use 'require()' to activate a particular package
2167 version.  Installer.install_eggs() now returns a list of Distribution
2168 objects for the eggs it found and installed, so that the command-line tool
2169 can print an installation report for each one.
2170] 
2171[Ensure that the distribution name written to PKG-INFO is the same as the
2172pje**20050530232210
2173 name you'll use in 'require()' operations for that distribution.
2174] 
2175[Add setup script "sandboxing" -- abort a setup script if it tries to write
2176pje**20050530232034
2177 to the filesystem outside of the installer's temporary directory.  This is
2178 accomplished by temporarily replacing 'os.*' functions and the 'open'
2179 builtin with path-validation wrappers.
2180] 
2181[Reorganize bdist_egg's handling of 'install_data' to better deal with the
2182pje**20050530064601
2183 various kludges legacy packages are using to install data in their package
2184 directories.  Some use absolute paths in 'distribution.data_files', while
2185 others create various subclasses of 'install_data', each with their own
2186 way of finding out what directory to use!  So 'bdist_egg' now does all its
2187 'install_lib' activity before 'install_data', and pokes the desired build
2188 directory into a wide variety of places, so that all of the known kludges
2189 so far will work correctly.  It also checks for absolute paths in
2190 'data_files' (carefully working around other packages' 'data_files'
2191 kludges!) and converts them back to relative ones, if they are subpaths of
2192 site-packages.
2193 
2194 Clearly, we need to get the word out about 'package_files' in Python 2.4
2195 and above, and suggest using 'setuptools' for Python 2.3.
2196] 
2197[Add SourceForge download support, graciously contributed by Ian Bicking.
2198pje**20050530033750
2199 Also, move some more imports to the top.
2200] 
2201[Bump version to 0.3a2 for release
2202pje**20050529221430] 
2203[Add subversion support, loosely based on an implementation by Ian Bicking.
2204pje**20050529220846
2205 EasyInstall now recognizes both 'svn' URLs (including 'svn+ssh' et al), and
2206 notices when it connects to an HTTP server that's actually a subversion
2207 repository.  In either case it does a subversion checkout of the package.
2208 Also, fixed a bug on platforms with os.samefile().
2209] 
2210[Added options to alter eggs' version number by tagging with the subversion
2211pje**20050529220539
2212 revision number, date, and/or a custom tag.  This should make it easier for
2213 people to produce e.g. automated nightly builds of eggs.
2214] 
2215[Add support for using Installer subclasses, especially ones with support
2216pje**20050529071343
2217 for searching a package database.
2218] 
2219[Oddly enough, some setup.py files actually check __name__=='__main__'
2220pje**20050529064114] 
2221[Correctly recognize .egg files that are already on sys.path (or whatever
2222pje**20050529052059
2223 path AvailableDistributions is scanning)
2224] 
2225[Handle distributions with ' ' in their names
2226pje**20050529051959] 
2227[Add link to Python Eggs page in doc; fix a problem with non-standard source
2228pje**20050529013601
2229 distros (where setup.py is in the archive root).
2230] 
2231[Remove exemaker spew from easy_install.py
2232pje**20050529001825] 
2233[Add "easy_install" script that downloads distutils source (or .egg files)
2234pje**20050529001722
2235 and builds and installs them as eggs, with support for managing .pth files.
2236 Built distributions are installed in individual subdirectories, so you can
2237 either add the directory to a .pth (automatically done by default), or you
2238 can use pkg_resources.require() to manage your dependencies explicitly.
2239 Because each distribution is in its own directory (or .egg file),
2240 uninstallation and clean upgrades are trivial, without the aid of any sort
2241 of package manager.
2242] 
2243[Add experimental 'install_data' support to 'bdist_egg'.  The most common
2244pje**20050528230559
2245 distutils custom command hack in the field is to make 'install_data'
2246 put data in with the target packages by changing the --install-data to
2247 match --install-lib, so this should let bdist_egg work with more packages
2248 "out of the box".
2249] 
2250[Fix some typos and a missing import
2251pje**20050525032232] 
2252[Implement draft support for namespace packages, both declaring them
2253pje**20050525030653
2254 initially and fixing them up when new eggs are added to sys.path.  At the
2255 moment, all namespace packages are fixed up whenever any new egg is added
2256 to sys.path, but this might not scale well if there are lots of eggs and
2257 lots of namespace packages.  Perhaps we should limit namespace fixups to
2258 namespace packages explicitly declared in the egg?
2259] 
2260[Support registering distribution finders for arbitrary PEP 302 importer
2261pje**20050525005039
2262 types, so that the directory scanner isn't a hardcoded case.
2263] 
2264[Implement a draft version of 'find_distributions()' with hardcoded support
2265pje**20050524011524
2266 for packed and unpacked .egg files and .egg-info dirs.  This will need to
2267 be refactored later to support registering adapters for arbitrary PEP 302
2268 importers, so that it can deal with non-filesystem sys.path entries.
2269 
2270 In the meantime, however, this means that 'require()' now works and that
2271 intrepid souls may now witness the power of this fully operational battle
2272 station...
2273] 
2274[Make AvailableDistributions check distributions for Python version
2275pje**20050523021752
2276 compatibility as well as platform compatibility.  Rename get_distro_source
2277 to 'find_distributions', and get rid of intermediate distro-source objects.
2278] 
2279[Add a rough draft of Distribution.install_on(), to let others experiment
2280pje**20050523020042
2281 with 'require()' before the "official" version is complete.
2282] 
2283[Add tests for AvailableDistributions().resolve().  This effectively
2284pje**20050523015627
2285 completes the core dependency resolution engine; all we need now is a way
2286 to turn sys.path entries into "distribution sources" that can list
2287 Distribution objects for inclusion in an instance of
2288 AvailableDistributions, and the 'require("SomePkg>=2.7")' API will be
2289 usable.
2290] 
2291[Added support for specifying options on requirements, so that a package's
2292pje**20050522202847
2293 optional dependencies can be included when processing nested dependencies.
2294 Next up: tests for the resolve() algorithm.
2295] 
2296[Distribution metadata parsing: distribution objects can now extract their
2297pje**20050522194022
2298 version from PKG-INFO and their dependencies from depends.txt, including
2299 optional dependencies.
2300] 
2301[Refine dependency resolution algorithm so it won't take exponential time,
2302pje**20050522181700
2303 or bomb on cyclic dependencies.  (But it's still an untested sketch.)
2304 Added list of things that need to be implemented before dependency
2305 resolution can actually work.  Added tests for lower-level parts of the
2306 dependency resolution system, and a hook to support subclasses doing
2307 automatic download of needed dependencies.
2308] 
2309[Add basic "Requirement" class that can tell whether a distribution or
2310pje**20050521214257
2311 version meets its version requirements.
2312] 
2313[Added "AvailableDistributions" class that finds and indexes usable
2314pje**20050403185221
2315 distributions; this replaces the previous "iter_distributions()" API.
2316 Added basic platform support to Distribution and AvailableDistributions so
2317 that platform-independent distros as well as local platform-compatible
2318 distros are acceptable.  The actual platform scheme is currently delegated
2319 to distutils.util.get_platform(), but needs to be replaced with a better
2320 scheme of some kind, especially for OS X.
2321] 
2322[Remove setuptools_boot.py, as it can now be trivially replaced by including
2323pje**20050403172338
2324 a setuptools .egg file in your source distribution, and adding it to
2325 sys.path in your setup.py.
2326] 
2327[Fix handling of -/_ so that they are canonicalized to '-' when doing name
2328pje**20050403012108
2329 or version comparisons, but rendered as '_' in egg filenames.
2330] 
2331[Add a "Distribution" object that wraps a sys.path entry with metadata, and
2332pje**20050403004658
2333 can extract its name/version/pythonversion/platform if built from a .egg
2334 filename.  Later, distributions will be able to add themselves to sys.path
2335 and request that their dependencies be added as well.  Also, added some
2336 real-life version test cases supplied by jemfinch.
2337] 
2338[Add a simple version parser that combines the pre-release smarts of
2339pje**20050402233113
2340 distutils' StrictVersion, with the flexibility of LooseVersion.  It also
2341 deals heuristically with common concepts like alpha/beta/candidate/rc
2342 and pre/preview, as well as '-' and 'pl' branching schemes.
2343] 
2344[Rough draft of version requirement parser.  Make bdist_egg look for a
2345pje**20050402024321
2346 distname.egg-info directory instead of EGG-INFO.in; this will be used later
2347 to support development of egg-distributed packages that an application
2348 under development expects to 'require()'.  (Thanks to Fred Drake for
2349 pointing out this use case, and Bob Ippolito for helping me figure out how
2350 to support it, although the runtime support doesn't actually exist yet.)
2351] 
2352[Back out the addition of bogus 'if __name__=="__main__"' block; the One
2353pje**20050401212849
2354 Obvious Way to test setuptools is to run 'setup.py test', because that also
2355 provides an integration test for the 'test' command.
2356] 
2357[Specify and implement # comments in get_metadata_lines
2358etrepum**20050324202919
2359 A few more PEP 8 formatting fixes for pkg_resources
2360] 
2361[import StringIO at module level
2362etrepum**20050324192654] 
2363[Reformat pkg_resources in PEP 8 style
2364etrepum**20050324192153] 
2365[Add a working pkg_resources implementation that handles extraction and
2366pje**20050323004252
2367 basic support for non-egg resources.  Still a lot to do, but this version
2368 is capable of not only extracting and running C extensions, it can even
2369 find its own runtime (pkg_resources) if it's included in the egg.
2370] 
2371[Fix bootstrap loader so extracted files don't have to be on sys.path.
2372pje**20050322185559] 
2373[Create stub loaders for C extensions, so that the actual dynamic library
2374pje**20050322001503
2375 can be extracted from the egg.
2376] 
2377[Allow user-supplied metadata from EGG-INFO.in directory (directory name can
2378pje**20050321204157
2379 be overridden with a command-line option).
2380] 
2381[Add python version to egg filename.
2382pje**20050321201233] 
2383[Add 'bdist_egg' command/format to allow creating "Python Eggs" (see
2384pje**20050321195046
2385 http://peak.telecommunity.com/DevCenter/PythonEggs for details).  This
2386 version only supports pure libraries and does not support user-defined
2387 metadata.  But it's sufficient to make .egg files that can be placed on
2388 PYTHONPATH and used.
2389] 
2390[remove blank line pollution
2391fdrake**20040617203744] 
2392[fix to make things continue to work when we're *not* running under
2393fdrake**20040615190003
2394 Python 2.4; this was broken by my earlier change to avoid stomping on
2395 Python 2.4's build_py command
2396] 
2397[Deal with the distutils on the head; package_data may already be supported.
2398fdrake**20040614141534
2399 In this case, setuptools need not override the build_py command.
2400] 
2401[remove excess blank lines, and apply whitespace more in line with the Python
2402fdrake**20040405202153
2403 style guidelines in PEP 8
2404] 
2405[- remove trailing blank lines
2406fdrake**20040405200245
2407 - use whitespace according to the Python style guide
2408] 
2409[remove trailing blank line
2410fdrake**20040405195911] 
2411[Compute command line that should be passed to child setup scripts.
2412pje**20040322011231
2413 Warn user if unsupported options are supplied, and cancel unless
2414 'depends -i' (aka '--ignore-extra-args') was used.
2415] 
2416[Flesh out 'depends' command to display dependencies' status, and halt if
2417pje**20040320205212
2418 all requirements aren't met.  (Also, check planned install location for
2419 the dependencies, as well as checking sys.path.)  Also:
2420 
2421 * Allow 'Feature()' objects to include 'Require()' objects, so that
2422   dependencies can be optional
2423 
2424 * 'Require()' objects can set a homepage, whose URL will be displayed by
2425   the 'depends' command if the dependency needs to be installed.
2426 
2427 * Misc. fixes/refactoring of version validation to properly handle
2428   "unknown" versions, and to decouple version fetching from version
2429   checking.
2430 
2431 * Updated TODO to remove various completed items.
2432] 
2433[Initial checkin of setuptools 0.0.1.
2434pje**20040319205314] 
2435Patch bundle hash:
24365d2a72f0b9e34d9eade81370233f83c93c437fbe