Mercurial > libervia-backend
annotate MANIFEST.in @ 3028:ab2696e34d29
Python 3 port:
/!\ this is a huge commit
/!\ starting from this commit, SàT is needs Python 3.6+
/!\ SàT maybe be instable or some feature may not work anymore, this will improve with time
This patch port backend, bridge and frontends to Python 3.
Roughly this has been done this way:
- 2to3 tools has been applied (with python 3.7)
- all references to python2 have been replaced with python3 (notably shebangs)
- fixed files not handled by 2to3 (notably the shell script)
- several manual fixes
- fixed issues reported by Python 3 that where not handled in Python 2
- replaced "async" with "async_" when needed (it's a reserved word from Python 3.7)
- replaced zope's "implements" with @implementer decorator
- temporary hack to handle data pickled in database, as str or bytes may be returned,
to be checked later
- fixed hash comparison for password
- removed some code which is not needed anymore with Python 3
- deactivated some code which needs to be checked (notably certificate validation)
- tested with jp, fixed reported issues until some basic commands worked
- ported Primitivus (after porting dependencies like urwid satext)
- more manual fixes
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 13 Aug 2019 19:08:41 +0200 |
parents | c2e7bb251e3e |
children | e80694d536d7 |
rev | line source |
---|---|
2571
4aca060075b7
setup: version is now set in SAT/VERSION, sat is not imported anymore in setup
Goffi <goffi@goffi.org>
parents:
2562
diff
changeset
|
1 include MANIFEST.in sat/VERSION |
268
7111b98c58b3
distribute: manifest now include all .py and .ini files
Goffi <goffi@goffi.org>
parents:
235
diff
changeset
|
2 global-include *.py |
7111b98c58b3
distribute: manifest now include all .py and .ini files
Goffi <goffi@goffi.org>
parents:
235
diff
changeset
|
3 global-include *.ini |
229 | 4 global-include *.po *.mo |
5 global-include CHANGELOG COPYING* INSTALL README* | |
6 global-include *.sh | |
3024 | 7 global-include Makefile *.rst *.bat |
229 | 8 include src/sat.* |
2001
b47492e8af0c
installation (MANIFEST): added misc directory
Goffi <goffi@goffi.org>
parents:
1999
diff
changeset
|
9 include misc |
3024 | 10 include doc |
1291
0db0013c59dd
remove remaining references to Wix
souliane <souliane@mailoo.org>
parents:
1196
diff
changeset
|
11 include frontends/src/jp/jp frontends/src/primitivus/primitivus |
2562 | 12 include src/bridge/bridge_constructor |
1999
30e83614af48
fixed exclusion of vim's undo file in MANIFEST.in
Goffi <goffi@goffi.org>
parents:
1291
diff
changeset
|
13 global-exclude *.un~ |
270
4005bf3ce35d
updated MANIFEST.in to exclude bridge_constructor's generated dir
Goffi <goffi@goffi.org>
parents:
268
diff
changeset
|
14 prune src/bridge/bridge_constructor/generated |