Commit 8a543b2f authored by Joseph Weston's avatar Joseph Weston
Browse files

support python2

parent 158fb875
Pipeline #1791 failed with stage
in 15 seconds
...@@ -15,13 +15,17 @@ import subprocess ...@@ -15,13 +15,17 @@ import subprocess
import os import os
import sys import sys
import collections import collections
import configparser
from setuptools import setup, Extension, Command from setuptools import setup, Extension, Command
from sysconfig import get_platform from sysconfig import get_platform
from distutils.errors import DistutilsError, DistutilsModuleError from distutils.errors import DistutilsError, DistutilsModuleError
from setuptools.command.build_ext import build_ext from setuptools.command.build_ext import build_ext
from setuptools.command.sdist import sdist from setuptools.command.sdist import sdist
if sys.version_info.major == 2:
import ConfigParser as configparser
else:
import configparser
try: try:
from os.path import samefile from os.path import samefile
except ImportError: except ImportError:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment