from const.py to version.py
As noted in the previous change, importing const into setup.py tried to
initialize GrampsLocale and ResourcePath, which won't work. Since all we
want is the VERSION string, move that to a new file, gramps/version.py
svn: r21619
Making use of the fact that GrampsLocale now knows what
encoding to use, and noting that filesystems don't use
more than one encoding to write filenames in directories.
Also specify the encoding on some more files
svn: r21396
round 2 for python 3 support:
* no more cmp, also not in sort and sorted
* bsddb needs bytestring keys
* gtk does not need utf-8 encoded anymore...
svn: r20658
This does patch updates Gramps to the 3.2 syntax, it does not yet mean Gramps works with python 3.2
Expect next day commits to fix further issues, but this is the main 2to3 tool created patch changed
where needed to have python 2.7 work.
Specific issues might be:
1. next has been changed, must be checked
2. new division as on the wiki page listed is to do
3. ...
svn: r20634
* somewhere along the road, all of plugins dir was added to sys.path, this
is not ok, we only needed lib on sys.path
* As due to the GEP we can import from the plugin directory, better just
import the lib modules needed, and avoid sys.path extension
* At the same time this fixes a bug due to __init__.py being present, import
of a file named equal to the plugin directory was importing the __init__.py,
not the intended file.
svn: r20481