Commit Graph

140 Commits

Author SHA1 Message Date
Doug Blank
cc97dcddbd Fixed classifiers in setup.py 2015-12-21 14:56:41 -05:00
Tom Samstag
62a95c936b add database plugins to package_core
Make sure the database addon and the bsddb_support code is installed.
Without this, Gramps crashes on startup.
2015-12-18 17:06:30 -08:00
Paul Franklin
90dd4afd06 handle case of no intltool when doing "python3 setup.py build"
I installed my development environment on a different machine
but for some reason didn't install intltool.  But it took me
a while to notice since I normally routinely divert the output
to a file.  So it was crashing but I didn't know.

But when I examined setup.py I saw that was tested for, at least
it was supposed to be tested for.  But on my particular machine
when the test was piped into more commands the whole piped command
was returning a zero status, even though there was no intltool
at all.  So I have added an explicit test for intltool and that
does indeed fail on my machine, without one.
2015-10-04 19:14:50 -07:00
Sam Manzi
43fae0c326 Embrace Github and use .md for README 2015-08-22 19:04:04 +10:00
Nick Hall
6ff73c4e36 Suppress deprecation warnings in intltool-update 2015-08-08 21:31:10 +01:00
Florian Preinstorfer
aaa64bed8e Pull Request #38: install grampsxml.{dtd,rng} files. 2015-07-05 11:19:49 +02:00
Ross Gammon
019c78285a 8047 - add resource path option to setup.py
With this additional option to setup.py, a path to where the
resource-path will be installed can be supplied. This is needed
when building Gramps out of the source tree, otherwise the temporary
location is stored in the resource-path file and Gramps cannot find
it resources.
2015-06-15 22:03:10 +02:00
Nick Hall
457ed21c6c Replace stock items with named icons
Stock items have been deprecated since 3.10.
Named icons are now loaded from the default icon theme.
2015-05-20 18:54:26 +01:00
Doug Blank
1d70822764 Update setup.py
Added missing commas
2015-03-15 22:13:24 -04:00
cadrlp
3b5e2c99cf Add Classifiers from Gramps pypi entry.
https://pypi.python.org/pypi/Gramps/
2015-03-16 11:56:52 +11:00
Nick Hall
b89cdeb077 Check python version >= 3.2 when running setup script 2015-03-01 16:40:32 +00:00
Anthony Fok
deba8169bb 7573: implement both "traditional" and "simplfied" Chinese
* Translation revisions and fixes
   * Generate zh_TW.po and new zh_HK.po from zh_CN.po
     with the help of https://github.com/BYVoid/OpenCC
     and a small sed script (see f.r. 7573 for the script)
2015-02-26 14:19:01 -08:00
Sveinn í Felli
240252292d Add partial (30%) Icelandic support 2015-02-13 15:29:58 +01:00
Paul Franklin
0b117f6adc 8148: Turkish language updates 2014-12-17 20:25:50 -08:00
Paul Franklin
bf23a94f5d neaten language list in setup.py 2014-10-24 12:34:48 -07:00
Paul Franklin
93744057ad enable Serbian Cyrillic translation 2014-10-22 22:48:04 -07:00
Jérôme Rapinat
bb67bdb83c Re-enable Esperento support after a large review (8% to 99%); No support under Windows (see _LOCALE_NAMES in gen/utils/grampslocale.py) 2014-10-21 15:34:38 +02:00
Malcom Lewis
86303f6116 Update FSF address to current location. 2014-08-08 19:39:45 -07:00
Paul Franklin
5e61827693 7573: slight tweak to (two zh) [9c8cf2] 2014-07-29 19:33:41 -07:00
Paul Franklin
9c8cf267e6 7573: implement both "traditional" and "simplified" Chinese
(With thanks to YH Tan, who provided the translations for both
the date handlers, as well as this early-prototype zh_TW.po)
2014-06-26 11:24:36 -07:00
Nick Hall
f6be31eb39 Remove subversion substitution variables 2014-04-15 14:10:18 +01:00
Josip
01011b3e11 ease found of perl in windows setup 2014-04-10 08:16:57 +02:00
Josip
26ab379584 7258: transcode os.path.join args from the fs enc to prevent a crash 2014-04-04 22:05:10 +02:00
John Ralls
e76d3f91bf Bug 7026: misleading diagnostics when locale resources aren't built
This problem is from setup.py test, so ensure that there's a 'build'
directory before running test.
2014-03-06 15:41:09 -08:00
Jérôme Rapinat
c2efe41abc 7110: Add AppData file
svn: r23254
2013-10-07 08:28:57 +00:00
Nick Hall
37c056db7d Add command to run unit tests from setup.py
svn: r22787
2013-07-31 18:21:42 +00:00
John Ralls
1158e77e13 Correctly set images/webstuff path in htmldoc.py and setup.py
svn: r22578
2013-06-23 23:24:02 +00:00
John Ralls
3fd0762ae0 Move the HTML resources from gramps/plugins/webstuff to data and images
So that they're together with the other resources instead of in 
site-package/gramps. Aside from a better source and installation 
layout, this makes it easier to bundle them.



svn: r22576
2013-06-23 22:47:25 +00:00
Jérôme Rapinat
8bbbae41aa support Arabic on installation and lang_map (reports)
svn: r22565
2013-06-23 09:15:33 +00:00
Nick Hall
2299b7fe5d Remove post-install script for linux
svn: r21630
2013-03-12 14:53:14 +00:00
John Ralls
29cf6674b5 Install image files to $(prefix)/share/gramps/images
Instead of $(prefix)/share/gramps/icons/hicolor, which was an old (early Gtk2) theming requirement.

svn: r21615
2013-03-11 22:44:23 +00: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
46d7c95f86 svn: r21538 2013-03-03 21:50:22 +00:00
Josip Pisoj
96e042919c win32 changes
svn: r21331
2013-02-10 17:53:43 +00:00
Nick Hall
7afc3f7112 Update post-install scripts
svn: r21265
2013-01-31 23:23:32 +00:00
Nick Hall
17e70f14b3 Fix bug with --install-scripts option
svn: r21263
2013-01-31 22:30:02 +00:00
Nick Hall
9979159717 Add server option to installation
svn: r21039
2013-01-08 21:54:31 +00:00
Nick Hall
fd227ef251 Change to absolute paths in const.py
svn: r21033
2013-01-08 17:26:44 +00:00
Nick Hall
cce7313605 6276: Fix error installing gramps.png
svn: r20999
2013-01-05 12:10:48 +00:00
Nick Hall
ae31189b32 Move images and data directories
svn: r20989
2013-01-04 23:09:12 +00:00
Nick Hall
945a491e18 Tidy up resource files
svn: r20944
2013-01-02 23:31:07 +00:00
Doug Blank
91173ba2a8 Bumped trunk to 4.1, updated plugins, requires setup.py build rather than copy of const.py.in, show svn number in version number
svn: r20919
2012-12-31 22:51:11 +00:00
Nick Hall
a86b39d078 Improve check to prevent overwriting const.py
svn: r20910
2012-12-31 16:41:00 +00:00
Nick Hall
7bff2f915f Fix structure of build directory for locale files
svn: r20872
2012-12-29 00:25:01 +00:00
Nick Hall
f055e2748e Add LOCALE_DIR. Remove PREFIXDIR and SYSCONFDIR.
svn: r20866
2012-12-28 19:59:07 +00:00
Jérôme Rapinat
424fe3bd5b merge from 4.0.0 to trunk
svn: r20824
2012-12-22 18:07:18 +00:00
Benny Malengier
1d9aeb81d0 On translation error, allow build to continue after asking user
svn: r20803
2012-12-20 16:40:49 +00:00
Benny Malengier
7576054885 support python 2 in setup.py also :-)
svn: r20679
2012-11-18 17:31:39 +00:00
Gary Burton
a760b74252 Python3 changes
svn: r20673
2012-11-17 16:44:45 +00:00
Benny Malengier
0eb5c29989 6127: missing glade files
svn: r20671
2012-11-17 14:54:08 +00:00
Benny Malengier
eb09afbc99 2620: GEPS 031: Python 3 support - 3.2
Python 3 needs absolute import after reload in plugins dir, but a dir may not be called import
So import is renamed to importer


svn: r20660
2012-11-15 10:41:15 +00:00
Benny Malengier
a876912059 distutils requires unix filenames
svn: r20643
2012-11-09 16:48:09 +00:00
Benny Malengier
dc8339b8d8 distutils needs unix paths as input & correct python version test
svn: r20642
2012-11-09 15:27:03 +00:00
Serge Noiraud
091b87e70b The gramps command doesn't work with the new architecture
svn: r20549
2012-10-12 10:59:16 +00:00
Jérôme Rapinat
0ccc4e1b09 Add Greek translation (contribution by Zissis Papadopoulos)
svn: r20543
2012-10-08 20:01:16 +00:00
Benny Malengier
a137276e2b Remove test code still present in setup.py
svn: r20474
2012-10-01 08:31:05 +00:00
Benny Malengier
52a98c1323 GEPS 026: Replace 'make': fix bug in setup.py, update install notes
svn: r20471
2012-09-30 15:29:37 +00:00
Benny Malengier
4f5f419b78 GEPS 026: Replace 'make' for Gramps build
svn: r20467
2012-09-30 12:19:14 +00:00
Benny Malengier
e9253804be GEPS 026: Replace 'make' for Gramps build
a/Part 1: import from gen piece works partially
b/Gramps as a stub to start gramps application


svn: r20465
2012-09-30 10:30:08 +00:00
Doug Blank
d57b63ac6d More changes for version change
svn: r20064
2012-07-24 12:26:36 +00:00
John Ralls
ec2367cb66 Fix up setup.py for some moved files
svn: r20012
2012-07-16 19:31:25 +00:00
Rob G. Healey
0d8fbf842f Updated packages list for the movement of the locale directory in rev19819.
svn: r19821
2012-06-11 02:28:38 +00:00
Rob G. Healey
29e96820d9 Updated setup.py packages list to current ecosystem as of rev19816.
svn: r19817
2012-06-10 05:58:35 +00:00
Rob G. Healey
03608064ef Made corrections for moving the license file up front.
svn: r19807
2012-06-09 01:41:55 +00:00
Rob G. Healey
0dcd17cefd Updated setup for current directory structure and changed the location of the glade directory.
svn: r19744
2012-06-02 04:42:05 +00:00
Nick Hall
c3fc7a5f70 Update to reflect latest directory changes
svn: r19733
2012-05-31 23:58:31 +00:00
Rob G. Healey
7e82282c07 Update setup.py to current ecosystem as of rev19701.
svn: r19702
2012-05-29 23:48:28 +00:00
Jérôme Rapinat
2fede54efb 'images/splash.jpg' is missing
svn: r19608
2012-05-20 15:29:35 +00:00
Nick Hall
4884a8dcc9 Tidy up code setting permissions
svn: r19606
2012-05-20 13:50:17 +00:00
Nick Hall
c92791e4d2 Use logging rather than print statements
svn: r19605
2012-05-20 13:21:47 +00:00
Rob G. Healey
01b6c75f5a Added eXecute bit on gramps script file and set mode 777 on build directory after installation so that the normal user can delete it.
svn: r19604
2012-05-20 07:50:25 +00:00
Nick Hall
648c09e10c Add files to test python distribution utilities (distutils)
svn: r19597
2012-05-19 22:56:19 +00:00
Rob G. Healey
220f4161ba Removed the Python DistUtils since we have a geps for it now.
svn: r19145
2012-03-24 19:58:05 +00:00
Jérôme Rapinat
969cbe93d3 2621: webstuff for webreports too
svn: r19068
2012-03-15 18:10:50 +00:00
Jérôme Rapinat
1283d9e90e 5621: remove 'extract_messages stuff'
svn: r19063
2012-03-14 15:39:41 +00:00
Jérôme Rapinat
a5076593d3 minor cleanup; no python module on images any more
svn: r19060
2012-03-14 08:33:27 +00:00
Jérôme Rapinat
44667f7f13 5621: improve comment and docstring
svn: r19052
2012-03-13 08:48:05 +00:00
Jérôme Rapinat
1c89635532 5621: minor issue on references for extracting messages
svn: r19051
2012-03-13 07:10:48 +00:00
Jérôme Rapinat
3de03c51ef 5621: cleanup, add an experimental script for merging translations
svn: r19050
2012-03-12 16:43:12 +00:00
Jérôme Rapinat
c2849f8aa3 5621: do not need babel dependency
svn: r19049
2012-03-12 14:37:45 +00:00
Jérôme Rapinat
4010e20cdd 5621: typo
svn: r19048
2012-03-12 10:39:47 +00:00
Jérôme Rapinat
fc9a7d08ca 5621: test for retrieving translated strings (extract glade, xml headers)
svn: r19047
2012-03-12 10:21:30 +00:00
Jérôme Rapinat
03c8cba91d 5621: typo
svn: r19045
2012-03-11 16:06:45 +00:00
Jérôme Rapinat
977772e076 5621: missing path for one localized man version
svn: r19044
2012-03-11 15:12:01 +00:00
Jérôme Rapinat
803cf27077 5621: cleanup, documented classes
svn: r19041
2012-03-11 10:52:25 +00:00
Jérôme Rapinat
9006235aa3 5621: cleanup
svn: r19038
2012-03-10 12:32:54 +00:00
Rob G. Healey
f6b12cfc9a Horizontal alignment for better visual effect.
svn: r19034
2012-03-09 23:12:16 +00:00
Jérôme Rapinat
8ea689cf6b trunk version
svn: r19032
2012-03-09 16:47:59 +00:00
Jérôme Rapinat
48399325fc 2621: use python-setuptools (draft)
svn: r19031
2012-03-09 16:43:01 +00:00
Rob G. Healey
6313ce7b8d Committing these files as Jerome and I would like to be able to get to use these in this next development version. We are not ready for actual testing though.
svn: r19027
2012-03-09 13:11:15 +00:00