Python3. Version 2.0

Version:2.0
This commit is contained in:
Anthony Scemama 2020-01-27 11:32:08 +01:00
parent cfb61939bc
commit 9cc4b60f79
11 changed files with 11 additions and 11 deletions

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2 #!/usr/bin/env python3
# EZFIO is an automatic generator of I/O libraries # EZFIO is an automatic generator of I/O libraries
# Copyright (C) 2009 Anthony SCEMAMA, CNRS # Copyright (C) 2009 Anthony SCEMAMA, CNRS
# #

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2 #!/usr/bin/env python3
# EZFIO is an automatic generator of I/O libraries # EZFIO is an automatic generator of I/O libraries
# Copyright (C) 2009 Anthony SCEMAMA, CNRS # Copyright (C) 2009 Anthony SCEMAMA, CNRS
# #

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2 #!/usr/bin/env python3
# EZFIO is an automatic generator of I/O libraries # EZFIO is an automatic generator of I/O libraries
# Copyright (C) 2009 Anthony SCEMAMA, CNRS # Copyright (C) 2009 Anthony SCEMAMA, CNRS
# #

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2 #!/usr/bin/env python3
# EZFIO is an automatic generator of I/O libraries # EZFIO is an automatic generator of I/O libraries
# Copyright (C) 2009 Anthony SCEMAMA, CNRS # Copyright (C) 2009 Anthony SCEMAMA, CNRS
# #

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2 #!/usr/bin/env python3
# EZFIO is an automatic generator of I/O libraries # EZFIO is an automatic generator of I/O libraries
# Copyright (C) 2009 Anthony SCEMAMA, CNRS # Copyright (C) 2009 Anthony SCEMAMA, CNRS
# #

View File

@ -181,7 +181,7 @@ subroutine ezfio_finish()
! Close all open buffers ! Close all open buffers
END_DOC END_DOC
close(libezfio_iunit) close(libezfio_iunit)
BEGIN_SHELL [ /usr/bin/env python2 ] BEGIN_SHELL [ /usr/bin/env python3 ]
import os import os
from zlib import crc32 from zlib import crc32
print ' call irp_finalize_%s'%(str(abs(crc32(os.getcwd())))) print ' call irp_finalize_%s'%(str(abs(crc32(os.getcwd()))))

View File

@ -22,7 +22,7 @@
! 31062 Toulouse Cedex 4 ! 31062 Toulouse Cedex 4
! scemama@irsamc.ups-tlse.fr ! scemama@irsamc.ups-tlse.fr
BEGIN_SHELL [ /usr/bin/env python2 ] BEGIN_SHELL [ /usr/bin/env python3 ]
import groups import groups
END_SHELL END_SHELL

View File

@ -137,7 +137,7 @@ subroutine libezfio_closez(filename,mode)
end end
BEGIN_SHELL [ /usr/bin/env python2 ] BEGIN_SHELL [ /usr/bin/env python3 ]
from f_types import format, t_short from f_types import format, t_short

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2 #!/usr/bin/env python3
# EZFIO is an automatic generator of I/O libraries # EZFIO is an automatic generator of I/O libraries
# Copyright (C) 2009 Anthony SCEMAMA, CNRS # Copyright (C) 2009 Anthony SCEMAMA, CNRS
# #

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2 #!/usr/bin/env python3
# EZFIO is an automatic generator of I/O libraries # EZFIO is an automatic generator of I/O libraries
# Copyright (C) 2009 Anthony SCEMAMA, CNRS # Copyright (C) 2009 Anthony SCEMAMA, CNRS
# #

View File

@ -1 +1 @@
VERSION=1.6.1 VERSION=2.0