On Tue, May 25, 2010 at 11:28 PM, Stefano Costa <[email protected]> wrote: > Il giorno mar, 25/05/2010 alle 22.24 +0200, Sean Gillies ha scritto: >> >> >> Excellent. This and an sdist are now up at >> >> http://pypi.python.org/pypi/Shapely/1.2rc1 > > I'm not sure I did everything the right way, but tests fail prematurely > due to a missing test_collection.py - and test_emptiness is equally > missing from the tests directory. > > (shapely)st...@gibreel:~/code/shapely/Shapely-1.2rc1/shapely$ nosetests > E > ====================================================================== > ERROR: Failure: ImportError (No module named test_collection) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "/usr/lib/pymodules/python2.5/nose/loader.py", line 379, in > loadTestsFromName > addr.filename, addr.module) > File "/usr/lib/pymodules/python2.5/nose/importer.py", line 39, in > importFromPath > return self.importFromDir(dir_path, fqname) > File "/usr/lib/pymodules/python2.5/nose/importer.py", line 86, in > importFromDir > mod = load_module(part_fqname, fh, filename, desc) > File > "/home/steko/code/shapely/Shapely-1.2rc1/shapely/tests/__init__.py", line 4, > in <module> > import test_collection, test_emptiness > ImportError: No module named test_collection > > ---------------------------------------------------------------------- > Ran 1 test in 0.001s > > FAILED (errors=1) > > I am on Debian Sid. If it's my fault, I apologize for the extra noise - > but I'd like to understand how it should work :-) > > Ciao, > steko
I've been having manifest problems, but think I have this one licked. Would you be willing to try http://pypi.python.org/pypi/Shapely/1.2rc2 ? I made note in README.txt that nosetests doesn't run all the tests. Use "setup.py test" instead. Thanks for helping get the bugs out of the final release! -- Sean _______________________________________________ Community mailing list [email protected] http://lists.gispython.org/mailman/listinfo/community
