Merge pull request #1042 from stefanv/setup_numpy_dependence

Only import numpy after dependency check
This commit is contained in:
Johannes Schönberger
2014-06-30 18:01:17 -04:00
+1 -1
View File
@@ -34,7 +34,6 @@ import os
import sys
import re
import setuptools
from numpy.distutils.core import setup
from distutils.command.build_py import build_py
@@ -111,6 +110,7 @@ if __name__ == "__main__":
write_version_py()
from numpy.distutils.core import setup
setup(
name=DISTNAME,
description=DESCRIPTION,