forked from spine-tools/spine-engine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
57 lines (48 loc) · 2.02 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
######################################################################################################################
# Copyright (C) 2017-2021 Spine project consortium
# This file is part of Spine Engine.
# Spine Toolbox is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser 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 Lesser General
# Public License for more details. You should have received a copy of the GNU Lesser General Public License along with
# this program. If not, see <http://www.gnu.org/licenses/>.
######################################################################################################################
"""
Setup script for Python's setuptools.
:authors: M. Marin (KTH)
:date: 20.11.2019
"""
from setuptools import setup, find_packages
REQUIRED_SPINEDB_API_VERSION = "0.10.2"
with open("README.md", encoding="utf8") as readme_file:
readme = readme_file.read()
version = {}
with open("spine_engine/version.py") as fp:
exec(fp.read(), version)
install_requires = [
"dagster >= 0.9.15",
"sqlalchemy >= 1.3",
"numpy >= 1.15.1",
"openpyxl > 3.0",
"gdx2py >= 2.0.4",
"ijson >= 2.6.1",
"spinedb_api >= {}".format(REQUIRED_SPINEDB_API_VERSION),
]
setup(
name="spine_engine",
version=version["__version__"],
description="A package to run Spine workflows.",
long_description=readme,
author="Spine Project consortium",
author_email="[email protected]",
url="https://github.com/Spine-project/spine-engine",
packages=find_packages(exclude=("tests",)),
include_package_data=True,
license="LGPL-3.0-or-later",
zip_safe=False,
keywords="",
classifiers=[],
install_requires=install_requires,
test_suite="tests",
)