forked from gimli-org/gimli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
41 lines (34 loc) · 1.33 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
# -*- coding: utf-8 -*-
"""
Setup script for pygimli and python apps.
Usage:
python setup.py install --user # for local installation
sudo python setup.py install # for system-wide installation
python setup.py develop # for developers (creates symlinks to source)
"""
import os
from setuptools import setup, find_packages
import versioneer
apps = ["apps/" + app for app in os.listdir('apps') if not "template" in app]
try:
# fails with py3 due to ascii encoding problem.
with open(os.path.join("README.rst")) as f:
long_description = f.read()
except:
long_description = "Geophysical Inversion and Modelling Library"
setup(name="pygimli",
############################################################################
# Do not edit next two lines, do "git tag v1.x.x; git push --tags" instead.
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
############################################################################
description="Geophysical Inversion and Modelling Library",
long_description=long_description,
author="Carsten Rücker, Thomas Günther, Florian Wagner",
author_email="[email protected]",
license="Apache 2.0",
url="https://www.pygimli.org",
packages=find_packages(),
package_data={'': ['*.so', '*.dll', '*.pyd']},
scripts=apps
)