David Lyon wrote:
What we actually need, and I am building, is a setup.py script
that is going to be a 'trimmed' version of distutils that includes
all neccessary package/application installation code to do the install
from the setup.info file.
Be very aware of the problems of proliferating boilerplate code
(buildout has already suffered this):
- old versions will have to work forever
- bug fixes are *very* hard to do
I would like my setup.py to look like:
from xxx import setup
setup()
...and have all the code be in xxx. If xxx is a separately available
package for python<2.7, then fine.
I would prefer to see "hard logic" in setup.py where there is a good
programming language to support it any everything else in setup.cfg
(don't like .info, sorry ;-) ). My hunch is that for 95% of packages,
setup.py will be nothing more than the above...
Chris
--
Simplistix - Content Management, Batch Processing & Python Consulting
- http://www.simplistix.co.uk
_______________________________________________
Distutils-SIG maillist - Distutils-SIG@python.org
http://mail.python.org/mailman/listinfo/distutils-sig