From b0c6fe0d3e1a8b6f604cd2b7049928c6758d7678 Mon Sep 17 00:00:00 2001 From: David Stansby Date: Tue, 16 Feb 2021 17:17:51 +0000 Subject: [PATCH] Fix sdist --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 9314cc9..2ed2083 100755 --- a/setup.py +++ b/setup.py @@ -1,4 +1,5 @@ import os +from setuptools import setup from numpy.distutils.core import setup, Extension # Don't want to build the fortran on readthedocs @@ -15,5 +16,4 @@ ), ] -if __name__ == "__main__": - setup(ext_modules=exts) +setup(ext_modules=exts)