comparison setup.py @ 3281:a3639d6d9643

core: replaced `sat` shell script by a python script: the backend is now launched by `sat.core.launcher`, and the script is generated during installation with a new entry point in `setup.py`.
author Goffi <goffi@goffi.org>
date Mon, 25 May 2020 15:50:01 +0200
parents f300d78f08f3
children 7b47f48d31f3
comparison
equal deleted inserted replaced
3280:96b9b65b4368 3281:a3639d6d9643
108 ["i18n/fr/LC_MESSAGES/sat.mo"]), 108 ["i18n/fr/LC_MESSAGES/sat.mo"]),
109 (os.path.join("share/doc", NAME), 109 (os.path.join("share/doc", NAME),
110 ["CHANGELOG", "COPYING", "INSTALL", "README", "README4TRANSLATORS"]), 110 ["CHANGELOG", "COPYING", "INSTALL", "README", "README4TRANSLATORS"]),
111 (os.path.join("share", DBUS_DIR), [DBUS_FILE]), 111 (os.path.join("share", DBUS_DIR), [DBUS_FILE]),
112 ], 112 ],
113 scripts=["sat_frontends/jp/jp", "sat_frontends/primitivus/primitivus", "bin/sat"], 113 entry_points={
114 "console_scripts": [
115 "sat = sat.core.launcher:Launcher.run",
116 ],
117 },
118 scripts=["sat_frontends/jp/jp", "sat_frontends/primitivus/primitivus"],
114 zip_safe=False, 119 zip_safe=False,
115 setup_requires=["setuptools_scm"] if is_dev_version else [], 120 setup_requires=["setuptools_scm"] if is_dev_version else [],
116 use_scm_version=sat_dev_version if is_dev_version else False, 121 use_scm_version=sat_dev_version if is_dev_version else False,
117 install_requires=install_requires, 122 install_requires=install_requires,
118 package_data={"sat": ["VERSION"]}, 123 package_data={"sat": ["VERSION"]},