[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: Russell Yanofsky <rey4_at_columbia.edu>
Date: 2003-06-24 08:38:11 CEST

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.

- Russ

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jun 24 08:39:14 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.