Structure made compatible to setuptools

This commit is contained in:
Balthasar Reuter
2018-05-01 22:32:00 +02:00
parent 7e5eb7dcbd
commit dd0b7ec513
4 changed files with 216 additions and 0 deletions

View File

@@ -1,6 +1,13 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from pkg_resources import get_distribution, DistributionNotFound
try:
__version__ = get_distribution(__name__).version
except DistributionNotFound:
# package is not installed
pass
import sys
from .main import main