PyAr / fades

fades is a system that automatically handles the virtualenvs in the cases normally found when writing scripts and simple programs, and even helps to administer big projects.
https://fades.readthedocs.io
GNU General Public License v3.0
216 stars 44 forks source link

Support different Python versions for child execution #6

Closed facundobatista closed 9 years ago

facundobatista commented 9 years ago

This will be automatically decided by fades being executed like 'fades' or 'fades3', or 'fades2.7', etc...

facundobatista commented 9 years ago

Actually, that's not the best idea:

So, using a parameter -p/--python that accepts the number (2.7) or the whole name (python2.7) or the whole path (/usr/bin/python2.7) is more explicit, safe, and easy

gilgamezh commented 9 years ago

@facundobatista I need some help here.

First of all I think that this branch needs a merciless code review ;) https://github.com/PyAr/fades/compare/different_interpreter_versions

Then:

facundobatista commented 9 years ago

In fades/envbuilder.py:

In fades/helpers.py:

In general:

gilgamezh commented 9 years ago

Test are failing I'm working in it. I think that we can release this week. :smile: