At 05:54 PM 5/12/2008 +0200, Martin v. Löwis wrote:
> Probably the test you want here is:
>
> safe_name(filename).startswith(safe_name(project_name))
So what's to_filename then for?
It's used by setuptools to name files in a way that's unambiguous as
to which parts mean what.
Also, is it allowed for the
distribution's name to be all-lowercase, when the PyPI package name
is mixed-case?
Yes... sorry, I left that out of the above... it should be
filename.lower() and project_name.lower(). Setuptools processes
project names and version numbers case-insensitively.
_______________________________________________
Catalog-SIG mailing list
Catalog-SIG@python.org
http://mail.python.org/mailman/listinfo/catalog-sig