diff options
| author | PJ Eby <distutils-sig@python.org> | 2005-12-06 01:02:27 +0000 |
|---|---|---|
| committer | PJ Eby <distutils-sig@python.org> | 2005-12-06 01:02:27 +0000 |
| commit | 6402ec9ba9bde14fa1c87047b62d56861c629cff (patch) | |
| tree | b267d6d8ab690cd88397c543cf7961f8f628514b /setuptools/tests | |
| parent | 969bfb31eb9417ae67d5e78467aeef401dd9bb62 (diff) | |
| download | python-setuptools-git-6402ec9ba9bde14fa1c87047b62d56861c629cff.tar.gz | |
Added support for ``.egg-info`` files or directories with version/platform
information embedded in the filename, so that system packagers have the
option of including ``PKG-INFO`` files to indicate the presence of a
system-installed egg, without needing to use ``.egg`` directories, zipfiles,
or ``.pth`` manipulation.
--HG--
branch : setuptools
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041615
Diffstat (limited to 'setuptools/tests')
| -rw-r--r-- | setuptools/tests/test_resources.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/setuptools/tests/test_resources.py b/setuptools/tests/test_resources.py index 723bd730..076dd53e 100644 --- a/setuptools/tests/test_resources.py +++ b/setuptools/tests/test_resources.py @@ -94,6 +94,8 @@ class DistroTests(TestCase): def testDistroParse(self): d = Distribution.from_filename("FooPkg-1.3_1-py2.4-win32.egg") self.checkFooPkg(d) + d = Distribution.from_filename("FooPkg-1.3_1-py2.4-win32.egg-info") + self.checkFooPkg(d) def testDistroMetadata(self): d = Distribution( @@ -119,8 +121,6 @@ class DistroTests(TestCase): self.checkRequires(self.distRequires(v), v) - - def testResolve(self): ad = Environment([]); ws = WorkingSet([]) # Resolving no requirements -> nothing to install |
