mirror of
https://github.com/triqs/dft_tools
synced 2024-12-23 04:43:42 +01:00
Port py files to python3
This commit is contained in:
parent
68cac838cc
commit
ed1e683b69
@ -19,8 +19,8 @@ extensions = ['sphinx.ext.autodoc',
|
||||
|
||||
source_suffix = '.rst'
|
||||
|
||||
project = u'APP4TRIQS - An example triqs application'
|
||||
copyright = u'2017-2018 N. Wentzell, O. Parcollet 2018-2019 The Simons Foundation, authors: N. Wentzell, D. Simons, H. Strand, O. Parcollet'
|
||||
project = 'APP4TRIQS - An example triqs application'
|
||||
copyright = '2017-2018 N. Wentzell, O. Parcollet 2018-2019 The Simons Foundation, authors: N. Wentzell, D. Simons, H. Strand, O. Parcollet'
|
||||
version = '@PROJECT_VERSION@'
|
||||
|
||||
mathjax_path = "@TRIQS_MATHJAX_PATH@/MathJax.js?config=default"
|
||||
|
@ -25,6 +25,6 @@ r"""
|
||||
DOC
|
||||
|
||||
"""
|
||||
from app4triqs_module import Toto, chain
|
||||
from .app4triqs_module import Toto, chain
|
||||
|
||||
__all__ = ['Toto', 'chain']
|
||||
|
@ -26,7 +26,7 @@ triqs_hash = "@TRIQS_GIT_HASH@"
|
||||
app4triqs_hash = "@PROJECT_GIT_HASH@"
|
||||
|
||||
def show_version():
|
||||
print "\nYou are using app4triqs version %s\n"%version
|
||||
print("\nYou are using app4triqs version %s\n"%version)
|
||||
|
||||
def show_git_hash():
|
||||
print "\nYou are using app4triqs git hash %s based on triqs git hash %s\n"%(app4triqs_hash, triqs_hash)
|
||||
print("\nYou are using app4triqs git hash %s based on triqs git hash %s\n"%(app4triqs_hash, triqs_hash))
|
||||
|
@ -5,7 +5,7 @@ import os
|
||||
import glob
|
||||
|
||||
if len(sys.argv) != 2:
|
||||
print "Please pass the application name"
|
||||
print("Please pass the application name")
|
||||
sys.exit()
|
||||
|
||||
app_name = str(sys.argv[1]).lower()
|
||||
|
Loading…
Reference in New Issue
Block a user