EUDAT-B2SAFE / B2SAFE-core

B2SAFE service core code for EUDAT project
Other
14 stars 20 forks source link

convert python2 scripts to python3 scripts #143

Open cookie33 opened 4 years ago

cookie33 commented 4 years ago

The following python scripts are present now:

$ find . -name *.py
./cmd/argo.py
./cmd/authZmanager.py
./cmd/logmanager.py
./cmd/messageManager.py
./cmd/pam_user_reader.py
./cmd/regex_search_string.py
./cmd/timeconvert.py
./cmd/epicclient2.py
./packaging/install.py
./scripts/authN_and_authZ/irods_user_sync.py
./scripts/authN_and_authZ/prace_eudat_users_sync.py
./scripts/authN_and_authZ/remote_users_sync.py
./scripts/authN_and_authZ/user_sync.py
./scripts/authN_and_authZ/utilities/__init__.py
./scripts/authN_and_authZ/utilities/conf_logger.py
./scripts/authN_and_authZ/utilities/drivers/__init__.py
./scripts/authN_and_authZ/utilities/drivers/eudatunity.py
./scripts/authN_and_authZ/utilities/drivers/irods_api_facade.py
./scripts/authN_and_authZ/utilities/drivers/prace_ldap.py
./scripts/authN_and_authZ/utilities/drivers/unity_api.py
./scripts/authN_and_authZ/utilities/expiration_guard.py
./scripts/authN_and_authZ/utilities/filters.py
./scripts/authN_and_authZ/utilities/irodsUtility.py
./scripts/authN_and_authZ/utilities/mailSender.py
./scripts/authN_and_authZ/utilities/password_file.py
./scripts/authN_and_authZ/utilities/synchTask.py
./scripts/pid_management/statpid.py
./scripts/tests/testB2SafeCmd/__init__.py
./scripts/tests/testB2SafeCmd/epic2intgtest.py
./scripts/tests/testB2SafeCmd/epicapitest.py
./scripts/tests/testB2SafeCmd/epicclitest.py
./scripts/tests/testB2SafeCmd/epiccredtest.py
./scripts/tests/testB2SafeCmd/epicintgtest.py
./scripts/tests/testB2SafeCmd/irodsintgtest.py
./scripts/tests/testB2SafeCmd/testAuthzManager.py
./scripts/tests/testB2SafeCmd/testLogManager.py
./scripts/tests/testB2SafeCmd/irodsb2safetest.py
./scripts/tests/testB2SafeCmd/msipidintgtest.py
./scripts/tests/testB2SafeCmd.py
./ci/app/update_install.py

Most of them are for python 2. Change them to python 3 scripts. Will do so in a new branch python3. A new branch created from the devel branch.

cookie33 commented 4 years ago

Installed python3 package:

pip3 install queuelib --user
cookie33 commented 4 years ago

See #145 for implementation of everything in: