Use a setuptools entry point instead of a custom script
This commit is contained in:
parent
d2ca062eaa
commit
0f1beb89e9
2 changed files with 2 additions and 5 deletions
|
@ -1,4 +0,0 @@
|
|||
#!/usr/bin/python3
|
||||
|
||||
from poezio import main
|
||||
main()
|
3
setup.py
3
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',
|
||||
|
|
Loading…
Reference in a new issue