Loading project.clj +1 −1 Original line number Diff line number Diff line (defproject python/lein-template "0.9.0" (defproject python/lein-template "0.9.1" :description "lein template for a python project" :repositories [["snapshots" {:url "http://devserv.game.yy.com/nexus/content/repositories/snapshots" Loading src/leiningen/new/python/utils/choose_default_python.py +4 −2 Original line number Diff line number Diff line Loading @@ -10,6 +10,8 @@ prefer python3 over python2.7, """ from __future__ import print_function import os Loading @@ -23,7 +25,7 @@ def first_existing_file(files): def main(): print first_existing_file([ print(first_existing_file([ "~/bin/python3", "~/bin/python2.7", "~/bin/python", Loading @@ -34,7 +36,7 @@ def main(): "/opt/python2.7/bin/python", "/usr/bin/python2.7", "/usr/bin/python", ]) ])) if __name__ == '__main__': Loading Loading
project.clj +1 −1 Original line number Diff line number Diff line (defproject python/lein-template "0.9.0" (defproject python/lein-template "0.9.1" :description "lein template for a python project" :repositories [["snapshots" {:url "http://devserv.game.yy.com/nexus/content/repositories/snapshots" Loading
src/leiningen/new/python/utils/choose_default_python.py +4 −2 Original line number Diff line number Diff line Loading @@ -10,6 +10,8 @@ prefer python3 over python2.7, """ from __future__ import print_function import os Loading @@ -23,7 +25,7 @@ def first_existing_file(files): def main(): print first_existing_file([ print(first_existing_file([ "~/bin/python3", "~/bin/python2.7", "~/bin/python", Loading @@ -34,7 +36,7 @@ def main(): "/opt/python2.7/bin/python", "/usr/bin/python2.7", "/usr/bin/python", ]) ])) if __name__ == '__main__': Loading