Re: [Zope-dev] docs.zope.org automation

2010-08-03 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Brian,


 Do you have access to an source distribution (tarball or zip) for the
 package involved?
 
 In the source distribution the PKG-INFO file is always at the top level.

No, these are trunk checkouts.

jens

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

iEYEARECAAYFAkxXuq0ACgkQRAx5nvEhZLKuOwCeKf/h1Sb9oxUoTPOBgexPafRC
essAoLISBbIoU+fQhzk9w4syHZVtKbxw
=trcX
-END PGP SIGNATURE-
___
Zope-Dev maillist  -  Zope-Dev@zope.org
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 )


Re: [Zope-dev] docs.zope.org automation

2010-08-03 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 8/3/10 00:19 , Tres Seaver wrote:
 The 'pkginfo' utility knows how to extract package metadata from stuff
 installed on the path:
 
 http://packages.python.org/pkginfo/distributions.html#introspecting-installed-packages
 
 as well as from checkouts:
 
 http://packages.python.org/pkginfo/distributions.html#introspecting-development-checkouts


Just like the counterparts in setuptools this only works if you pass it
a path that has a PKG-INFO or .egg-info directly in that folder. The
problem is, with many packages those are not in the root folder of the
package after doing a setup.py egg_info. Those packages normally use the
package_dir argument to their setup call in setup.py, but that's
information I can't get to, it's in the argument list for the setup call.

jens

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

iEYEARECAAYFAkxXwEYACgkQRAx5nvEhZLLuYACePk94ugHgdaHXN3kHP2k+91vq
jHUAnA9QIvT89QqyILg8vIVQfrnwpoYv
=i3gm
-END PGP SIGNATURE-
___
Zope-Dev maillist  -  Zope-Dev@zope.org
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 )


[Zope-dev] Zope Tests: 27 OK, 25 Failed, 5 Unknown

2010-08-03 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list.
Period Mon Aug  2 12:00:00 2010 UTC to Tue Aug  3 12:00:00 2010 UTC.
There were 57 messages: 6 from Zope Tests, 1 from buildbot at 
enfoldsystems.com, 4 from buildbot at pov.lt, 13 from buildbot at 
winbot.zope.org, 8 from ccomb at free.fr, 25 from jdriessen at 
thehealthagency.com.


Test failures
-

Subject: FAILED : Zope 3.4 Known Good Set / py2.4-64bit-linux
From: buildbot at pov.lt
Date: Mon Aug  2 21:20:25 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-August/017805.html

Subject: FAILED : winbot / ztk_dev py_244_win32
From: buildbot at winbot.zope.org
Date: Mon Aug  2 22:01:46 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-August/017812.html

Subject: FAILED : winbot / ztk_dev py_254_win32
From: buildbot at winbot.zope.org
Date: Mon Aug  2 22:02:46 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-August/017813.html

Subject: FAILED : winbot / ztk_dev py_265_win32
From: buildbot at winbot.zope.org
Date: Mon Aug  2 22:03:46 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-August/017814.html

Subject: FAILED : winbot / ztk_dev py_265_win64
From: buildbot at winbot.zope.org
Date: Mon Aug  2 22:04:45 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-August/017815.html

Subject: FAILED : Bluebream / Python2.5.2 32bit linux
From: ccomb at free.fr
Date: Mon Aug  2 22:09:47 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-August/017818.html

Subject: FAILED : Bluebream / Python2.4.6 32bit linux
From: ccomb at free.fr
Date: Mon Aug  2 22:09:48 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-August/017817.html

Subject: FAILED : Bluebream / Python2.6.4 32bit linux
From: ccomb at free.fr
Date: Mon Aug  2 22:09:48 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-August/017816.html

Subject: FAILED : winbot / ztk_10 py_244_win32
From: buildbot at winbot.zope.org
Date: Mon Aug  2 22:10:45 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-August/017819.html

Subject: FAILED : winbot / ztk_10 py_254_win32
From: buildbot at winbot.zope.org
Date: Mon Aug  2 22:11:45 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-August/017820.html

Subject: FAILED : winbot / ztk_10 py_265_win32
From: buildbot at winbot.zope.org
Date: Mon Aug  2 22:12:44 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-August/017821.html

Subject: FAILED : winbot / ztk_10 py_265_win64
From: buildbot at winbot.zope.org
Date: Mon Aug  2 22:13:44 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-August/017822.html

Subject: FAILED : Zope 3.4 Known Good Set / py2.5-64bit-linux
From: buildbot at pov.lt
Date: Mon Aug  2 22:20:27 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-August/017823.html

Subject: FAILED : winbot / ZODB_dev py_254_win32
From: buildbot at winbot.zope.org
Date: Mon Aug  2 22:40:47 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-August/017824.html

Subject: FAILED : winbot / ZODB_dev py_265_win32
From: buildbot at winbot.zope.org
Date: Mon Aug  2 22:41:49 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-August/017825.html

Subject: FAILED : winbot / ZODB_dev py_265_win64
From: buildbot at winbot.zope.org
Date: Mon Aug  2 22:42:49 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-August/017826.html

Subject: FAILED : winbot / ZODB_dev py_270_win32
From: buildbot at winbot.zope.org
Date: Mon Aug  2 22:43:51 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-August/017827.html

Subject: FAILED : winbot / ZODB_dev py_270_win64
From: buildbot at winbot.zope.org
Date: Mon Aug  2 22:44:48 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-August/017828.html

Subject: FAILED : Zope 3.4 Known Good Set / py2.4-32bit-linux
From: buildbot at pov.lt
Date: Mon Aug  2 23:16:07 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-August/017829.html

Subject: FAILED : Zope 3.4.1 KGS / Python2.4.6 32bit linux
From: ccomb at free.fr
Date: Tue Aug  3 00:03:13 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-August/017830.html

Subject: FAILED : Zope 3.4.1 KGS / Python2.5.2 32bit linux
From: ccomb at free.fr
Date: Tue Aug  3 00:09:38 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-August/017831.html

Subject: FAILED : Zope 3.4 Known Good Set / py2.5-32bit-linux
From: buildbot at pov.lt
Date: Tue Aug  3 00:16:16 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-August/017832.html

Subject: FAILED : ZTK 1.0 / Python2.4.6 Linux 32bit
From: ccomb at free.fr
Date: Tue Aug  3 01:09:46 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-August/017833.html

Subject: FAILED : ZTK 1.0 / Python2.5.2 Linux 32bit
From: ccomb at free.fr
Date: Tue Aug  3 01:09:48 EDT 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-August/017834.html

Subject: FAILED : ZTK 1.0 / Python2.6.4 Linux 32bit
From: ccomb at free.fr
Date: Tue Aug  3 01:09:48 EDT 2010

Re: [Zope-dev] docs.zope.org automation

2010-08-03 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 8/2/10 15:51 , Stephan Richter wrote:
 We have put a lot of energy into putting the full documentation of packages 
 into the package's long description and most packages have this layout (I 
 know, because I did it for most. ;-) So it might be good to use the long 
 description of the package, if the other two methods fail. This would turn on 
 documentation for a lot of packages and we can move them over slowly.

This is now implemented as fallback, take another look at the package
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.

jens

[1] http://docs.zope.org/ztkpackages.html


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

iEYEARECAAYFAkxYf0IACgkQRAx5nvEhZLIFegCgg0WwW5KU4pJufwYboaePCcPL
5NAAnjgLa4vG/i2g1m8MPZI2v3g7o9UB
=OPU+
-END PGP SIGNATURE-
___
Zope-Dev maillist  -  Zope-Dev@zope.org
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 )


Re: [Zope-dev] docs.zope.org automation

2010-08-03 Thread Marius Gedminas
On Tue, Aug 03, 2010 at 10:42:42PM +0200, Jens Vagelpohl wrote:
 On 8/2/10 15:51 , Stephan Richter wrote:
  We have put a lot of energy into putting the full documentation of packages 
  into the package's long description and most packages have this layout (I 
  know, because I did it for most. ;-) So it might be good to use the long 
  description of the package, if the other two methods fail. This would turn 
  on 
  documentation for a lot of packages and we can move them over slowly.
 
 This is now implemented as fallback, take another look at the package
 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).

 jens
 
 [1] http://docs.zope.org/ztkpackages.html

Marius Gedminas
-- 
http://pov.lt/ -- Zope 3/BlueBream consulting and development


signature.asc
Description: Digital signature
___
Zope-Dev maillist  -  Zope-Dev@zope.org
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 )


Re: [Zope-dev] docs.zope.org automation

2010-08-03 Thread Jens Vagelpohl
-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  -  Zope-Dev@zope.org
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 )


Re: [Zope-dev] docs.zope.org automation

2010-08-03 Thread Hanno Schlichting
On Tue, Aug 3, 2010 at 11:05 PM, Jens Vagelpohl j...@dataflake.org wrote:
 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.

Maybe this gets you a bit further:

import os
from setuptools.sandbox import run_setup

package = os.path.join(os.curdir, 'zope.component')
os.chdir(package)
run_setup('setup.py', ['--long-description'])
os.chdir(os.pardir)


The run_setup call seems to dump the output to sys.stdout which might
be a bit painful to grab.

Hanno
___
Zope-Dev maillist  -  Zope-Dev@zope.org
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 )


Re: [Zope-dev] docs.zope.org automation

2010-08-03 Thread Stephan Richter
On Tuesday, August 03, 2010, Jens Vagelpohl wrote:
 This is now implemented as fallback, take another look at the package
 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.

Yeah, this looks good.

Regards,
Stephan
-- 
Entrepreneur and Software Geek
Google me. Zope Stephan Richter
___
Zope-Dev maillist  -  Zope-Dev@zope.org
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 )