[Distutils] Package name != filename, and: Python version information

newsgroups at debain.org newsgroups at debain.org
Fri Feb 23 13:30:48 CET 2007


Hi,

With the following in my setup script:

-------------
from distutils.core import setup
setup(name             = 'Spiff WikiMarkup',
      [...]
      requires         = ['Plex'],
      provides         = ['WikiMarkup'],
      [...]
-------------

1. Distutils generates a tarball named "Spiff WikiMarkup-0.1.tar.gz". How can I
replace the space in the filename by an underscore?

2. In Python cheese shop, there is a field that shows the Python version
that is required by a listed package.

I have not found this covered in the documentation: How do you add the Python
version information into the setup script of a package?

Also, is there a complete keyword list somewhere? This list:

http://docs.python.org/dist/meta-data.html

seems to contain only few of the keywords available (for example, the "provides"
and "requires" keywords are not listed, even though covered in the previous
chapters of the documentation). 

Thanks,
-Samuel


More information about the Distutils-SIG mailing list