[Python-Dev] Integrate BeautifulSoup into stdlib?

Tres Seaver tseaver at palladion.com
Mon Mar 23 20:14:50 CET 2009


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

Antoine Pitrou wrote:
> Chris Withers <chris <at> simplistix.co.uk> writes:
>> Well, python already has tools available to do exactly this.:
>> buildout from a private egg repository will do exactly what you're after.
>>
>> However, its built on top of setuptools, which is flawed, and it's not 
>> blessed as "official core python", so there's lots of room for improvement!
> 
> Could you explain how buildout is an improvement over other systems?
> Its documentation seems full of generic wording ("parts" etc.) that I can't make
> sense of.

It has a couple of differentiators from a "stock" distutils or
setuptools-based installation:

 - Distributions are compiled and installed as eggs, but in a directory
   which is neither on the sys.path nor one of those marked as a 'site'
   directory.  zc.buildout *does* use the dependency information, if
   present in setup.py, to fetch dependent distributions (like
   easy_install with the --multi-version option).

 - Scripts generated from the eggs get a generated prologue which sets
   up the sys.path expressing the requirements spelled out for that
   script.

 - It externalizes much of the "how to build it" information out of
   'setup.py' into a separate "INI-style" configuration file,

 - It uses "recipes" as extensions, which enable a lot of tasks which
   are unsupported or poorly supported by distutils / setuptools (e.g.,
   installing non-Python software using "configure-make-make install",
   generating config files, etc.)


Tres.
- --
===================================================================
Tres Seaver          +1 540-429-0999          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJx9+q+gerLs4ltQ4RAlheAJ0Wq98Q3+SwgeaZthN2FrVYLyle2wCg3NiG
QX6ojgLlSmBJY1g48gMLimM=
=pkMq
-----END PGP SIGNATURE-----



More information about the Python-Dev mailing list