cf3f6e7a7d
GitOrigin-RevId: 24eb3f87fc610f18de7076aee7c5a84ac5591e3e
29 lines
703 B
Diff
29 lines
703 B
Diff
From f4a612e1c8501d2a1683003bb121daa6d46155ca Mon Sep 17 00:00:00 2001
|
|
From: Maximilian Bosch <maximilian@mbosch.me>
|
|
Date: Sun, 29 Nov 2020 20:45:16 +0100
|
|
Subject: [PATCH 1/2] Re-add entrypoint
|
|
|
|
---
|
|
setup.py | 6 ++++++
|
|
1 file changed, 6 insertions(+)
|
|
|
|
diff --git a/setup.py b/setup.py
|
|
index 068c351..95dbf89 100644
|
|
--- a/setup.py
|
|
+++ b/setup.py
|
|
@@ -51,6 +51,12 @@ setuptools.setup(
|
|
extras_require=extras_require,
|
|
python_requires="~=3.6",
|
|
|
|
+ entry_points={
|
|
+ 'console_scripts': [
|
|
+ 'mautrix-telegram=mautrix_telegram.__main__:main'
|
|
+ ]
|
|
+ },
|
|
+
|
|
setup_requires=["pytest-runner"],
|
|
tests_require=["pytest", "pytest-asyncio", "pytest-mock"],
|
|
|
|
--
|
|
2.28.0
|
|
|