changeset 3576:8876803db81b

/!\ package is being renamed to libervia-backend following global name change /!\
author Goffi <goffi@goffi.org>
date Fri, 18 Jun 2021 14:44:01 +0200
parents 1b52e5ea3a7e
children 87745bb92221
files setup.py
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/setup.py	Fri Jun 18 14:38:51 2021 +0200
+++ b/setup.py	Fri Jun 18 14:44:01 2021 +0200
@@ -20,7 +20,9 @@
 from setuptools import setup, find_packages
 import os
 
-NAME = 'sat'
+NAME = "libervia-backend"
+# NOTE: directory is still "sat" for compatibility reason, should be changed for 0.9
+DIR_NAME = "sat"
 
 install_requires = [
     'babel < 3',
@@ -60,7 +62,7 @@
 
 DBUS_DIR = 'dbus-1/services'
 DBUS_FILE = 'misc/org.libervia.Libervia.service'
-with open(os.path.join(NAME, 'VERSION')) as f:
+with open(os.path.join(DIR_NAME, 'VERSION')) as f:
     VERSION = f.read().strip()
 is_dev_version = VERSION.endswith('D')
 if is_dev_version: