-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
22 lines (20 loc) · 1.03 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
#from distutils.core import setup, Extension
from setuptools import find_packages, setup, Extension
module1 = Extension('cppvoro',
define_macros = [('MAJOR_VERSION', '1'),
('MINOR_VERSION', '1')],
include_dirs = [
'/usr/include/voro++',
'/usr/lib/python3.7/site-packages/numpy/core/include'],
libraries = ['voro++', 'CGAL_Core', 'CGAL', 'gmp'],
library_dirs = ['/usr/lib'],
sources = ['src/vorosym/cppvoro.cpp', 'src/vorosym/rotationsym.cpp'])
setup (name = 'vorosym',
version = '0.0.2',
description = 'Python library for Voronoi diagrams with periodic boundary conditions and symmetry measures',
author = 'Peter Bjørn Jørgensen',
author_email = '[email protected]',
#url = 'https://docs.python.org/extending/building',
package_dir={'': 'src'},
packages=find_packages('src'),
ext_modules=[module1])