forked from LANL-Seismoacoustics/pisces
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·50 lines (45 loc) · 1.66 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Pisces: A Practical Seismological Database Library in Python
"""
try:
import setuptools
except:
pass
import os
import glob
from numpy.distutils.core import setup, Extension
doclines = __doc__.split("\n")
setup(name='pisces-db',
version='0.2.1',
description='A Practical Seismological Database Library in Python.',
long_description=open('README.rst').read(),
author='Jonathan MacCarthy',
author_email='[email protected]',
packages=['pisces','pisces.schema','pisces.io','pisces.tables',
'pisces.commands'],
url='https://github.com/jkmacc-LANL/pisces',
keywords = ['seismology', 'geophysics', 'database'],
install_requires=['numpy','obspy>=1.0','sqlalchemy>=0.9','Click'],
ext_package='pisces.io.lib',
ext_modules=[Extension('libecompression', ['pisces/io/src/e_compression/e_compression.c']),
Extension('libconvert',glob.glob('pisces/io/src/convert/*.c'))],
entry_points = """
[console_scripts]
pisces=pisces.commands.main:cli
""",
license='LANL-MIT',
platforms=['Mac OS X', 'Linux/Unix'],
classifiers=['Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: Science/Research',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Topic :: Scientific/Engineering',
'Topic :: Database',
'Topic :: Scientific/Engineering :: Physics'],
)