On Wed, May 5, 2010 at 2:03 AM, Kevin Teague <
ke...@bud.ca> wrote:
>
>
> On May 3, 12:34 am, anatoly techtonik <
techto...@gmail.com> wrote:
>
>> It is common to make `svn export` before releasing projects to avoid
>> bundling .svn dirs, so README.txt is unlikely to trap inside. The
>> whole statement about SVN handling is doubtful. Does distutils really
>> rely on Subversion to determine files to be packages? Does it require
>> SVN client installed or SVN bindings or meddle with working copy
>> directory directly?
>
> No, I included misinformation in the guide :(
>
> Only Setuptools/Distribute use SVN to determine the MANIFEST, AFAIK.
> I've
> just re-written that section. The Quickstart still feels "clunky" to
> me,
> but at least it's more correct than it used to be ...
I consider using the SVN to determine the file list as a bad practice,
because someone
that gets the source code is unable to re-run distutils commands
again, unless the .svn is included
in the source, which is even worse.
>
> I left a TO-DO to link to docs describing how to include files in a
> MANIFEST.
> Is the intention of the Guide to replace the Distutils docs
> completely, or
> will they still be maintained and we should be linking to them?
>
>
http://docs.python.org/distutils/sourcedist.html
Yes, well, when distutils2 will be released, that might change. But
until then I guess it's ok
>
> There are some edits we could do there, such as, "README.txt (or
> README),
> setup.py (or whatever you called your setup script), and setup.cfg".
> Can you really call your 'setup.py' script whatever you want? I'm
> pretty
> sure pip, easy_install, etc. won't work if you rename them ...
Yes, it needs to be called setup.py
>
>> To make quick start testing easier there could be an accompanying
>> public domain example/testing/boilerplate package with sources somehow
>> synced to the guide.
>
> Yes. A job for another day though ...
>
Thanks for your contributions so far ! :)