summaryrefslogtreecommitdiff
path: root/ts_cpp/setup.py
blob: 37111f39a0c4b265590fe4d7980fc6d84f6e9b1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
"""Setup script for the Triplet structure C++ extensions.

See https://docs.python.org/3/extending/building.html
"""
from distutils.core import setup, Extension
from glob import glob
import pybind11

TC_CPP_MODULE = Extension("ts_cpp",
                          include_dirs=[pybind11.get_include()],
                          extra_compile_args=["-O3", "-std=c++11"],
                          sources=glob("*.cc"))

setup(name="ts_cpp",
      version="1.0",
      description="Optimized triplet structure extension",
      author="Matthew A. Sotoudeh",
      author_email="masotoudeh@ucdavis.edu",
      ext_modules=[TC_CPP_MODULE])
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback