-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
25 lines (20 loc) · 871 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
# SPDX-FileCopyrightText: 2023 The dune-iga developers [email protected]
# SPDX-License-Identifier: LGPL-3.0-or-later
try:
from dune.packagemetadata import metaData
except ImportError:
from packagemetadata import metaData
from skbuild import setup
# When building a new package, update the version numbers below and run:
# access docker container with mounted repo to /tmp/dune-iga
# build _iga
# cd /tmp/dune-iga
# /dune/dune-common/build-cmake/run-in-dune-env pip install twine scikit-build
# git config --global --add safe.directory /tmp/dune-iga
# /dune/dune-common/build-cmake/run-in-dune-env python setup.py sdist
# /dune/dune-common/build-cmake/run-in-dune-env python -m twine upload dist/* --verbose
duneigaVersion = "0.1.7"
duneVersion = "2.9.0"
metadata = metaData(duneVersion)[1]
metadata["version"] = duneigaVersion
setup(**metadata)