Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F86415639
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
Sun, Oct 6, 08:55
Size
1 KB
Mime Type
text/x-python
Expires
Tue, Oct 8, 08:55 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
21419288
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'
,
'Zichen Li'
,
u'Jean-François Molinari'
]),
maintainer
=
u'Lucas Frérot'
,
email
=
'lucas.frerot@sorbonne-universite.fr'
,
copyright
=
(
"Copyright (©) 2016-2024 EPFL "
"(École Polytechnique Fédérale de Lausanne), "
"Laboratory (LSMS - Laboratoire de Simulation en "
"Mécanique des Solides)
\n
"
"Copyright (©) 2020-2024 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