FAQ
In-Reply-To: <8faqj0FnoeU1 at mid.individual.net>
References: <8faqj0FnoeU1 at mid.individual.net>

In message <8faqj0FnoeU1 at mid.individual.net>, on Tue, 14 Sep 2010 20:50:04 -0600, Wed Sep 15 04:50:04 2010, Paul Watson wrote:
$ python setup.py sdist
[...]
reading manifest file 'MANIFEST'
[...]
' not a regular file -- skipping
' not a regular file -- skipping
' not a regular file -- skipping
In distutils/command/sdist.py in make_release_tree() I find

log.warn("'%s' not a regular file -- skipping" % file)

Therefore 2 apostrophes should appear in your setup.py sdist output. But you are seeing only one, therefore the file names in your file list probably contain a "\r" (carriage return). You seem to get your file list from a MANIFEST file, and probably this MANIFEST file was checked in on Windows with CR LF line endings and now you are reading it in cygwin (or in any Unix like environment) and you are getting a file name "sample.py\r" instead of "sample.py". The file "sample.py" exists and is a regular file. But the file "sample.py\r" does not exist and is therefore especially not a regular file.

HTH, regards
Christoph

--
GMX DSL Doppel-Flat ab 19,99 &euro;/mtl.! Jetzt auch mit
gratis Notebook-Flat! http://portal.gmx.net/de/go/dsl

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppython-list @
categoriespython
postedNov 15, '10 at 11:24a
activeNov 15, '10 at 11:24a
posts1
users1
websitepython.org

1 user in discussion

Christoph Michalke: 1 post

People

Translate

site design / logo © 2022 Grokbase