[Zope] Wanted: Procedure to produce binary release from sourc e release

Brian Lloyd Brian@digicool.com
Tue, 29 Aug 2000 13:42:40 -0400


We use a script that basically pulls binary files out of 
our CVS repository - I dont think that would be very useful 
to you :(  This should be pretty easy though - I would suggest 
making a little python script that makes use of the install 
machinery that's already there in Zope (w_pcgi and wo_pcgi 
are just thin wrappers around some of that machinery). For 
example:

# builder.py - untar a Zope source release, cd to the 
# top directory of it and run this script. It will build 
# all of the binaries for the current platform - you 
# could easily extend this to tar up the result, etc.

import sys, os

def main(dirname):
  # add zope install helper modules to path
  sys.path.insert(0, os.path.join(dirname, 'inst'))

  # build pcgi
  import build_pcgi

  # build pyc files (could be skipped if you want)
  import compilezpy

  # build the extensions
  import build_extensions

if __name__ == '__main__':
  main(os.getcwd())


Hope this helps!



Brian Lloyd        brian@digicool.com
Software Engineer  540.371.6909              
Digital Creations  http://www.digicool.com 




> -----Original Message-----
> From: Soren Roug [mailto:soren@roug.org]
> Sent: Tuesday, August 29, 2000 4:24 AM
> To: zope@zope.org
> Subject: [Zope] Wanted: Procedure to produce binary release 
> from source
> release
> 
> 
> I support a couple of UNIX platforms, that are DC doesn't 
> provide binary
> releases for. So what I would like to do is roll my own binary release
> and then send it to my system administrators.
> 
> However, trying to do this from the source release is no easy 
> task, so I
> would like to know if DC has a script that does this automatically and
> are they willing to share it? Preferably downloadable from 
> www.zope.org.
> 
> Best regards
> 
> Soren Roug
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>