3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-22 20:34:38 +01:00

Port py files to python3

This commit is contained in:
Nils Wentzell 2020-04-03 16:20:26 -04:00
parent 68cac838cc
commit ed1e683b69
4 changed files with 6 additions and 6 deletions

View File

@ -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"

View File

@ -25,6 +25,6 @@ r"""
DOC
"""
from app4triqs_module import Toto, chain
from .app4triqs_module import Toto, chain
__all__ = ['Toto', 'chain']

View File

@ -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))

View File

@ -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()