Attempt to install attic on windows xp machine (see command lines below) results in error due to use of "os.uname". (Environment: Windows XP sp3, fresh python 3.4.2.msi install from "python.org/downloads/windows)
Investigation finds that this is a known problem and that "os.uname" should not be used since it does not exist/function on Windows:
http://bugs.python.org/issue8080
Instead this report says use "platform.uname".
Can the Attic module be modified to use platform.uname thus allowing Windows installation?
Is there something I'm missing otherwise or a workaround?
PIP INSTALL BELOW
C:\Python34>python -m pip install attic
Downloading/unpacking attic
Running setup.py (path:t:\windows\pip_build_x\attic\setup.py) egg_info for pac
kage attic
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "t:\windows\pip_build_x\attic\setup.py", line 12, in <module>
platform = os.uname()[0]
AttributeError: 'module' object has no attribute 'uname'
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "t:\windows\pip_build_x\attic\setup.py", line 12, in <module>
platform = os.uname()[0]
AttributeError: 'module' object has no attribute 'uname'
Attempt to install attic on windows xp machine (see command lines below) results in error due to use of "os.uname". (Environment: Windows XP sp3, fresh python 3.4.2.msi install from "python.org/downloads/windows)
Investigation finds that this is a known problem and that "os.uname" should not be used since it does not exist/function on Windows:
http://bugs.python.org/issue8080
Instead this report says use "platform.uname".
Can the Attic module be modified to use platform.uname thus allowing Windows installation?
Is there something I'm missing otherwise or a workaround?
PIP INSTALL BELOW