Verified Commit 0f1beb89 authored by mathieui's avatar mathieui

Use a setuptools entry point instead of a custom script

parent d2ca062e
#!/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',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment