-
Notifications
You must be signed in to change notification settings - Fork 140
/
Copy pathsetup.py
57 lines (52 loc) · 2.67 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
56
57
#!/usr/bin/env python
import ast
import re
try:
from setuptools import setup
except:
from distutils.core import setup
# taken from Flask
_version_re = re.compile(r'__version__\s+=\s+(.*)')
with open('spectral/__init__.py', 'rb') as f:
version = str(ast.literal_eval(_version_re.search(
f.read().decode('utf-8')).group(1)))
long_description = '''Spectral Python (SPy) is a pure Python module for
processing hyperspectral image data (imaging spectroscopy data). It has
functions for reading, displaying, manipulating, and classifying hyperspectral
imagery. SPy is Free, Open Source Software (FOSS) distributed under the MIT
License.'''
setup(name='spectral',
version=version,
description='Spectral Python (SPy) is a Python module for hyperspectral image processing.',
long_description=long_description,
author='Thomas Boggs',
author_email='thomas.boggs@gmail.com',
license='MIT',
url='http://spectralpython.net',
download_url='https://github.com/spectralpython/spectral/releases/latest',
packages=['spectral', 'spectral.algorithms', 'spectral.database',
'spectral.graphics', 'spectral.io', 'spectral.tests',
'spectral.utilities'],
package_data={'spectral.tests': ['data/*.spc',
'data/ecostress/*.txt',
'data/usgs/ASCIIdata/liba/*.txt',
'data/usgs/ASCIIdata/liba/ChapterB_b0/*.txt',
'data/usgs/ASCIIdata/liba/ChapterD_d0/*.txt',
'data/usgs/ASCIIdata/libc/*.txt',
'data/usgs/ASCIIdata/lib/errorbars/*.txt',
'data/usgs/ASCIIdata/libc/ChapterB_b0/*.txt',
'data/usgs/ASCIIdata/libc/ChapterD_d0/*.txt']},
platforms=['Platform-Independent'],
install_requires=['numpy'],
classifiers=['Development Status :: 4 - Beta',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Environment :: Console',
'Natural Language :: English',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Image Recognition',
'Topic :: Scientific/Engineering :: GIS',
'Topic :: Scientific/Engineering :: Information Analysis',
'Topic :: Scientific/Engineering :: Visualization'])