forked from tomopy/tomopy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
51 lines (49 loc) · 1.46 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, Extension, find_packages
tomoc = Extension(
name='lib.libtomopy',
extra_compile_args=['-std=c99'],
sources=[
'src/utils.c',
'src/project.c',
'src/gridrec.c',
'src/fft.c',
'src/art.c',
'src/bart.c',
'src/fbp.c',
'src/mlem.c',
'src/osem.c',
'src/ospml_hybrid.c',
'src/ospml_quad.c',
'src/pml_hybrid.c',
'src/pml_quad.c',
'src/prep.c',
'src/sirt.c',
'src/morph.c'])
setup(
name='tomopy',
packages=find_packages(),
version=open('VERSION').read().strip(),
include_package_data=True,
ext_modules=[tomoc],
zip_safe=False,
author='Doga Gursoy',
author_email='[email protected]',
description='Tomographic Reconstruction in Python.',
keywords=['tomography', 'reconstruction', 'imaging'],
url='http://tomopy.readthedocs.org',
download_url='http://github.com/dgursoy/tomopy.git',
license='BSD',
platforms='Any',
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: BSD License',
'Intended Audience :: Science/Research',
'Intended Audience :: Education',
'Intended Audience :: Developers',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: C']
)