-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
42 lines (36 loc) · 1.39 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
from setuptools import find_namespace_packages, setup
from tethys_apps.app_installation import find_resource_files
### Apps Definition ###
app_package = "nasaaccess"
release_package = "tethysapp-" + app_package
### Python Dependencies ###
dependencies = []
# -- Get Resource File -- #
resource_files = find_resource_files(
"tethysapp/" + app_package + "/templates", "tethysapp/" + app_package
)
resource_files += find_resource_files(
"tethysapp/" + app_package + "/public", "tethysapp/" + app_package
)
resource_files += find_resource_files(
"tethysapp/" + app_package + "/scripts", "tethysapp/" + app_package
)
resource_files += find_resource_files(
"tethysapp/" + app_package + "/workspaces", "tethysapp/" + app_package
)
setup(
name=release_package,
version="2.0.1",
description="Web interface for accessing and visualizing climate and weather data from NASA's Earth Observing System Data and Information System (EOSDIS)",
long_description="",
keywords='"Hydrology", "GLDAS", "GPM"',
author="Spencer McDonald, Ibrahim Mohammed, Giovanni Romero",
author_email="[email protected]",
url="https://github.com/imohamme/tethys_nasaaccess",
license="NASA OPEN SOURCE AGREEMENT VERSION 1.3",
packages=find_namespace_packages(),
package_data={"": resource_files},
include_package_data=True,
zip_safe=False,
install_requires=dependencies,
)