setup: Update packaging and runtime options

This commit is contained in:
Kishi85 2019-03-25 10:21:02 +01:00
parent 084d162361
commit 5e63fd89c0
3 changed files with 13 additions and 3 deletions

View File

@ -1,7 +1,7 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# acertmgr compatibility script for legacy installations
# run acertmgr directly from the git directory
# Copyright (c) Rudolf Mayerhofer, 2019.
# available under the ISC license, see LICENSE

11
acertmgr/__main__.py Normal file
View File

@ -0,0 +1,11 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# run as a module using "python -m acertmgr"
# Copyright (c) Rudolf Mayerhofer, 2019.
# available under the ISC license, see LICENSE
import acertmgr
if __name__ == "__main__":
acertmgr.main()

View File

@ -84,6 +84,5 @@ setup(
'acertmgr=acertmgr:main',
],
},
data_files=[('readme', ['README.md']),
('config', ['docs/acertmgr.conf', 'docs/domain.conf'])]
data_files=[('readme', ['README.md'])]
)