No longer rely on setup_requires for wheel.
This commit is contained in:
parent
746dd7999f
commit
9f6eea591e
6
setup.py
6
setup.py
|
@ -3,16 +3,12 @@
|
||||||
# Project skeleton maintained at https://github.com/jaraco/skeleton
|
# Project skeleton maintained at https://github.com/jaraco/skeleton
|
||||||
|
|
||||||
import io
|
import io
|
||||||
import sys
|
|
||||||
|
|
||||||
import setuptools
|
import setuptools
|
||||||
|
|
||||||
with io.open('README.rst', encoding='utf-8') as readme:
|
with io.open('README.rst', encoding='utf-8') as readme:
|
||||||
long_description = readme.read()
|
long_description = readme.read()
|
||||||
|
|
||||||
needs_wheel = {'release', 'bdist_wheel', 'dists'}.intersection(sys.argv)
|
|
||||||
wheel = ['wheel'] if needs_wheel else []
|
|
||||||
|
|
||||||
name = 'skeleton'
|
name = 'skeleton'
|
||||||
description = ''
|
description = ''
|
||||||
|
|
||||||
|
@ -33,7 +29,7 @@ params = dict(
|
||||||
},
|
},
|
||||||
setup_requires=[
|
setup_requires=[
|
||||||
'setuptools_scm>=1.15.0',
|
'setuptools_scm>=1.15.0',
|
||||||
] + wheel,
|
],
|
||||||
classifiers=[
|
classifiers=[
|
||||||
"Development Status :: 5 - Production/Stable",
|
"Development Status :: 5 - Production/Stable",
|
||||||
"Intended Audience :: Developers",
|
"Intended Audience :: Developers",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user