LARG / HFO

Half Field Offense in Robocup 2D Soccer
MIT License
231 stars 93 forks source link

Python versions usable - document, perhaps in setup.py? #26

Closed drallensmith closed 7 years ago

drallensmith commented 7 years ago

Hi. What Python versions does/should HFO work with? (3.X only, 2.7 + 3.X, or what?) And would it be usable with cython (probably using cython.py with pure-python code)? I suggest putting this in setup.py's classifiers and/or in the README.

(I am partially confused on this by seeing, on the one hand, various things that are only for python 3.X, such as print functions without from __future__ import print_function, but on the other hand example/python_agents_3v3.sh is trying both python2.7 and python3.)

Thanks,

-Allen

mhauskn commented 7 years ago

HFO should work with python 2.7+ and 3.X. I'm unsure if it would or wouldn't be usable or not with cython. Happy to accept PR with edits to setup.py & README.

On Sat, Jul 1, 2017 at 9:27 AM, Allen W. Smith, Ph.D. < notifications@github.com> wrote:

Hi. What Python versions does/should HFO work with? (3.X only, 2.7 + 3.X, or what?) And would it be usable with cython (probably using cython.py with pure-python code http://docs.cython.org/en/latest/src/tutorial/pure.html#magic-attributes)? I suggest putting this in setup.py's classifiers and/or in the README.

Thanks,

-Allen

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/LARG/HFO/issues/26, or mute the thread https://github.com/notifications/unsubscribe-auth/AABNORAc-hsUyAcTYdFmaeMT66wEZ73oks5sJnOPgaJpZM4OLW0g .

drallensmith commented 7 years ago

Thanks (I'll be asking some further questions shortly...); PR done (#27).

-Allen