Skip to content

Commit a747edd

Browse files
committed
Fix incorrect "setup.py" file generation.
1 parent 220b3d8 commit a747edd

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

setup.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
'yapf==0.23'],
3838
'read-the-docs': ['mock', 'numpy', 'sphinxcontrib-bibtex']}
3939

40-
setup(
40+
setup(
4141
name='colour-checker-detection',
4242
version='0.1.1',
4343
description='Colour checker detection with Python',
@@ -52,5 +52,4 @@
5252
install_requires=install_requires,
5353
extras_require=extras_require,
5454
python_requires='>=3.5,<4.0',
55-
)
56-
55+
)

tasks.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -350,9 +350,9 @@ def sub_callable(match):
350350
return ''
351351

352352
template = """
353-
setup({0}
354-
)
355-
"""
353+
setup({0}
354+
)
355+
"""
356356

357357
source = re.sub('from setuptools import setup',
358358
'import codecs\nfrom setuptools import setup', source)

0 commit comments

Comments
 (0)