setup.py: fix indentation

This commit is contained in:
Cosimo Lupo 2020-04-02 18:14:56 +01:00
parent 81f3e49bba
commit 560c634ed8
No known key found for this signature in database
GPG Key ID: 179A8F0895A02F4F

View File

@ -49,16 +49,16 @@ with_cython = (
opt_with_cython = {'--with-cython'}.intersection(sys.argv)
opt_without_cython = {'--without-cython'}.intersection(sys.argv)
if opt_with_cython and opt_without_cython:
sys.exit(
"error: the options '--with-cython' and '--without-cython' are "
"mutually exclusive"
)
sys.exit(
"error: the options '--with-cython' and '--without-cython' are "
"mutually exclusive"
)
elif opt_with_cython:
sys.argv.remove("--with-cython")
with_cython = True
sys.argv.remove("--with-cython")
with_cython = True
elif opt_without_cython:
sys.argv.remove("--without-cython")
with_cython = False
sys.argv.remove("--without-cython")
with_cython = False
if with_cython and not has_cython:
setup_requires.append("cython")