forked from SciLifeLab/facs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·55 lines (52 loc) · 1.93 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
43
44
45
46
47
48
49
50
51
52
53
54
55
from setuptools import setup, find_packages
from setuptools.extension import Extension
import os
import glob
version = '2.0'
platform = os.uname()[0]
if not platform == 'Darwin':
c_ext = Extension("facs/_facs", define_macros = [('NODEBUG', '1'), ('FILE_OFFSET_BITS', '64'), ('LARGE_FILE', '1')],
sources = [f for f in glob.glob('facs/*.c') if 'mpi' not in f],
extra_compile_args = ['-fopenmp'],
extra_link_args=['-lgomp', '-lz'])
else:
c_ext = Extension("facs/_facs", define_macros = [('NODEBUG', '1')],
sources = [f for f in glob.glob('facs/*.c') if 'mpi' not in f],
extra_compile_args = ['-Wno-unknown-pragmas', '-Wno-unused-value'],
extra_link_args=['-lz'])
setup(name='facs',
version=version,
description="FACS bloom filter implementation",
long_description="""FACS you""",
ext_modules=[c_ext],
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Science/Research",
"Intended Audience :: Healthcare Industry",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Natural Language :: English",
"Operating System :: POSIX :: Linux",
"Programming Language :: C",
"Programming Language :: Python",
"Topic :: Scientific/Engineering :: Bio-Informatics"
],
keywords='bloom filter probabilistic bioinformatics',
author='Enze Liu, Lars Arvestad, Henrik Stranneheim, Roman Valls Guimera',
author_email='[email protected]',
url='http://facs.scilifelab.se/',
license='GPLv3',
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
include_package_data=True,
zip_safe=False,
install_requires=[
"nose",
"nose-timer",
"jinja2",
"requests",
"couchdb"
],
entry_points="""
# -*- Entry points: -*-
""",
)