pyminifier
pyminifier copied to clipboard
Unable to install pyminifier in Unix system
I'm getting the following error which installing pyminifier in my Linux box.
[root@ToolsDB1 pyminifier-2.0]# python --version Python 2.6.6
[root@ToolsDB1 pyminifier-2.0]# ls -l
total 72
drwxrwxr-x 3 1000 1000 4096 May 25 12:35 docs
-rw-rw-r-- 1 1000 1000 35120 May 24 19:20 LICENSE
-rw-rw-r-- 1 1000 1000 1131 May 25 12:35 PKG-INFO
drwxrwxr-x 2 1000 1000 4096 Oct 20 15:12 pyminifier
drwxrwxr-x 2 1000 1000 4096 May 25 12:35 pyminifier.egg-info
-rw-rw-r-- 1 1000 1000 8792 May 25 12:31 README.rst
-rw-rw-r-- 1 1000 1000 376 May 25 12:35 setup.cfg
-rwxr-xr-x 1 1000 1000 2159 May 24 15:11 setup.py
[root@ToolsDB1 pyminifier-2.0]# python setup.py
Traceback (most recent call last):
File "setup.py", line 11, in
Could you please let me know the instillation steps?
I wonder if you need a later version of Python? Under V2.7.6 sys.version_info.major returns 2 and pyminifier installs and runs OK.
I've got the same problem with python 2.6.6 on CentOS 6.
I guess this commit fixed it. Can you publish a version containing this to pypi? :) Thank you, @JohanRensink for the fix! :+1:
Dang, got the same thing in analyze.py.
+1, can you please push the latest version to pypi?
Latest version still has issues with 2.6 - I've sent a PR to fix them.