-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
48 lines (43 loc) · 1.48 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
from setuptools import setup, find_packages
from NES import __version__
NAME = "NES"
VERSION = __version__
DESCRIPTION = "Neural Eikonal Solver: Framework for solving the eikonal equation using neural networks"
URL = "https://github.com/sgrubas/NES"
LICENSE = "MIT"
AUTHOR = "Serafim Grubas, Anton Duchkov, Georgy Loginov, Nikolay Shilov"
EMAIL = "serafimgrubas@gmail.com"
KEYWORDS = ["Eikonal", "Seismic", "Traveltime"]
CLASSIFIERS = [
"Development Status :: Beta",
"Intended Audience :: Geophysicist",
"Natural Language :: English",
f"License :: {LICENSE}",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.7",
"Topic :: Scientific/Engineering",
]
with open("requirements.txt", mode='r') as f:
INSTALL_REQUIRES = list(map(lambda x: x.replace('\n', ''), f.readlines()))
with open("README.md", "r") as f:
LONG_DESCRIPTION = f.read()
setup(
name=NAME,
version=VERSION,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
author=AUTHOR,
author_email=EMAIL,
maintainer=AUTHOR,
maintainer_email=EMAIL,
classifiers=CLASSIFIERS,
keywords=KEYWORDS,
packages=find_packages(),
# package_dir={"": NAME},
url=URL,
zip_safe=False,
install_requires=INSTALL_REQUIRES,
# include_package_data=True,
package_data={NAME: ["data/*.npy"]}
)