Use entry points for output formats, add --output-format option.
This commit is contained in:
parent
a59d528253
commit
69c5b4ce0a
3 changed files with 25 additions and 5 deletions
6
setup.py
6
setup.py
|
|
@ -18,7 +18,11 @@ setup(
|
|||
'Operating System :: OS Independent',
|
||||
],
|
||||
entry_points={
|
||||
'console_scripts': ['pixelocr = pixelocr.gui:main']
|
||||
'console_scripts': ['pixelocr = pixelocr.gui:main'],
|
||||
'pixelocr.formatting': [
|
||||
'text = pixelocr.formatting:TextFormat',
|
||||
'html = pixelocr.formatting:HTMLFormat',
|
||||
],
|
||||
},
|
||||
packages=find_packages(),
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue