hep-gc / shoal

A squid cache publishing and advertising tool designed to work in fast changing environments
Apache License 2.0
4 stars 8 forks source link

Make shoal-agent work with python2 or python3 #155

Closed DrDaveD closed 4 years ago

DrDaveD commented 4 years ago

This PR ports shoal-agent to python3 while still allowing it to work with python2. I needed to use python3 in order to make a seamless frontier-squid rpm package that works el6 through el8.

After this is merged and you make a new tagged release, please use a tag starting with "agent-" rather than "shoal-agent", because when you download source code from github it puts the files in a directory based on repositoryname-tagname. Currently the rpm build needs to cd into the ugly looking directory of "shoal-shoal-agent-0.9.5".