forked from IBMSpectrumComputing/lsf-python-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·38 lines (36 loc) · 1.69 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
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/usr/bin/env python
#
# (C) Copyright IBM Corporation 2013
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the Eclipse Public License.
#
import os
from distutils.core import setup, Extension
setup(name='platform-python-lsf-api',
version='1.0.1',
description='Python binding for Platform LSF APIs',
license='LGPL',
keywords='LSF,Grid,Cluster,HPC',
url='http://www.platform.com',
ext_package='pythonlsf',
ext_modules=[Extension('_lsf', ['pythonlsf/lsf.i'],
include_dirs=['/usr/include/python2.4'],
library_dirs=[os.environ['LSF_LIBDIR']],
swig_opts=['-I' + os.environ['LSF_LIBDIR'] + '/../../include/lsf/'],
extra_compile_args=['-m64', '-I' + os.environ['LSF_LIBDIR'] + '/../../include/lsf/', '-Wno-strict-prototypes'],
extra_link_args=['-m64'],
libraries=['c', 'nsl', 'lsbstream', 'lsf', 'bat', 'rt',
'fairshareadjust'])],
py_modules=['pythonlsf.lsf'],
classifiers=["Development Status :: 2 - Pre-Alpha",
"License :: OSI Approved :: Eclipse Public License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Internet",
"Topic :: Scientific/Engineering",
"Topic :: Software Development",
"Topic :: System :: Distributed Computing",
"Topic :: Utilities",
],
)