forked from Normaliz/PyNormaliz
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·23 lines (20 loc) · 723 Bytes
/
setup.py
File metadata and controls
executable file
·23 lines (20 loc) · 723 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/env python
from distutils.core import setup, Extension
import sys
if sys.version_info < (3,5):
macro_list = [ ( "PYTHON_VERSION_OLDER_THREE_FIVE", "1" ) ]
else:
macro_list = [ ]
setup(
name = 'PyNormaliz',
version = '1.1',
description = 'An interface to Normaliz',
author = 'Sebastian Gutsche',
author_email = 'sebastian.gutsche@gmail.com',
url = 'https://github.com/sebasguts/PyNormaliz',
ext_modules = [ Extension( "PyNormaliz",
[ "NormalizModule.cpp" ],
extra_link_args=['-lnormaliz', '-lgmp' ],
define_macros = macro_list ) ],
package_data = {'': [ "COPYING", "GPLv2" ] },
)