update venv command

This commit is contained in:
utahta
2011-07-22 01:56:01 +09:00
parent 4aa62201c7
commit 9fbc3273cf
8 changed files with 135 additions and 58 deletions
+4
View File
@@ -221,6 +221,10 @@ def get_using_python_pkgname():
return d
return None
def get_installed_pythons_pkgname():
"""Get the installed python versions list."""
return [d for d in sorted(os.listdir(PATH_PYTHONS))]
def is_installed(name):
pkgname = Package(name).name
pkgdir = os.path.join(PATH_PYTHONS, pkgname)