andreikop / enki

A text editor for programmers
http://enki-editor.org
GNU General Public License v2.0
161 stars 39 forks source link

Setup doesn't find "linux2" in python3 #375

Closed dglent closed 8 years ago

dglent commented 8 years ago

Here: https://github.com/hlamer/enki/blob/master/setup.py#L54

I have different output with python2 and python3

Python 2.7.9 (default, Dec 14 2014, 10:12:16) [GCC 4.9.2] on linux2 Type "help", "copyright", "credits" or "license" for more information.

import sys sys.platform 'linux2'

Python 3.4.3 (default, Jul 1 2015, 18:38:11) [GCC 4.9.2] on linux Type "help", "copyright", "credits" or "license" for more information.

import sys sys.platform 'linux'