diff options
author | mathieui <mathieui@mathieui.net> | 2014-10-27 18:39:32 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2014-10-27 18:49:10 +0100 |
commit | 0f1beb89e961b22b1db875cb9278fc6a28bc50be (patch) | |
tree | 0c29c54fe945c7fecfac9b24f19242f4404acbcc | |
parent | d2ca062eaa190cd837c5073ca83e71d2834c7059 (diff) | |
download | poezio-0f1beb89e961b22b1db875cb9278fc6a28bc50be.tar.gz poezio-0f1beb89e961b22b1db875cb9278fc6a28bc50be.tar.bz2 poezio-0f1beb89e961b22b1db875cb9278fc6a28bc50be.tar.xz poezio-0f1beb89e961b22b1db875cb9278fc6a28bc50be.zip |
Use a setuptools entry point instead of a custom script
-rwxr-xr-x | scripts/poezio | 4 | ||||
-rwxr-xr-x | setup.py | 3 |
2 files changed, 2 insertions, 5 deletions
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() @@ -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', |