comparison libervia/backend/__init__.py @ 4079:10b6ad569157

version: use standard Python's `dev0` instead of Libervia specific `D` for dev version
author Goffi <goffi@goffi.org>
date Tue, 06 Jun 2023 12:41:53 +0200
parents 4b842c1fb686
children
comparison
equal deleted inserted replaced
4078:15055a00162c 4079:10b6ad569157
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU Affero General Public License for more details. 14 # GNU Affero General Public License for more details.
15 15
16 # You should have received a copy of the GNU Affero General Public License 16 # You should have received a copy of the GNU Affero General Public License
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 import os.path
19 from sat_tmp import wokkel 18 from sat_tmp import wokkel
20 19
21 version_file = os.path.join(os.path.dirname(__file__), "VERSION") 20 __version__ = "0.9.0.dev0"
22 with open(version_file) as f:
23 __version__ = f.read().strip()
24 21
25 if not wokkel.installed: 22 if not wokkel.installed:
26 wokkel.install() 23 wokkel.install()