forked from opensoft/pulpcbc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
27 lines (23 loc) · 843 Bytes
/
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
26
27
from distutils.core import setup
from distutils.extension import Extension
from Cython.Distutils import build_ext
ext_modules = [Extension('pulpcbc',
['pulpcbc.pyx', 'CyEventHandler.cpp'],
libraries=['CbcSolver', 'Cbc', 'Cgl', 'Osi', 'OsiClp',
'Clp', 'CoinUtils', 'rt', 'bz2', 'z',
'blas', 'lapack'],
extra_compile_args=['-fpermissive'],
extra_link_args=['-Wl,--no-as-needed'],
language="c++",
)]
setup(
name='pulpcbc',
version='0.1.3',
url='https://github.com/opensoft/pulpcbc',
cmdclass={'build_ext': build_ext},
ext_modules=ext_modules,
requires=[
'Cython',
'PuLP',
],
)