Very sorry about the multiple emails. Yahoomail gave me no indication that they were actually being sent. Sorry to all. Thanks again Andy, Jason Spisak --- Andy McKay <andym@ActiveState.com> wrote:
No problem... hope it works. -- Andy McKay.
----- Original Message ----- From: "resefficient..." <resefficient@yahoo.com> To: "Andy McKay" <andym@activestate.com> Cc: <zope-dev@zope.org> Sent: Thursday, March 22, 2001 3:43 PM Subject: Re: [Zope-dev] What does DC use to compile Splitter.c on Windows?
I just got back into my office and low and behold!
Andy, you shouldn't have...but I'm glad you did. :) I'll test it out.
I can't wait to see what Chris M. has up his sleeve.
--- Andy McKay <andym@ActiveState.com> wrote:
Here we go.... maybe
How to:
get Python 1.5.2 source and build it. get Zope source put ext15.py somewhere in your path
then call
d:\Python-1.5.2\python d:\Zope-2.3.0-src\ext15.py -p d:\Python-1.5.2
you need to specify the source of your python and you may need to move a few files within python to get it looking at the right files.
totally untested pyd but Visual Studio 6.0 didnt complain
HTH -- Andy McKay.
----- Original Message ----- From: "resefficient..." <resefficient@yahoo.com> To: <zope-dev@zope.org> Sent: Thursday, March 22, 2001 1:36 PM Subject: [Zope-dev] What does DC use to compile Splitter.c on Windows?
Can someone from DC tell me what they use to come up with the binary version of the Splitter on Windoze. I am trying to get the Catalog to recognize "C++" on Win32. I have posted the Splitter.c file to my home page http://www.zope.org/Members/jspisak/Splitter
Can anyone give me a clue as to how to make a working Splitter.pyd out of this file on Windoze.
Thanks in advance!
Jason Spisak
Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/
Zope-Dev maillist - Zope-Dev@zope.org
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! ** (Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
ATTACHMENT part 2 application/octet-stream name=Splitter.pyd
ATTACHMENT part 3 application/octet-stream name=Splitter.def
ATTACHMENT part 4 application/octet-stream name=Splitter.mak
ATTACHMENT part 5 application/octet-stream name=Splitter.c
'''Build t Python extension using Visual C++ 40
This script generates and runs a series of .mak and .def files for extensions defined in a Setup file.
Note that you must have set up your environment to run VC command-line ustilities. This can be done by running the vcvar32.bat file in the VC++ bin directory.
Usage: python ext.py [options]
Options:
-r Run nmake to build release version -d Run nmake to build debug version -c If used with -r or -d, runs nmake on clean target. -p Specify location of Python source tree. Default is ..\.. (assuming you are in Extensions/some_name)
The script reads a file named "Setup" in the current directory. The Setup file has lines that describe the contents of an extension. Here\'s an example:
ExtensionClass ExtensionClass.c Acquisition Acquisition.c
Note that I\'ve intented for readability. The Setup file shouldn\'t be indented. Basically, the first token on the line is the module name, and the second token on the line is the sorce file. Additional source files and include directories may be included as well, as in:
pyexpat pyexpat.c -DXML_NS -Iexpat/xmlparse -Iexpat/xmltok expat/xmlparse/xmlparse.c expat/xmlparse/hashtable.c expat/xmltok/xmlrole.c expat/xmltok/xmltok.c
''' # '
import sys, getopt, os, string, regex
def die(m): print m print print __doc__ sys.exit(1)
def setup():
poptlist,pargs=getopt.getopt(sys.argv[1:],'p:drcI:o:h')
if opt(poptlist,'h'): print __doc__ if poptlist==[('-h','')]: sys.exit(0)
pargs and die('Unrecognized arguments: %s', string.join(args))
=== message truncated === __________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/