transitland / transitland-processing-animation

Animating scheduled transit trips using the Transitland API and Processing
MIT License
280 stars 54 forks source link

Add Python 2.7 and virtualenv to instructions #10

Closed jseppi closed 7 years ago

jseppi commented 7 years ago

I mostly just wanted to specify somewhere that Python 2, not 3, was required for running this project. Adding that information to the Instructions sectioned seemed like the best place to put it.

willgeary commented 7 years ago

Thanks @jseppi , good idea. I think the only issue between Python 2 and 3 is "print" in Python 2 versus "print()" in Python 3. Rather than ask users to download Python 2, I'll go ahead and add a "from future import print_function" so that it is version agnostic. Can also add some more specific virtualenv instructions.

jseppi commented 7 years ago

That sounds good! I hadn't dug further into what might not be python3-compatible, so if it's just print, then 🎉!