[Zope] How to build a c extension on a linux system
Steve Spicklemire
steve@spvi.com
Mon, 4 Dec 2000 10:38:01 -0500 (EST)
I keep my own CVS'ed versions of ZPatterns and PlugIns so I can
patch/change with a little control. For my own convenience I
put a build.py file in the ZPatterns directory and my usual
sequence is:
cvs co ZPatterns
cvs co PlugIns
cd ZPatterns
python build.py
this way I don't have to think very hard when
I'm installing on a new Zope....
build.py:
----------------------------------------------------------------------
import os
os.system('cp /usr/local/lib/python1.5/config/Makefile.pre.in .')
os.system('make -f Makefile.pre.in boot')
os.system('make')
----------------------------------------------------------------------
Is that what you're looking for?
-steve
R>
R>
R> i would like to install a zope product that includes a c extension
R> (DynPersist.c) with a Setup file like this:
R>
R> *shared*
R> DynPersist DynPersist.c -I../../ZODB
R> -I../../../Components/ExtensionClass
R>
R> has anybody an idea, how to start the compilation ?
R> thx Ruediger
R>
R> ~~~~~~~~~~~~~~~~~~~~~~~~~
R> http://www.herrenausstatter.de - Der Online-Herrenausstatter
R> Kostenlose Serviceline: 0800 -999 66 33
R> Versandkostenfreie Lieferung - 30 Tage Rückgaberecht
R> ~~~~~~~~~~~~~~~~~~~~~~~~~
R> Verwaltungsadresse:
R> DePauli.com Aktiengesellschaft
R> Stahlgruberring 3 - 81829 München
R> Telefon: 089 / 530 75 170 - Telefax 089 / 514 50 666
R>
R> _______________________________________________
R> Zope maillist - Zope@zope.org
R> http://lists.zope.org/mailman/listinfo/zope
R> ** No cross posts or HTML encoding! **
R> (Related lists -
R> http://lists.zope.org/mailman/listinfo/zope-announce
R> http://lists.zope.org/mailman/listinfo/zope-dev )
R>