forked from FennaHD/snow-inspector
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
31 lines (27 loc) · 982 Bytes
/
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
from setuptools import setup, find_namespace_packages
from tethys_apps.app_installation import find_resource_files
# -- Apps Definition -- #
app_package = 'snow_inspector'
release_package = 'tethysapp-' + app_package
# -- 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)
# -- Python Dependencies -- #
dependencies = []
setup(
name=release_package,
version='3.0.0',
description='Snow Inspector',
long_description='',
keywords='',
author='',
author_email='',
url='',
license='',
packages=find_namespace_packages(),
package_data={'': resource_files},
include_package_data=True,
zip_safe=False,
install_requires=dependencies,
)