[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] Generating VC6 project files for swig bindings

From: Branko Čibej <brane_at_xbc.nu>
Date: 2003-06-24 12:36:39 CEST

Russell Yanofsky wrote:

>Branko Cibej wrote:
>
>
>>Hm. With this patch attached, the bindings don't work for me;
>>specifically, importing libsvn.core fails, because the name of the
>>module is libsvn._core. How are the names of the binding libraries
>>defined on Unix? I suppose the underscore has to go away?
>>
>>
>
>No, my first patch made the underscore go away, but that was a mistake. With the
>new patch, proxying is enabled and swig will now generate a file called core.py
>in the same directory as the generated C file (subversion\bindings\swig\python).
>The generated file looks like:
>
> import _core
> ...
> svn_node_none = _core.svn_node_none
> svn_node_file = _core.svn_node_file
> svn_node_dir = _core.svn_node_dir
> ...
>
>You need to copy the newly generated .py files to your site packages\libsvn
>directory as descibed in the new INSTALL.
>
>
Oh! Sorry, I missed that. My apologies. I'll retest with your updated
patch right away.

-- 
Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jun 24 12:38:28 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.