comparison libervia/desktop_kivy/__init__.py @ 495:59bdf78bd1d9

installation: update to use hatch following change in backend and other frontends: - `setup.py` and `requirements.txt` have been removed in favor of `pyproject.toml` - changed versionning mechanism to use a version directly in `libervia/desktop_kivy/__init__.py` handled by Hatch - remove the log hack from `kivy_hack` as there is now an environment variable to disable the logging hijacking
author Goffi <goffi@goffi.org>
date Mon, 28 Aug 2023 18:29:18 +0200
parents b3cedbee561d
children 0480f883f0a6
comparison
equal deleted inserted replaced
494:a4a5565e7026 495:59bdf78bd1d9
17 # along with this program. If not, see <http://www.gnu.org/licenses/>. 17 # along with this program. If not, see <http://www.gnu.org/licenses/>.
18 18
19 import os.path 19 import os.path
20 20
21 21
22 version_file = os.path.join(os.path.dirname(__file__), 'VERSION') 22 __version__ = "0.9.0.dev0"
23 with open(version_file) as f:
24 __version__ = f.read().strip()
25 23
26 class Global(object): 24 class Global(object):
27 @property 25 @property
28 def host(self): 26 def host(self):
29 return self._host 27 return self._host