-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
42 lines (38 loc) · 1.34 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
38
39
40
41
42
from distutils.core import setup, Extension
#
# The directory in which the true bliss is hiding
#
blissdir = './bliss-0.50'
# The essential bliss source files
blisssrcs = ['graph.cc','heap.cc','orbit.cc','partition.cc',
'timer.cc','uintseqhash.cc']
blisssrcs = [blissdir+'/'+src for src in blisssrcs]
module1 = Extension('intpybliss',
define_macros = [('MAJOR_VERSION', '0'),
('MINOR_VERSION', '50beta')],
include_dirs = [blissdir],
sources = ['intpyblissmodule.cc']+blisssrcs
)
setup (name = 'IntPyBliss',
version = '0.50beta',
description = 'This is an internal PyBliss package',
author = 'Tommi Junttila',
#author_email = '',
#url = 'http://www.python.org/doc/current/ext/building.html',
long_description = '''
This is an internal PyBliss package.
Should never be used directly.
''',
ext_modules = [module1])
setup (name = 'PyBliss',
version = '0.50beta',
description = 'This is an internal PyBliss package',
author = 'Tommi Junttila',
#author_email = '',
#url = 'http://www.python.org/doc/current/ext/building.html',
long_description = '''
This is an internal PyBliss package.
Should never be used directly.
''',
py_modules = ['PyBliss']
)