SETUP register cli entry point in setuptools

This commit is contained in:
Patrick Kanzler 2016-06-23 16:53:58 +02:00
parent ab39fd2b99
commit 5be81e4703
No known key found for this signature in database
GPG Key ID: F07F07153306FCEF
1 changed files with 5 additions and 0 deletions

View File

@ -104,4 +104,9 @@ setup(
], ],
tests_require=['tox', 'nose', 'scripttest'], tests_require=['tox', 'nose', 'scripttest'],
cmdclass={'test': Tox}, cmdclass={'test': Tox},
entry_points={
'console_scripts': [
'python-escpos = escpos.cli:main'
]
},
) )