forked from actinia-org/actinia-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
65 lines (57 loc) · 2.04 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
54
55
56
57
58
59
60
61
62
63
64
65
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#######
# actinia-core - an open source REST API for scalable, distributed, high
# performance processing of geographical data that uses GRASS GIS for
# computational tasks. For details, see https://actinia.mundialis.de/
#
# Copyright (c) 2016-2018 Sören Gebbert and mundialis GmbH & Co. KG
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
#######
"""
Setup file for actinia_core.
This file was generated with PyScaffold 3.0.1.
PyScaffold helps you to put up the scaffold of your new Python project.
Learn more under: http://pyscaffold.org/
"""
import sys
from setuptools import setup
# Add here console scripts and other entry points in ini-style format
entry_points = """
[console_scripts]
# script_name = actinia_core.module:function
# For example:
# fibonacci = actinia_core.skeleton:run
"""
def setup_package():
needs_sphinx = {"build_sphinx", "upload_docs"}.intersection(sys.argv)
sphinx = ["sphinx"] if needs_sphinx else []
setup(
setup_requires=["pyscaffold==4.3.1", "rasterio==1.3.4"] + sphinx,
entry_points=entry_points,
use_pyscaffold=True,
scripts=[
"scripts/actinia-user",
"scripts/actinia-bench",
"scripts/actinia-algebra",
"scripts/rq_custom_worker",
"scripts/rq_starter",
"scripts/webhook-server",
"scripts/actinia-server",
],
)
if __name__ == "__main__":
setup_package()