-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
32 lines (27 loc) · 1.15 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
from setuptools import setup, find_namespace_packages
from tethys_apps.app_installation import find_resource_files
# -- Apps Definition -- #
app_package = 'water_data_explorer_whos'
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 + '/workspaces', 'tethysapp/' + app_package)
setup(
name=release_package,
version='1.2.3',
description='A tethys app that lets the user to visualize and query WSDL enpoints',
long_description='',
keywords='',
author='Giovanni Romero Bustamante',
author_email='[email protected]',
url='https://github.com/BYU-Hydroinformatics/Water-Data-Explorer-WHOS',
license='BSD 3-Clause License',
packages=find_namespace_packages(),
package_data={'': resource_files},
include_package_data=True,
zip_safe=False,
install_requires=dependencies,
)