Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F61946800
INFOS.py
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Thu, May 9, 23:51
Size
1 KB
Mime Type
text/x-python
Expires
Sat, May 11, 23:51 (2 d)
Engine
blob
Format
Raw Data
Handle
17463407
Attached To
rTAMAAS tamaas
INFOS.py
View Options
#!/usr/bin/env python3
"""Defines the information to be used throughout the builds."""
# -*- mode:python; coding: utf-8 -*-
from
collections
import
namedtuple
import
versioneer
TamaasInfo
=
namedtuple
(
'TamaasInfo'
,
[
'version'
,
'authors'
,
'maintainer'
,
'email'
,
'copyright'
,
'description'
,
'license'
])
TAMAAS_INFOS
=
TamaasInfo
(
version
=
versioneer
.
get_version
(),
authors
=
([
u'Lucas Frérot'
,
'Guillaume Anciaux'
,
'Valentine Rey'
,
'Son Pham-Ba'
,
u'Jean-François Molinari'
]),
maintainer
=
u'Lucas Frérot'
,
email
=
'lucas.frerot@imtek.uni-freiburg.de'
,
copyright
=
(
"Copyright (©) 2016-2023 EPFL "
"(École Polytechnique Fédérale de Lausanne), "
"Laboratory (LSMS - Laboratoire de Simulation en "
"Mécanique des Solides)
\n
"
"Copyright (©) 2020-2023 Lucas Frérot"
),
description
=
'A high-performance library for periodic rough surface contact'
,
license
=
"SPDX-License-Identifier: AGPL-3.0-or-later"
,
)
def
main
():
import
argparse
parser
=
argparse
.
ArgumentParser
(
description
=
"Print Tamaas info"
)
parser
.
add_argument
(
"--version"
,
action
=
"store_true"
)
args
=
parser
.
parse_args
()
if
args
.
version
:
print
(
TAMAAS_INFOS
.
version
)
if
__name__
==
"__main__"
:
main
()
Event Timeline
Log In to Comment