Skip to content

Commit 398fb25

Browse files
authored
Merge pull request #7 from devopshq/develop
Version of ExampleProject is added
2 parents 10d5779 + 7e5b2cc commit 398fb25

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

exampleproject/__main__.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
from exampleproject.Main import Main
2+
3+
if __name__ == "__main__":
4+
print(Main())
5+
6+
import pkg_resources # part of standart setuptools
7+
print("Version of ExampleProject is [ {} ]".format(pkg_resources.get_distribution('dohq-example-project').version))
8+

0 commit comments

Comments
 (0)