Copying pristine 50 done, 16 queued. __init__.py
Copying pristine 76 done, 26 queued. helper.rst
Copying pristine 126 done, 17 queued. Makefile
Copying pristine 221 done, 26 queued. tahoe_disktotal
Copying pristine 278 done, 22 queued. install_egg_info.py
Copying pristine 343 done, 31 queued. checker.py
Copying pristine 372 done, 23 queued. common.py
Copying pristine 400 done, 19 queued. tahoe_get.py
Copying pristine 422 done, 56 queued. bench_dirnode.py
Copying pristine 446 done, 32 queued. test_hashtree.py
Copying pristine 483 done, 27 queued. encodingutil.py
Copying pristine 511 done, 36 queued. common.py
Copying pristine 533 done, 14 queued. root.py
Copying pristine 548 done, 2 queued. registry.py
Reading pristine 69 done, 471 queued. accfe419cf8e0316dabc02f7c660bcca6127a3c061
diff -rN -u old-trunk/setuptools-0.6c16dev2.egg/pkg_resources.py new-trunk/setuptools-0.6c16dev2.egg/pkg_resources.py
old
|
new
|
|
808 | 808 | """ |
809 | 809 | dist = working_set.find(req) |
810 | 810 | if dist is not None: |
| 811 | print "yyy 0 ", req, dist |
811 | 812 | return dist |
812 | 813 | |
813 | 814 | # first try to find a platform-dependent dist |
814 | 815 | for dist in self[req.key]: |
| 816 | print "yyy 1 ", req, dist |
815 | 817 | if dist in req and dist.platform is not None: |
| 818 | print "yyy 2 ", req, dist |
816 | 819 | return dist |
817 | 820 | |
818 | 821 | # then try any other dist |
819 | 822 | for dist in self[req.key]: |
| 823 | print "yyy 3 ", req, dist |
820 | 824 | if dist in req: |
| 825 | print "yyy 4 ", req, dist |
821 | 826 | return dist |
822 | 827 | |
| 828 | print "yyy 5 ", req, dist |
823 | 829 | return self.obtain(req, installer) # try and download/install |
824 | 830 | |
825 | 831 | def obtain(self, requirement, installer=None): |
… |
… |
|
2625 | 2631 | else: |
2626 | 2632 | # Yes: ensure the requirements are met, by prefixing sys.path if necessary |
2627 | 2633 | try: |
2628 | | working_set.require(__requires__) |
| 2634 | if __requires__: |
| 2635 | working_set.require(__requires__) |
2629 | 2636 | except (VersionConflict, DistributionNotFound): # try it without defaults already on sys.path |
2630 | 2637 | working_set = WorkingSet([]) # by starting with an empty path |
2631 | 2638 | try: |
diff -rN -u old-trunk/setuptools-0.6c16dev2.egg/setuptools/package_index.py new-trunk/setuptools-0.6c16dev2.egg/setuptools/package_index.py
old
|
new
|
|
216 | 216 | |
217 | 217 | dists = distros_for_filename(fn) |
218 | 218 | if dists: |
219 | | self.debug("Found: %s", fn) |
| 219 | self.debug("Found: %s zzz 0 %s(%s)", fn, self.add, dists) |
220 | 220 | map(self.add, dists) |
221 | 221 | |
222 | 222 | def url_ok(self, url, fatal=False): |
… |
… |
|
437 | 437 | # Find a matching distribution; may be called more than once |
438 | 438 | |
439 | 439 | for dist in env[req.key]: |
| 440 | print "aaa 0", dist |
440 | 441 | |
441 | 442 | if dist.precedence==DEVELOP_DIST and not develop_ok: |
| 443 | print "aaa 1 ", dist |
442 | 444 | if dist not in skipped: |
| 445 | print "aaa 2", dist |
443 | 446 | self.warn("Skipping development or system egg: %s",dist) |
444 | 447 | skipped[dist] = 1 |
445 | 448 | continue |
446 | 449 | |
447 | 450 | if dist in req and (dist.precedence<=SOURCE_DIST or not source): |
| 451 | print "aaa 3", dist |
448 | 452 | return dist |
449 | 453 | |
450 | 454 | |
451 | 455 | |
452 | 456 | if force_scan: |
| 457 | print "aaa 4", dist |
453 | 458 | self.prescan() |
454 | 459 | self.find_packages(requirement) |
455 | 460 | dist = find(self, requirement) |
456 | 461 | |
457 | 462 | if local_index is not None: |
| 463 | print "aaa 5", dist |
458 | 464 | dist = dist or find(local_index, requirement) |
459 | 465 | |
460 | 466 | if dist is None and self.to_scan is not None: |
| 467 | print "aaa 6", dist |
461 | 468 | self.prescan() |
462 | 469 | dist = find(self, requirement) |
463 | 470 | |
464 | 471 | if dist is None and not force_scan: |
| 472 | print "aaa 7", dist |
465 | 473 | self.find_packages(requirement) |
466 | 474 | dist = find(self, requirement) |
467 | 475 | |
468 | 476 | if dist is None: |
| 477 | print "aaa 8", dist |
469 | 478 | self.warn( |
470 | 479 | "No local packages or download links found for %s%s", |
471 | 480 | (source and "a source distribution of " or ""), |
472 | 481 | requirement, |
473 | 482 | ) |
474 | 483 | else: |
| 484 | print "aaa 9", dist |
475 | 485 | self.info("Best match: %s", dist) |
476 | 486 | return dist.clone(location=self.download(dist.location, tmpdir)) |
477 | 487 | |