Mercurial > sat_tmp
view 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 |
line wrap: on
line source
#!/usr/bin/env python3 # # Series of Wokkel patches used by SàT # Copyright (C) 2015-2019 Jérôme Poisson (goffi@goffi.org) # Copyright (C) 2015 Adien Cossa (souliane@mailoo.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 <http://www.gnu.org/licenses/>. def install(): """Monkey patch Wokkel to have improvments implemented here""" import wokkel from . import pubsub, rsm, mam, data_form wokkel.pubsub = pubsub wokkel.rsm = rsm wokkel.mam = mam data_form.install()