Commit 30ddb32d by Eric Coissac

first skeleton of the obitools3 package

parent 5948858a
include setup.py
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
../../../src/obidms.h
../../../src/obidms.c
../../../src/obierrno.h
../../../src/obierrno.c
../../../src/obilittlebigman.h
../../../src/obilittlebigman.c
../../../src/obitypes.h
../../../src/obitypes.c
cdef extern from *:
ctypedef char* const_char_p "const char*"
cdef extern from "obidms.h":
struct OBIDMS_t:
pass
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):
obi_close_dms(self.pointer)
\ No newline at end of file
../../../../src/obidms.h
../../../../src/obidms.c
../../../../src/obierrno.h
../../../../src/obierrno.c
../../../../src/obilittlebigman.h
../../../../src/obilittlebigman.c
../../../../src/obitypes.h
../../../../src/obitypes.c
../../../../src/obidmscolumn.h
../../../../src/obidmscolumn.c
major = 1
minor = 1
serial= '16'
version = "%2d.%02d.%s" % (major,minor,serial)
--extra-index-url https://pypi.python.org/simple/
Cython>=0.21
Sphinx>=1.2.0
ipython>=3.0.0
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