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_with_cython = {'--with-cython'}.intersection(sys.argv)
opt_without_cython = {'--without-cython'}.intersection(sys.argv) opt_without_cython = {'--without-cython'}.intersection(sys.argv)
if opt_with_cython and opt_without_cython: if opt_with_cython and opt_without_cython:
sys.exit( sys.exit(
"error: the options '--with-cython' and '--without-cython' are " "error: the options '--with-cython' and '--without-cython' are "
"mutually exclusive" "mutually exclusive"
) )
elif opt_with_cython: elif opt_with_cython:
sys.argv.remove("--with-cython") sys.argv.remove("--with-cython")
with_cython = True with_cython = True
elif opt_without_cython: elif opt_without_cython:
sys.argv.remove("--without-cython") sys.argv.remove("--without-cython")
with_cython = False with_cython = False
if with_cython and not has_cython: if with_cython and not has_cython:
setup_requires.append("cython") setup_requires.append("cython")