comparison setup.py @ 2564:6e5ab7bebd11

setup: use constants to get name and version
author Goffi <goffi@goffi.org>
date Tue, 03 Apr 2018 08:00:42 +0200
parents 26edcf3a30eb
children ea106dfa2145
comparison
equal deleted inserted replaced
2563:9af003a8cb99 2564:6e5ab7bebd11
17 17
18 # You should have received a copy of the GNU Affero General Public License 18 # You should have received a copy of the GNU Affero General Public License
19 # along with this program. If not, see <http://www.gnu.org/licenses/>. 19 # along with this program. If not, see <http://www.gnu.org/licenses/>.
20 20
21 from setuptools import setup, find_packages 21 from setuptools import setup, find_packages
22 from sat.core.constants import Const as C
22 import os 23 import os
23 import sys 24 import sys
24 25
25 NAME = 'sat' 26 NAME = 'sat'
26 27
54 55
55 56
56 DBUS_DIR = 'dbus-1/services' 57 DBUS_DIR = 'dbus-1/services'
57 DBUS_FILE = 'misc/org.goffi.SAT.service' 58 DBUS_FILE = 'misc/org.goffi.SAT.service'
58 59
59 setup(name=NAME, 60 setup(name=C.APP_NAME_FILE,
60 version='0.6.1.1', 61 version=C.APP_VERSION,
61 description=u'Salut à Toi multipurpose and multi frontend XMPP client', 62 description=u'Salut à Toi multipurpose and multi frontend XMPP client',
62 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).', 63 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).',
63 author='Association « Salut à Toi »', 64 author='Association « Salut à Toi »',
64 author_email='contact@goffi.org', 65 author_email='contact@goffi.org',
65 url='https://salut-a-toi.org', 66 url='https://salut-a-toi.org',