# HG changeset patch # User Goffi # Date 1522735242 -7200 # Node ID 6e5ab7bebd11516da3cab3aded710b4e984bdd81 # Parent 9af003a8cb999d01039f36c03bc3949708ab047a setup: use constants to get name and version diff -r 9af003a8cb99 -r 6e5ab7bebd11 setup.py --- a/setup.py Mon Apr 02 19:48:50 2018 +0200 +++ b/setup.py Tue Apr 03 08:00:42 2018 +0200 @@ -19,6 +19,7 @@ # along with this program. If not, see . from setuptools import setup, find_packages +from sat.core.constants import Const as C import os import sys @@ -56,8 +57,8 @@ DBUS_DIR = 'dbus-1/services' DBUS_FILE = 'misc/org.goffi.SAT.service' -setup(name=NAME, - version='0.6.1.1', +setup(name=C.APP_NAME_FILE, + version=C.APP_VERSION, description=u'Salut à Toi multipurpose and multi frontend XMPP client', long_description=u'Salut à Toi (SàT) is a XMPP client based on a daemon/frontend architecture. Its multi frontend (desktop, web, console interface, CLI, etc) and multipurpose (instant messaging, microblogging, games, file sharing, etc).', author='Association « Salut à Toi »',