/
setup.py
executable file
·50 lines (44 loc) · 1.65 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
# interfile - Interfile read and write
# Stefano Pedemonte
# Aalto University, School of Science, Helsinki
# 2013 - 2015 Helsinki
# Use old Python build system, otherwise the C extension libraries cannot be found.
# his works in Python 2.7 and 3.0, but might break in future releases.
# FIXME: Implement a better search mechanism for the C extension libraries.
import sys
for arg in sys.argv:
if arg=="install":
sys.argv.append('--old-and-unmanageable')
from setuptools import setup\
#, Extension
#from glob import glob
#interfile_c_module = Extension('interfile.interfile_c', ['interfile/interfile_c.c'])
setup(
name='interfile',
version='0.3.5',
author='Stefano Pedemonte',
author_email='stefano.pedemonte@gmail.com',
packages=['interfile', 'interfile.examples', 'interfile.tests'],
package_data={'interfile.examples':['*.s','*.l','*.hdr','*.pickle']},
scripts=[],
# ext_modules=[interfile_c_module, ],
test_suite = "interfile.tests",
url='http://tomographylab.scienceontheweb.net/',
license='LICENSE.txt',
description='Interfile read and write.',
long_description=open('README.rst').read(),
classifiers = [
"Programming Language :: Python",
"Development Status :: 4 - Beta",
"Environment :: Other Environment",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering :: Medical Science Apps.",
"Topic :: Scientific/Engineering :: Mathematics",
],
install_requires=[
#"numpy >= 1.6.0",
#"simplewrap >= 0.3.0",
],
)