forked from SAP-archive/fedem-solvers
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsetup.py
More file actions
35 lines (30 loc) · 982 Bytes
/
setup.py
File metadata and controls
35 lines (30 loc) · 982 Bytes
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
# SPDX-FileCopyrightText: 2023 SAP SE
#
# SPDX-License-Identifier: Apache-2.0
#
# This file is part of FEDEM - https://openfedem.org
"""
Setuptools package definition
"""
from setuptools import find_packages, setup
# The build pipeline will update the version.txt file
with open("version.txt") as fd:
VERSION = fd.read().rstrip()
# "A Better Pip Workflow": https://kennethreitz.org/essays/2016/02/25/a-better-pip-workflow
with open("requirements-to-freeze.txt") as fd:
REQUIRES = list(fd)
setup(
name="fedempy",
version=VERSION,
description="Python wrapper for the FEDEM modeler and solvers",
author="Knut Morten Okstad",
author_email="kmo@openfedem.org",
url="openfedem.org",
packages=find_packages(where="src"),
package_dir={"": "src"},
include_package_data=True,
license="Apache 2.0",
install_requires=REQUIRES,
classifiers=["Intended Audience :: Internal", "Programming Language :: Python"],
test_suite="test",
)