Changeset 919:2ce8ca39525b for setup.py


Ignore:
Timestamp:
03/24/19 08:15:59 (4 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
python3
hg-Phase:
(<MercurialRepository 1 'hg:/home/ivaradi/mlx/hg' '/'>, 'public')
Message:

Ran 2to3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • setup.py

    r916 r919  
    9999                              ]))
    100100
    101     print data_files
     101    print(data_files)
    102102
    103103    with open("mlx-common.nsh", "wt") as f:
    104             print >>f, '!define MLX_VERSION "%s"' % (mlx.const.VERSION)
     104            print('!define MLX_VERSION "%s"' % (mlx.const.VERSION), file=f)
    105105            f.close()
    106106else:
     
    145145    mlx.update.buildManifest(os.path.join(scriptdir, "dist"))
    146146    with open(os.path.join(scriptdir, "dist", "Uninstall.conf"), "wt") as f:
    147         print >> f, "StartMenuFolder=MAVA Logger X"
    148         print >> f, "LinkName=MAVA Logger X"
     147        print("StartMenuFolder=MAVA Logger X", file=f)
     148        print("LinkName=MAVA Logger X", file=f)
Note: See TracChangeset for help on using the changeset viewer.