Mercurial > libervia-web
comparison libervia/__init__.py @ 1124:28e3eb3bb217
files reorganisation and installation rework:
- files have been reorganised to follow other SàT projects and usual Python organisation (no more "/src" directory)
- VERSION file is now used, as for other SàT projects
- replace the overcomplicated setup.py be a more sane one. Pyjamas part is not compiled anymore by setup.py, it must be done separatly
- removed check for data_dir if it's empty
- installation tested working in virtual env
- libervia launching script is now in bin/libervia
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 25 Aug 2018 17:59:48 +0200 |
parents | src/__init__.py@5cefc6ab302f |
children | b290f21e8466 |
comparison
equal
deleted
inserted
replaced
1123:63a4b8fe9782 | 1124:28e3eb3bb217 |
---|---|
1 import os.path | |
2 | |
3 version_file = os.path.join(os.path.dirname(__file__), "VERSION") | |
4 try: | |
5 with open(version_file) as f: | |
6 __version__ = f.read().strip() | |
7 except NotImplementedError: | |
8 # pyjamas workaround | |
9 __version__ = "0.7.0D" |