Commit 30ddb32d authored by Eric Coissac's avatar Eric Coissac

first skeleton of the obitools3 package

parent 5948858a
recursive-include distutils.ext *.py *.c *.pem
recursive-include src *.pyx *.pxd *.c *.h *.cfiles
recursive-include doc/sphinx/source *.txt *.rst *.py
recursive-include doc/sphinx/sphinxext *.py
include doc/sphinx/make.bat
include doc/sphinx/Makefile
include README.txt
include requirements.txt
cdef extern from *:
ctypedef char* const_char_p "const char*"
cdef extern from "obidms.h":
struct OBIDMS_t:
ctypedef OBIDMS_t* OBIDMS_p
OBIDMS_p obi_create_dms(const_char_p name)
OBIDMS_p obi_open_dms(const_char_p name)
int obi_close_dms(OBIDMS_p dms)
class OBIDMS:
cdef OBIDMS_p pointer
\ No newline at end of file
from capidms cimport *
class OBIDMS:
def __init__(self,name):
self.pointer = obi_create_dms(name)
def __del__(self):
\ No newline at end of file
major = 1
minor = 1
serial= '16'
version = "%2d.%02d.%s" % (major,minor,serial)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment