Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F113204019
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
Fri, May 16, 02:56
Size
1 KB
Mime Type
text/x-python
Expires
Sun, May 18, 02:56 (2 d)
Engine
blob
Format
Raw Data
Handle
25883877
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'
])
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
=
(
u"Copyright (©) 2016-2022 EPFL "
u"(École Polytechnique Fédérale de Lausanne), "
u"Laboratory (LSMS - Laboratoire de Simulation en "
u"Mécanique des Solides)"
),
description
=
'A high-performance library for periodic rough surface contact'
,
)
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