-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Brett,

On 10/12/2011 07:11 AM, Brett H wrote:
> Post 1.4 you actually might want to think a bit about integrating a
> distutils2 setup.cfg into the manage.py folder and the startproject
> command.

Oh, I certainly have thought about it :-) A number of people, myself
included, have played around with making projects installable, which is
an even more thorough solution to making sure its on sys.path properly.
Without that, we're still depending on either using an entrypoint script
in the correct directory, having the correct directory be the CWD, or
using PYTHONPATH or equivalent.

Currently, the main difficulty with installable projects is that it's
hard to do properly, because projects typically rely on a large number
of templates and static assets, and today in distutils/setuptools it's
quite painful to get all those listed correctly in your setup.py so
they'll be installed. I think a lot of people doing "installable
projects" just punt on that and install --editable and/or reference
static assets and templates from the original checkout rather than an
installed location. This is a bit janky, since normally when a Python
package is installed you expect it to come with everything it needs, and
not still be relying on stuff from the installation source.

With distutils2 it should be much easier to do it right, and I'm
certainly interested in the idea of adding a setup.cfg to the
startproject layout, and possibly as an option to startapp as well. I
think we should wait to make this move until distutils2 has seen some
adoption and the initial warts are hammered out, though - so hopefully
some time late next year? Even that might be optimistic.

Carl
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk6VmHEACgkQ8W4rlRKtE2f/BACgg/VLBmQEghsgTAOHIRPf4it8
YXkAoNVNYSFPf2O6wd7yoHFS9uTpRbcg
=MqHe
-----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 django-developers@googlegroups.com.
To unsubscribe from this group, send email to 
django-developers+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en.

Reply via email to