pythonz
pythonz copied to clipboard
PYTHONZ_ROOT + install broken ?
hi guys,
it seems the env. var. feature to install in another directory is actually more or less broken (or am I missing something?)
16:22 $ curl -kL https://raw.githubusercontent.com/saghul/pythonz/master/pythonz-install | bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2601 100 2601 0 0 4026 0 --:--:-- --:--:-- --:--:-- 10445
Downloading https://github.com/saghul/pythonz/tarball/master
######################################################################## 100.0%
Extracting /tmp/installed-pythonz//dists/pythonz-latest.tar.gz
Installing pythonz into /tmp/installed-pythonz/
Traceback (most recent call last):
File "/tmp/installed-pythonz//dists/saghul-pythonz-7563d47/pythonz_install.py", line 33, in <module>
install_pythonz()
File "/tmp/installed-pythonz/dists/saghul-pythonz-7563d47/pythonz/installer/__init__.py", line 10, in install_pythonz
PythonzInstaller.install(INSTALLER_ROOT)
File "/tmp/installed-pythonz/dists/saghul-pythonz-7563d47/pythonz/installer/pythonzinstaller.py", line 32, in install
makedirs(PATH_HOME_ETC)
File "/tmp/installed-pythonz/dists/saghul-pythonz-7563d47/pythonz/util.py", line 96, in makedirs
os.makedirs(path)
File "/usr/lib64/python2.6/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 2] No such file or directory: '/mnt/users/gregory/.pythonz/etc'
Failed to install pythonz.
✔ ~
16:22 $ ls /tmp/installed-pythonz/
bin build dists etc log pythons
✔ ~
16:22 $
I indeed see there is something wrong with a PYTHONZ_HOME_ETC var wrongly defined in that case. I'll fix that as soon as I can.
thx @saghul