1
0
Fork 0
mirror of https://github.com/kakwa/ldapcherry synced 2025-07-03 03:47:35 +02:00

put version in standalone file

this way, it avoids error due to missing imports
This commit is contained in:
kakwa 2017-04-06 20:34:32 +02:00
parent e7998ced78
commit f357adcd9a
5 changed files with 11 additions and 5 deletions

View file

@ -17,7 +17,7 @@ data_dir = os.path.join(datarootdir, 'ldapcherry')
config_dir = os.path.join(sysconfdir, 'ldapcherry')
small_description = 'A simple web application to manage Ldap entries'
from ldapcherry import version
from ldapcherry.version import version
# change requirements according to python version
if sys.version_info[0] == 2: