11 Commits

Author SHA1 Message Date
John Ralls
13a49a63ff [r21614]Move VERSION, VERSION_TUPLE, major_version
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
2013-03-11 22:54:31 +00:00
Tim G L Lyons
87d91cdc20 Exportgedcom and importgedcom. 0006382: ADDR tag in GEDCOM export does not contain a full address. On export, all the elements of the structured address are output as ADDR/CONT. On import the structured address takes precedence (as at present), but a warning is only given if an element in the free-form address is missing from the structured address.
svn: r21609
2013-03-11 18:44:37 +00:00
John Ralls
fccfdecd03 [r21148]GrampsLocale: Simplify the file-finding functions
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
2013-02-24 00:52:26 +00:00
John Ralls
e28e114c95 [r21144]GrampsLocale: Remove ggettext
svn: r21392
2013-02-24 00:51:17 +00:00
John Ralls
88831f8398 Fix Py2 TypeError in GEDCOM export
Due to writing regular strings instead of unicode strings.

svn: r21378
2013-02-19 22:11:21 +00:00
Benny Malengier
8b39b80dc8 2620: GEPS 031: Python 3 support - 3.2
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
2012-11-15 08:08:31 +00:00
Benny Malengier
bb5fc7cb7c 2620: GEPS 031: Python 3 support - 3.2
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
2012-11-07 17:53:14 +00:00
Nick Hall
55c19e4180 Changes to imports - part 7
svn: r20492
2012-10-02 21:08:19 +00:00
Nick Hall
a5c41d0566 Changes to imports - part 3
svn: r20487
2012-10-02 19:47:38 +00:00
Benny Malengier
149298c52b GEP 026: replace make
* 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
2012-10-02 11:31:00 +00:00
Benny Malengier
326d604365 GEPS 026: Replace 'make' for Gramps build
If we want to use Gramps from the code directory, src should be called gramps to allow import


svn: r20466
2012-09-30 11:55:52 +00:00