1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
#!/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 = 'PyQNormaliz',
version = '1.1',
description = 'An interface to Normaliz',
author = 'Sebastian Gutsche, Richard Sieg',
author_email = 'sebastian.gutsche@gmail.com',
url = 'https://github.com/Normaliz/PyQNormaliz',
ext_modules = [ Extension( "PyQNormaliz_cpp",
[ "QNormalizModule.cpp" ],
extra_link_args=['-lQnormaliz', '-lgmp' ],
define_macros = macro_list ) ],
package_data = {'': [ "COPYING", "GPLv2", "Readme.md" ] },
)
|