# HG changeset patch # User Goffi # Date 1616246793 -3600 # Node ID 02787fa81b81c8d29bb4b9551ddd80ebe4adf64f # Parent be8ed5e4c7180dfecb6374d3a93875ec0b0c04b8 setup: name change + updated `description`/`classifiers` + use `entry_points` for running command diff -r be8ed5e4c718 -r 02787fa81b81 bin/cagou --- a/bin/cagou Sat Mar 20 14:26:29 2021 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,23 +0,0 @@ -#!/usr//bin/env python3 -# -*- coding: utf-8 -*- - -# Cagou: desktop/mobile frontend for Salut à Toi XMPP client -# Copyright (C) 2016-2018 Jérôme Poisson (goffi@goffi.org) - -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. - -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . - -import cagou - -if __name__ == "__main__": - cagou.run() diff -r be8ed5e4c718 -r 02787fa81b81 setup.py --- a/setup.py Sat Mar 20 14:26:29 2021 +0100 +++ b/setup.py Sat Mar 20 14:26:33 2021 +0100 @@ -53,11 +53,12 @@ setup( name=NAME, version=VERSION, - description="Desktop/Android frontend for Salut à Toi XMPP client", + description="Desktop/Android frontend for Libervia XMPP client", long_description=textwrap.dedent("""\ - Cagou is a desktop/Android frontend for Salut à Toi. + Libervia Desktop (Cagou) is a desktop/Android frontend for Libervia. It provides native graphical interface with a modern user interface, - using touch screen abilitiy when available, and with split ability inspired from Blender + using touch screen abilitiy when available, and with split ability inspired from + Blender """), author="Association « Salut à Toi »", author_email="contact@goffi.org", @@ -66,6 +67,8 @@ "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", "Development Status :: 5 - Production/Stable", "Environment :: X11 Applications", "Framework :: Twisted", @@ -77,7 +80,13 @@ "Intended Audience :: End Users/Desktop", ], packages=find_packages(), - scripts=["bin/cagou"], + entry_points={ + "console_scripts": [ + "libervia-desktop = cagou:run", + "libervia-mobile = cagou:run", + "cagou = cagou:run", + ], + }, zip_safe=False, setup_requires=["setuptools_scm"] if is_dev_version else [], use_scm_version=cagou_dev_version if is_dev_version else False,