comparison setup.py @ 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
comparison
equal deleted inserted replaced
3575:1b52e5ea3a7e 3576:8876803db81b
18 # along with this program. If not, see <http://www.gnu.org/licenses/>. 18 # along with this program. If not, see <http://www.gnu.org/licenses/>.
19 19
20 from setuptools import setup, find_packages 20 from setuptools import setup, find_packages
21 import os 21 import os
22 22
23 NAME = 'sat' 23 NAME = "libervia-backend"
24 # NOTE: directory is still "sat" for compatibility reason, should be changed for 0.9
25 DIR_NAME = "sat"
24 26
25 install_requires = [ 27 install_requires = [
26 'babel < 3', 28 'babel < 3',
27 'dbus-python < 1.3', 29 'dbus-python < 1.3',
28 'html2text < 2020.2', 30 'html2text < 2020.2',
58 "SVG": ["CairoSVG"], 60 "SVG": ["CairoSVG"],
59 } 61 }
60 62
61 DBUS_DIR = 'dbus-1/services' 63 DBUS_DIR = 'dbus-1/services'
62 DBUS_FILE = 'misc/org.libervia.Libervia.service' 64 DBUS_FILE = 'misc/org.libervia.Libervia.service'
63 with open(os.path.join(NAME, 'VERSION')) as f: 65 with open(os.path.join(DIR_NAME, 'VERSION')) as f:
64 VERSION = f.read().strip() 66 VERSION = f.read().strip()
65 is_dev_version = VERSION.endswith('D') 67 is_dev_version = VERSION.endswith('D')
66 if is_dev_version: 68 if is_dev_version:
67 install_requires.append("setuptools_scm") 69 install_requires.append("setuptools_scm")
68 70