+1 on installing CWD. Integrates nicely with the virtualenvwrapper mkproject command.
I have a much longer reasoning why startproject should not get into creating the outer folder which is effectively the distribution folder, and the domain of distribution packaging tools, so I'll follow this post up. On Oct 13, 11:09 am, Carl Meyer <[email protected]> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi Chris, > > On 10/12/2011 05:28 PM, Chris Beaven wrote: > > > Great job on getting the ball rolling on this, Carl! > > > +1 on the whole idea > > Thanks! > > > Similar to what Russ and Luke are saying, I'd also prefer it if > > startproject dropped manage.py and the project Python package in the > > current working directory (with overwrite checks first). > > I remain -1 on CWD pollution by default; I haven't yet seen any > arguments in favor of it that I find even slightly convincing. > > As we just discussed on IRC, I'd be happier to have an optional second > argument to startproject, if this is really an issue. If two arguments > were given, the first would be the containing directory name (which > could also be "."), and the second the package name. (Could also do it > in the other order, but I think putting the containing directory first > feels more natural, as it's "first" in the hierarchy). > > I'm also fine with ptone's patch to allow using an existing directory, > which maybe addresses some of the same cases. > > I think either one of these should be done as a separate follow-on > patch, though, as I think they are mostly-orthogonal new features for > startproject, not closely related to the purpose of this patch. > > Carl > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.10 (GNU/Linux) > Comment: Using GnuPG with Mozilla -http://enigmail.mozdev.org/ > > iEYEARECAAYFAk6WLCAACgkQ8W4rlRKtE2fK7wCgqnSaF8lHx0/bKcSIb4ElYEJ4 > hdsAn27cKx/j+m0prV9Kz8MptfQR2Dj+ > =GUEr > -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.
