From 0f1beb89e961b22b1db875cb9278fc6a28bc50be Mon Sep 17 00:00:00 2001 From: mathieui Date: Mon, 27 Oct 2014 18:39:32 +0100 Subject: Use a setuptools entry point instead of a custom script --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index aeac3737..6c70c208 100755 --- a/setup.py +++ b/setup.py @@ -53,7 +53,8 @@ setup(name="poezio", 'poezio_plugins', 'poezio_plugins.gpg', 'poezio_themes'], package_dir = {'poezio': 'src', 'poezio_plugins': 'plugins', 'poezio_themes': 'data/themes'}, package_data = {'poezio': ['default_config.cfg']}, - scripts = ['scripts/poezio', 'scripts/poezio_gpg_export'], + scripts = ['scripts/poezio_gpg_export'], + entry_points={ 'console_scripts': [ 'poezio = poezio:main' ] }, data_files = [('share/man/man1/', ['data/poezio.1'])], install_requires = ['sleekxmpp==1.2.4', -- cgit v1.2.3