-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
25 lines (23 loc) · 1.02 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
from distutils.core import setup, Extension
import numpy
include_dirs_numpy = [numpy.get_include()]
ext = Extension('libpyspg',
include_dirs = ['c/'] + include_dirs_numpy,
sources = ['libpyspg.c',
'c/cell.c',
'c/debug.c',
'c/hall_symbol.c',
'c/kpoint.c',
'c/lattice.c',
'c/mathfunc.c',
'c/pointgroup.c',
'c/primitive.c',
'c/refinement.c',
'c/site_symmetry.c',
'c/sitesym_database.c',
'c/spacegroup.c',
'c/spg_database.c',
'c/spglib.c',
'c/spin.c',
'c/symmetry.c'])
setup(name='libpyspg', version='1.4.1', description='This is libpyspg.', ext_modules=[ext])