1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
Author: Diane Trout <diane@ghic.org>
Subject: Setup.py build_ext failed, but earlier on there was an warning message
about distutils being imported before setuptools, but setuptools replaces parts of
distutils and undesierable behavior may occur.
Changing the order did fix my problem with running the build_ext step.
--- a/setup.py
+++ b/setup.py
@@ -1,12 +1,13 @@
import os
import platform
import sys
+from setuptools import Extension, find_packages, setup
+
from distutils import sysconfig
from distutils.command import build
from distutils.command.build_ext import build_ext
from distutils.spawn import spawn
-from setuptools import Extension, find_packages, setup
import versioneer
_version_module = None
|