removed '--name' pieces for #102

This commit is contained in:
corey.d.mccarty
2018-11-05 11:47:31 -05:00
parent 8dd71189b2
commit 2ca6500bba
6 changed files with 1 additions and 50 deletions
-7
View File
@@ -1,13 +1,6 @@
from setuptools import setup, Extension
import sys
if sys.argv[-1] != '--name':
# explode if run on Python 2.7 or Python 3.4 (these should be skipped)
if sys.version_info[0:2] == (2, 7):
raise Exception('Python 2.7 should not be built')
if sys.version_info[0:2] == (3, 4):
raise Exception('Python 3.4 should be skipped')
setup(
name="spam",
ext_modules=[Extension('spam', sources=['spam.c'])],