[C++-sig] [Py++] Generate Python code for ctypes?

Nikolaus Rath Nikolaus at rath.org
Sun Dec 13 03:54:54 CET 2009


Roman Yakovenko <roman.yakovenko at gmail.com> writes:
> You can take a look on gmplib example:
> http://pygccxml.svn.sourceforge.net/viewvc/pygccxml/pyplusplus_dev/examples/gmplib_dev/
> It is fully working.

I downloaded Pyplusplus 1.0 from
http://sourceforge.net/projects/pygccxml/files/, but when I try to run
the code, I get

$ python generate_code.py 
/home/nikratio/.local/lib/python2.6/site-packages/pygccxml/parser/declarations_cache.py:8: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import md5
Traceback (most recent call last):
  File "generate_code.py", line 9, in <module>
    from pyplusplus.module_builder import ctypes_module_builder_t
ImportError: cannot import name ctypes_module_builder_t


Do I need the CVS version?


Best,

   -Nikolaus

-- 
 »Time flies like an arrow, fruit flies like a Banana.«

  PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6  02CF A9AD B7F8 AE4E 425C



More information about the Cplusplus-sig mailing list