Rename daemon script and add shebang

This commit is contained in:
crudo 2017-12-23 14:44:16 +01:00
parent ce7369da06
commit 6696238d57
2 changed files with 2 additions and 1 deletions

View File

@ -13,7 +13,7 @@ setup(
package_dir={'': 'src'},
packages=['phi', 'phi.api', 'phi.ldap'],
scripts=['src/phi.py'],
scripts=['src/phid'],
install_requires=['aiohttp', 'pyYAML', 'ldap3'],
tests_require=['pytest', 'pytest-aiohttp']

1
src/phid Normal file → Executable file
View File

@ -1,3 +1,4 @@
#!/usr/bin/env python3
from pprint import pformat as pp
from phi.config import get_config