[Distutils] [setuptools] svn'ed file being missed with include_package_data=True

Dave Peterson dpeterson at enthought.com
Sat Aug 23 01:05:37 CEST 2008


Chris Withers wrote:
> [1] Anyone know how to get .tgz source builds on windows rather than
>     .zips?

Yes, do 'python setup.py sdist --formats=gztar'.

You can find this yourself by doing 'python setup.py sdist -h' which 
will show (among other things):

Options for 'sdist' command:
  --formats         formats for source distribution (comma-separated list)
  --keep-temp (-k)  keep the distribution tree around after creating archive
                    file(s)
  --dist-dir (-d)   directory to put the source distribution archive(s) in
                    [default: dist]
  --help-formats    list available distribution formats


And then a 'python setup.py sdist --help-formats' results in:

List of available source distribution formats:
  --formats=bztar  bzip2'ed tar-file
  --formats=gztar  gzip'ed tar-file
  --formats=tar    uncompressed tar file
  --formats=zip    ZIP file
  --formats=ztar   compressed tar file


-- Dave



More information about the Distutils-SIG mailing list