2014-08-05 02:14:03 -07:00
|
|
|
#!/usr/bin/env python2.7
|
2014-07-28 14:08:10 -07:00
|
|
|
from setuptools import setup, Extension
|
2014-07-22 12:41:51 -07:00
|
|
|
|
2014-07-28 14:48:14 -07:00
|
|
|
# should be a symlink to the root
|
2014-07-28 14:55:25 -07:00
|
|
|
# could also add the git rev to this?
|
2014-07-28 14:48:14 -07:00
|
|
|
version=open('VERSION').read().strip()
|
|
|
|
|
2014-07-22 12:41:51 -07:00
|
|
|
# the c++ extension module
|
2014-07-28 14:48:14 -07:00
|
|
|
extension_mod = Extension("qiradb._qiradb", ["qiradb/Trace.cpp", "qiradb/_qiradb.cpp"])
|
2014-07-22 12:41:51 -07:00
|
|
|
|
2014-07-28 14:48:14 -07:00
|
|
|
# specify the package
|
|
|
|
setup(name='qiradb', version=version, ext_modules=[extension_mod], packages=['qiradb'])
|
2014-07-22 12:41:51 -07:00
|
|
|
|