votca / ctp

charge transport module
https://gitlab.mpcdf.mpg.de/votca/votca
7 stars 11 forks source link

Migrate python script to python3 #120

Closed junghans closed 5 years ago

junghans commented 5 years ago

We weren't able to add votca-ctp to Fedora as the usage of python2 isn't allowed in new packages (See: https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal)

This is due to Python2's near end: https://pythonclock.org/

The following script in ctp are still using python2:

$ git grep env.python
manual/scripts/txt2tags:#!/usr/bin/env python2
scripts/ctp_testsuite.in:#! /usr/bin/env python2
scripts/ctp_update.in:#! /usr/bin/env python2
share/scripts/dipro/merge_orbitals.py:#!/usr/bin/env python

Part of https://github.com/votca/votca/issues/142

junghans commented 5 years ago

Thanks