Re: docs.zope.org automation

Jens Vagelpohl <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 8/3/10 22:59 , Marius Gedminas wrote:
> On Tue, Aug 03, 2010 at 10:42:42PM +0200, Jens Vagelpohl wrote:
>> listing, like the ZTK list[1]. I had to resort to executing "setup.py
>> --long-description" in a subprocess, unfortunately. Never found out how
>> to do that programmatically.
> 
> From a source checkout?  There's no other way.  Many packages compute
> their long_description by running code (which reads and concatenates
> multiple text files).

I understand that. But it must be possible to do that programatically in
my code. I mean, "setup.py --long-description" obviously executes Python
code, which I may be able to execute myself in my current interpreter
session by importing and executing stuff from setuptools. Having to
invoke another Python interpreter in a subshell because that's too
complicated to do any other way is awful.

jens

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAkxYhIEACgkQRAx5nvEhZLLFqwCeNaScimdWCS3sNQv1QgmwuAr8
bR8AnA1+bcXsAdxuvaNP2AhUXD8S+8Qb
=ZE+5
-----END PGP SIGNATURE-----
_______________________________________________
Zope-Dev maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.