Created
April 18, 2012 02:14
-
-
Save perrygeo/2410616 to your computer and use it in GitHub Desktop.
Find lowest version of python required by codebase
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# See http://stackoverflow.com/questions/804538/tool-to-determine-what-lowest-version-of-python-required | |
# https://github.com/ghewgill/pyqver | |
wget https://raw.github.com/ghewgill/pyqver/master/pyqver2.py | |
find /path/to/project/ -name "*.py" | xargs python pyqver2.py | sort > versions.txt | |
tail versions.txt | |
# last line will show you the minimum version required |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment