-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
79 lines (69 loc) · 2.19 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
#!/usr/bin/env python
# -*- encoding: utf8 -*-
import glob
import inspect
import io
import os
from setuptools import find_packages
from setuptools import setup
changelog = os.path.join(os.path.dirname(os.path.abspath(
inspect.getfile(inspect.currentframe()))), "CHANGELOG.md")
with open(changelog, "rt") as fh:
changelog = fh.read()
long_description = """
Source code: https://github.com/krischer/wfdiff
Documentation: http://krischer.github.io/wfdiff
%s""".strip() % changelog
def read(*names, **kwargs):
return io.open(
os.path.join(os.path.dirname(__file__), *names),
encoding=kwargs.get("encoding", "utf8")).read()
setup(
name="wfdiff",
version="0.0.0",
license='GNU General Public License, Version 3 (GPLv3)',
description="wfdiff",
long_description=long_description,
author="Lion Krischer and Carl Tape",
author_email="[email protected]",
url="https://github.com/krischer/wfdiff",
packages=find_packages("src"),
package_dir={"": "src"},
py_modules=[os.path.splitext(os.path.basename(i))[0]
for i in glob.glob("src/*.py")],
include_package_data=True,
zip_safe=False,
classifiers=[
# complete classifier list:
# http://pypi.python.org/pypi?%3Aaction=list_classifiers
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"Operating System :: Unix",
"Operating System :: POSIX",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Utilities",
],
keywords=[
"seismology", "science", "numerical wave propagation"
],
install_requires=[
"numpy>=1.8.0",
"pandas",
"future",
"matplotlib>=1.4.2",
"obspy>=0.10.1",
"mpi4py",
"flake8",
"pytest",
"nose"
],
extras_require={
"docs": ["sphinx", "ipython", "runipy"]
}
)