From 29e595d8172264bb2bfd0509f0469bc9244466c4 Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Thu, 18 Jun 2020 10:40:54 +0200 Subject: Generate properly binary as an entry_point. --- setup.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 6fb4595..9ba5c6f 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages setup( name="epubgrep", - version="0.4.0", + version="0.4.1", description='Grep through EPub files', author=u'Matěj Cepl', author_email='mcepl@cepl.eu', @@ -12,6 +12,11 @@ setup( packages=find_packages(), test_suite='tests', install_requires=['epub_meta'], + entry_points={ + 'console_scripts': [ + 'epubgrep=epubgrep:main', + ], + }, classifiers=[ "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", -- cgit