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 --- scripts/poezio | 4 ---- setup.py | 3 ++- 2 files changed, 2 insertions(+), 5 deletions(-) delete mode 100755 scripts/poezio diff --git a/scripts/poezio b/scripts/poezio deleted file mode 100755 index 665edcaa..00000000 --- a/scripts/poezio +++ /dev/null @@ -1,4 +0,0 @@ -#!/usr/bin/python3 - -from poezio import main -main() 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