move the main script into a module

This commit is contained in:
Andreas Zweili 2019-10-13 09:36:26 +01:00
parent 6b538a6e00
commit bfe6d7e304
3 changed files with 9 additions and 3 deletions

View File

@ -1,3 +0,0 @@
#!/usr/bin/python3
print("Test")

0
sensors/__init__.py Normal file
View File

9
sensors/__main__.py Normal file
View File

@ -0,0 +1,9 @@
#!/usr/bin/env python
import sys
def main():
pass
if __name__ == "__main__":
main()