Fix error message
[linpy.git] / setup.py
index 2aff11f..f3f62c1 100755 (executable)
--- a/setup.py
+++ b/setup.py
 # You should have received a copy of the GNU General Public License
 # along with LinPy.  If not, see <http://www.gnu.org/licenses/>.
 
 # You should have received a copy of the GNU General Public License
 # along with LinPy.  If not, see <http://www.gnu.org/licenses/>.
 
-from setuptools import setup, Extension
+from distutils.core import Extension, setup
 
 
 with open('linpy/_version.py') as file:
 
 
 with open('linpy/_version.py') as file:
+    __version__ = None
     exec(file.read())
 
 with open('README.rst') as file:
     exec(file.read())
 
 with open('README.rst') as file:
-    long_description=file.read()
+    long_description = file.read()
 
 setup(
     name='LinPy',
 
 setup(
     name='LinPy',
@@ -37,8 +38,7 @@ setup(
     packages=['linpy'],
     ext_modules=[
         Extension('linpy._islhelper',
     packages=['linpy'],
     ext_modules=[
         Extension('linpy._islhelper',
-            sources=['linpy/_islhelper.c'],
-            libraries=['isl'])
-    ],
-    test_suite='linpy.tests'
+                  sources=['linpy/_islhelper.c'],
+                  libraries=['isl'])
+    ]
 )
 )