Commit d6646dd
committed
build: make IRC mirror integration script installable
This change was originally proposed by Sharlatan Hellseher:
https://codeberg.org/guix/guix/pulls/7418#issuecomment-12239616
* zulip/integrations/bridge_with_irc/irc-mirror.py: Rename file to
'irc_mirror.py' to make it importable as a Python module.
* zulip/integrations/bridge_with_irc/irc_mirror.py: Introduce `main' entry point
so it can be used as a setuptools console script entry point.
* zulip/setup.py: Register 'zulip-irc-bridge' as a console script so it's
installed as part of the package output.1 parent 7491ca0 commit d6646dd
2 files changed
Lines changed: 6 additions & 2 deletions
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
63 | 64 | | |
64 | 65 | | |
65 | 66 | | |
| |||
0 commit comments