No longer rely on setup_requires for wheel.

This commit is contained in:
Jason R. Coombs 2017-01-19 11:13:08 -05:00
parent 746dd7999f
commit 9f6eea591e

View File

@ -3,16 +3,12 @@
# Project skeleton maintained at https://github.com/jaraco/skeleton
import io
import sys
import setuptools
with io.open('README.rst', encoding='utf-8') as readme:
long_description = readme.read()
needs_wheel = {'release', 'bdist_wheel', 'dists'}.intersection(sys.argv)
wheel = ['wheel'] if needs_wheel else []
name = 'skeleton'
description = ''
@ -33,7 +29,7 @@ params = dict(
},
setup_requires=[
'setuptools_scm>=1.15.0',
] + wheel,
],
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",