Merge branch 'fix-pkg-config' into 'master'
Remove pkg-config See merge request rastersoft/devedeng!90
This commit is contained in:
commit
708c595357
1 changed files with 2 additions and 2 deletions
|
|
@ -18,7 +18,7 @@
|
||||||
|
|
||||||
from gi.repository import GObject
|
from gi.repository import GObject
|
||||||
import os
|
import os
|
||||||
import pkg_resources
|
import importlib_metadata
|
||||||
import platform
|
import platform
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -37,7 +37,7 @@ class configuration(GObject.GObject):
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
GObject.GObject.__init__(self)
|
GObject.GObject.__init__(self)
|
||||||
self.version = str(pkg_resources.require("devedeng")[0].version)
|
self.version = str(importlib_metadata.version("devedeng"))
|
||||||
print("Version: " + self.version)
|
print("Version: " + self.version)
|
||||||
|
|
||||||
def _get_config_folder(self):
|
def _get_config_folder(self):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue