Commit Graph

9 Commits

Author SHA1 Message Date
John Ralls
dbc68eef53 Use MSWin environment variables USERPROFILE and APPDATA.
Instead of GRAMPSHOME. GRAMPSHOME is based on the assumption that
the config directory is GRAMPSHOME/gramps, and that causes the
default location for reports and backups to be ~/Library/Application Support.
The MSWin variables allow the two to be separated.

Thanks to Tim Lyons for the suggestion.
2015-05-09 00:31:34 +02:00
John Ralls
3f23c2c5cd Updates for building and bundling with Python3
Note that building currently requires bouncing back and forth between python2 and python3.
2015-05-09 00:31:28 +02:00
John Ralls
cd9a00b787 Module fixups from gramps40 2014-06-19 10:37:01 -07:00
John Ralls
fa0eb6cebe Determine Paths at Runtime
Uses GRAMPS_RESOURCES to override the root location of the Gramps data files (which would normally be $(prefix)/share).
In setup.py install, writes $(prefix)/share to gen/utils/resource-path, installs that file, then deletes it again from the source tree. The presence or absence determines whether Gramps is running from the source directory or from an installation.

Const.py is now a static file; const.py.in is no longer used. Note that because importing const into setup tried to initialize things that we don't want initialized, VERSION is removed, and imported from gramps.version -- a file which will be added in the next change. Consequently, this commit will not run.

svn: r21613
2013-03-11 22:43:58 +00:00
John Ralls
87e7945b65 Fix typo in GI_TYPELIB_PATH
svn: r21110
2013-01-13 21:06:41 +00:00
John Ralls
a769890c26 Include gi typelibs in bundle
Also point to pango modules file.


svn: r21106
2013-01-13 20:32:11 +00:00
John Ralls
08010776aa Mods for Gtk3, setup.py
svn: r20829
2012-12-23 06:11:43 +00:00
John Ralls
37e4824029 Bug #5641: Links to other programs don't work
svn: r19291
2012-04-10 22:58:04 +00:00
John Ralls
3842c5a6a7 Update mac build files
svn: r18791
2012-01-29 01:45:16 +00:00