This repository has been archived by the owner on Jul 13, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
/
setup.py
84 lines (76 loc) · 2.42 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
#! /usr/bin/env python
# -*- coding: utf-8 -*-
"""
SeisHub installer
:copyright:
Robert Barsch ([email protected])
Paul Käufl ([email protected])
:license:
GNU Lesser General Public License, Version 3
(http://www.gnu.org/copyleft/lesser.html)
"""
from setuptools import find_packages, setup
import os
import sys
# check Python version
if not sys.hexversion >= 0x2060000:
print("ERROR: SeisHub needs at least Python 2.6 or higher in " +
"order to run.")
exit()
if not sys.hexversion <= 0x3000000:
print("ERROR: SeisHub is not yet compatible with Python 3.x.")
exit()
VERSION = open(os.path.join("seishub", "core", "VERSION.txt")).read()
setup(
name='seishub.core',
version=VERSION,
description="SeisHub - a seismological XML/SQL database hybrid",
long_description="""
seishub - Web-based technology for storage and processing of
multi-component data in seismology.
For more information visit http://www.seishub.org.
""",
url='http://www.seishub.org',
author='Robert Barsch',
author_email='[email protected]',
license='GNU Lesser General Public License, Version 3 (LGPLv3)',
platforms='OS Independent',
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Science/Research',
'Intended Audience :: Developers',
'License :: OSI Approved :: ' + \
'GNU Library or Lesser General Public License (LGPL)',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Physics',
],
keywords=['SeisHub', 'seismology'],
packages=find_packages(exclude=[]),
namespace_packages=['seishub'],
zip_safe=False,
install_requires=[
'setuptools',
'Twisted<16', 'zope.interface<4.1',
'Cheetah',
'sqlalchemy>0.7.7,<0.8',
'PyOpenSSL',
'lxml',
'pycrypto',
'pyasn1',
'pyparsing',
'obspy<1.1',
],
download_url="https://github.com/barsch/seishub.core/zipball/master" + \
"#egg=seishub.core-dev",
test_suite="seishub.core.test.suite",
include_package_data=True,
entry_points={
'console_scripts': [
'seishub-runtests = seishub.core.scripts.runtests:main',
'seishub-admin = seishub.core.scripts.admin:main',
],
},
)