|
@@ -26,20 +26,12 @@ class BuildTestCommand(setuptools.command.build_py.build_py):
|
|
doctest.testmod(fr_iqa)
|
|
doctest.testmod(fr_iqa)
|
|
doctest.testmod(utils)
|
|
doctest.testmod(utils)
|
|
|
|
|
|
- # Run format code using ypaf
|
|
|
|
- try:
|
|
|
|
- print("==============================")
|
|
|
|
- print("Runs format code command...")
|
|
|
|
- self.spawn(['yapf', '-ir', '-vv', 'ipfml'])
|
|
|
|
- except RuntimeError:
|
|
|
|
- self.warn('Format pakcage code failed')
|
|
|
|
-
|
|
|
|
setuptools.command.build_py.build_py.run(self)
|
|
setuptools.command.build_py.build_py.run(self)
|
|
|
|
|
|
|
|
|
|
setup(
|
|
setup(
|
|
name='ipfml',
|
|
name='ipfml',
|
|
- version='0.3.2',
|
|
|
|
|
|
+ version='0.3.3',
|
|
description='Image Processing For Machine Learning',
|
|
description='Image Processing For Machine Learning',
|
|
long_description=readme(),
|
|
long_description=readme(),
|
|
classifiers=[
|
|
classifiers=[
|
|
@@ -61,7 +53,6 @@ setup(
|
|
'scipy',
|
|
'scipy',
|
|
'opencv-python',
|
|
'opencv-python',
|
|
'scipy',
|
|
'scipy',
|
|
- 'yapf'
|
|
|
|
],
|
|
],
|
|
cmdclass={
|
|
cmdclass={
|
|
'build_py': BuildTestCommand,
|
|
'build_py': BuildTestCommand,
|