Mercurial > sat_tmp
annotate sat_tmp/wokkel/__init__.py @ 71:a564fc84d5d0
twisted: added Twisted module for Python 3.8 compatibility:
Current Twisted version (19.10.0) is not Python 3.8 compatible, so a twisted directory has
been added to fix `twisted.words.xish.domish` and be able to use it with Python 3.8.
To be removed once Python 3.8 compatible version of Twisted is published.
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 18 Nov 2019 20:48:45 +0100 |
parents | 1245269f9aab |
children | 67508db07ea0 |
rev | line source |
---|---|
71
a564fc84d5d0
twisted: added Twisted module for Python 3.8 compatibility:
Goffi <goffi@goffi.org>
parents:
61
diff
changeset
|
1 #!/usr/bin/env python3 |
61
1245269f9aab
wokkel: new data_form module to add support of XML element + new install() function to make patching easier.
Goffi <goffi@goffi.org>
parents:
45
diff
changeset
|
2 # |
1245269f9aab
wokkel: new data_form module to add support of XML element + new install() function to make patching easier.
Goffi <goffi@goffi.org>
parents:
45
diff
changeset
|
3 # Series of Wokkel patches used by SàT |
1245269f9aab
wokkel: new data_form module to add support of XML element + new install() function to make patching easier.
Goffi <goffi@goffi.org>
parents:
45
diff
changeset
|
4 # Copyright (C) 2015-2019 Jérôme Poisson (goffi@goffi.org) |
1245269f9aab
wokkel: new data_form module to add support of XML element + new install() function to make patching easier.
Goffi <goffi@goffi.org>
parents:
45
diff
changeset
|
5 # Copyright (C) 2015 Adien Cossa (souliane@mailoo.org) |
1245269f9aab
wokkel: new data_form module to add support of XML element + new install() function to make patching easier.
Goffi <goffi@goffi.org>
parents:
45
diff
changeset
|
6 |
1245269f9aab
wokkel: new data_form module to add support of XML element + new install() function to make patching easier.
Goffi <goffi@goffi.org>
parents:
45
diff
changeset
|
7 # This program is free software: you can redistribute it and/or modify |
1245269f9aab
wokkel: new data_form module to add support of XML element + new install() function to make patching easier.
Goffi <goffi@goffi.org>
parents:
45
diff
changeset
|
8 # it under the terms of the GNU Affero General Public License as published by |
1245269f9aab
wokkel: new data_form module to add support of XML element + new install() function to make patching easier.
Goffi <goffi@goffi.org>
parents:
45
diff
changeset
|
9 # the Free Software Foundation, either version 3 of the License, or |
1245269f9aab
wokkel: new data_form module to add support of XML element + new install() function to make patching easier.
Goffi <goffi@goffi.org>
parents:
45
diff
changeset
|
10 # (at your option) any later version. |
1245269f9aab
wokkel: new data_form module to add support of XML element + new install() function to make patching easier.
Goffi <goffi@goffi.org>
parents:
45
diff
changeset
|
11 |
1245269f9aab
wokkel: new data_form module to add support of XML element + new install() function to make patching easier.
Goffi <goffi@goffi.org>
parents:
45
diff
changeset
|
12 # This program is distributed in the hope that it will be useful, |
1245269f9aab
wokkel: new data_form module to add support of XML element + new install() function to make patching easier.
Goffi <goffi@goffi.org>
parents:
45
diff
changeset
|
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
1245269f9aab
wokkel: new data_form module to add support of XML element + new install() function to make patching easier.
Goffi <goffi@goffi.org>
parents:
45
diff
changeset
|
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1245269f9aab
wokkel: new data_form module to add support of XML element + new install() function to make patching easier.
Goffi <goffi@goffi.org>
parents:
45
diff
changeset
|
15 # GNU Affero General Public License for more details. |
1245269f9aab
wokkel: new data_form module to add support of XML element + new install() function to make patching easier.
Goffi <goffi@goffi.org>
parents:
45
diff
changeset
|
16 |
1245269f9aab
wokkel: new data_form module to add support of XML element + new install() function to make patching easier.
Goffi <goffi@goffi.org>
parents:
45
diff
changeset
|
17 # You should have received a copy of the GNU Affero General Public License |
1245269f9aab
wokkel: new data_form module to add support of XML element + new install() function to make patching easier.
Goffi <goffi@goffi.org>
parents:
45
diff
changeset
|
18 # along with this program. If not, see <http://www.gnu.org/licenses/>. |
1245269f9aab
wokkel: new data_form module to add support of XML element + new install() function to make patching easier.
Goffi <goffi@goffi.org>
parents:
45
diff
changeset
|
19 |
1245269f9aab
wokkel: new data_form module to add support of XML element + new install() function to make patching easier.
Goffi <goffi@goffi.org>
parents:
45
diff
changeset
|
20 |
1245269f9aab
wokkel: new data_form module to add support of XML element + new install() function to make patching easier.
Goffi <goffi@goffi.org>
parents:
45
diff
changeset
|
21 def install(): |
1245269f9aab
wokkel: new data_form module to add support of XML element + new install() function to make patching easier.
Goffi <goffi@goffi.org>
parents:
45
diff
changeset
|
22 """Monkey patch Wokkel to have improvments implemented here""" |
1245269f9aab
wokkel: new data_form module to add support of XML element + new install() function to make patching easier.
Goffi <goffi@goffi.org>
parents:
45
diff
changeset
|
23 import wokkel |
1245269f9aab
wokkel: new data_form module to add support of XML element + new install() function to make patching easier.
Goffi <goffi@goffi.org>
parents:
45
diff
changeset
|
24 from . import pubsub, rsm, mam, data_form |
1245269f9aab
wokkel: new data_form module to add support of XML element + new install() function to make patching easier.
Goffi <goffi@goffi.org>
parents:
45
diff
changeset
|
25 wokkel.pubsub = pubsub |
1245269f9aab
wokkel: new data_form module to add support of XML element + new install() function to make patching easier.
Goffi <goffi@goffi.org>
parents:
45
diff
changeset
|
26 wokkel.rsm = rsm |
1245269f9aab
wokkel: new data_form module to add support of XML element + new install() function to make patching easier.
Goffi <goffi@goffi.org>
parents:
45
diff
changeset
|
27 wokkel.mam = mam |
1245269f9aab
wokkel: new data_form module to add support of XML element + new install() function to make patching easier.
Goffi <goffi@goffi.org>
parents:
45
diff
changeset
|
28 data_form.install() |