-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathsetup.py
53 lines (45 loc) · 1.56 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
import inspect
import os
import sys
from setuptools import setup, find_packages
# Be very visible with the requires Python version!
_v = sys.version_info
if (_v.major, _v.minor) != (3, 7):
print("\n\n============================================")
print("============================================")
print(" Inversionson requires Python 3.7! ")
print("============================================")
print("============================================\n\n")
raise Exception("Inversionson requires Python 3.7")
# Import the version string.
path = os.path.join(os.path.abspath(os.path.dirname(inspect.getfile(
inspect.currentframe()))), "inversionson")
sys.path.insert(0, path)
#from version import get_git_version # noqa
setup_config = dict(
name="inversionson",
version="0.0.2",
description="",
author="Solvi Thrastarson",
author_email="soelvi.thrastarson@erdw.ethz.ch",
url="https://github.com/solvithrastar/Inversionson",
packages=find_packages(),
license="MIT License",
platforms="OS Independent",
classifiers=[
'Environment :: Console',
'Intended Audience :: Science/Research',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3.7',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Physics'],
install_requires=[
"pyasdf",
"toml",
"numpy",
"numexpr",
"emoji==1.7"]
)
if __name__ == "__main__":
setup(**setup_config)