Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it

563624 views
1
#!/usr/bin/env python
2
3
from distutils.core import setup, Extension
4
import sys
5
6
if sys.version_info < (3,5):
7
macro_list = [ ( "PYTHON_VERSION_OLDER_THREE_FIVE", "1" ) ]
8
else:
9
macro_list = [ ]
10
11
setup(
12
name = 'PyNormaliz',
13
version = '1.7',
14
description = 'An interface to Normaliz',
15
author = 'Sebastian Gutsche, Richard Sieg',
16
author_email = '[email protected]',
17
url = 'https://github.com/Normaliz/PyNormaliz',
18
py_modules = [ "PyNormaliz" ],
19
ext_modules = [ Extension( "PyNormaliz_cpp",
20
[ "NormalizModule.cpp" ],
21
extra_link_args=['-lnormaliz', '-lgmp' ],
22
define_macros = macro_list ) ],
23
24
package_data = {'': [ "COPYING", "GPLv2", "Readme.md" ] },
25
)
26
27