Commit Graph

122 Commits

Author SHA1 Message Date
Nick Hall
fd380e345c Install application icons into correct directories 2020-09-15 19:06:26 +01:00
David Straub
71d95faeea Use setup from setuptools to allow creation of python wheels
Add extras_require
2020-09-15 18:37:11 +01:00
Nick Hall
bb1c784d04 Bump all version numbers to 5.2 2020-09-15 16:59:43 +01:00
Nick Hall
60f1866292 Replace intltool with gettext tools
The build now requires gettext v0.19.7 or above.

Removed obsolete files:
  * gramps.applications
  * gramps.keys
  * gramps.mime

Created ITS rules for holidays.xml and tips.xml files.

Included ITS files for shared-mime-info from a gettext v0.20.2
installation.
2020-09-02 21:22:04 +01:00
Nick Hall
3ca82e2ebc Remove the resource-path file
Attempt to derive the resource path from the package path assuming that
one of the three main installation schemes has been used.

The package path will be one of the following:

  <prefix>/lib/pythonX.Y/site-packages
  <prefix>\Lib\site-packages

  <home>/lib/python

  <userbase>/lib/pythonX.Y/site-packages
  <userbase>\PythonXY\site-packages

  Where <prefix>, <home> and <userbase> are the resource paths used in the
  Prefix, Home and User installation schemes.

The use of the command line option "--install-data" in the setup script
is no longer supported.

This change is intended to allow a Gramps core package to be created
as a wheel and installed via pip.
2020-09-02 21:07:22 +01:00
prculley
a833dfb3ac Prepare for 5.1.0 release 2019-08-21 13:46:45 -05:00
prculley
263a082afe Merge in changes from Gramps50 2018-10-29 09:32:35 -05:00
Paul Culley
f3b5f75e37 Fix strings containing deprecated illegal escape sequences (#648)
Python 3.6 and above has deprecated illegal string escape sequences. Escape sequences are preceded by a '\' and valid ones are "\n\t\r" etc. Illegal ones are not in the list https://docs.python.org/3/reference/lexical_analysis.html#string-and-bytes-literals.

Previous to Python 3.6 these illegal sequences were ignored and the '\' was left in place. Pylint has been noting these for a while now.

This PR corrects these sequences in Gramps. I used

find . -name "*.py" | xargs -t -n 1 python3 -Wd -m py_compile 2>&1 | grep Depre

to locate the failing strings.
2018-09-04 12:03:17 +10:00
Nick Hall
3c5c34d0c5 Update development status for new release 2018-07-24 14:20:41 +01:00
prculley
257275f169 Merge from gramps50 2018-07-12 11:10:22 -05:00
prculley
2869e4d8a3 Release Gramps v5.0.0-rc1 2018-05-20 15:44:15 -05:00
Herb Miller Jr
fd55f0abff Add configuration flag --no-compress-manpages. 2018-03-26 19:50:32 +01:00
Nick Hall
dd0671b111 Bump all version numbers to 5.1 2017-05-23 18:30:29 +01:00
Paul Franklin
0919763f15 enable preliminary Tamil translation 2017-03-20 12:13:51 -07:00
Josip
4ffc5e3af4 add plugins/db/dbapi/settings.ini to setup 2016-11-12 15:01:15 +01:00
Sam Manzi
9f4cb97512
Fixes for install after removal of old LICENSE 2016-10-28 08:08:40 +11:00
Josip
c12562561b 7601: Support for Retina Display / HiDPI
GTK_ICON_SIZE_LARGE_TOOLBAR Size appropriate for large toolbars (24px)
2016-10-08 13:12:51 +02:00
kulath
ed830b2809 Fix build for database directory structure changes 2016-07-05 13:30:58 +01:00
Nick Hall
7fb8b0f155 Remove another redundant io import 2016-06-16 14:20:07 +01:00
Jérôme Rapinat
e9d6a2ffea 9453: While starting gramps, it fails to pop up "tips of the day" 2016-06-07 02:02:25 -07:00
Doug Blank
7b60b140c0 Version 5.0.0-alpha1 2016-06-04 07:24:40 -04:00
Ben Woods
7851d3bdfb Fix setup.py to remove the double '/' when building man pages
This was resulting in 'share/man//...' showing in the file list
generated for system packages.
2016-05-24 17:59:00 +01:00
Elliott Sales de Andrade
28b722b92d Clean up trailing whitespace. 2016-05-18 20:31:49 -04:00
Ross Gammon
c4106617ba 9443: Gramps not appearing in Gnome Software
I updated the appdata.xml file to the latest version of the specification
(https://www.freedesktop.org/software/appstream/docs/index.html), adding
some new tags in the process.

I also installed the appdata.xml file to the latest location in the
specification.

The XML has bene validated by the appstreamcli validation tool, and the
patch applied in Debian (Gramps 4.2.3).

If it looks OK, it should probably be cherry-picked to the gramps42
maintenance branch.
2016-05-08 15:13:46 +02:00
Sam Manzi
8694c7fcc7 7921 Move holidays.xml.in to data [refactor] 2016-04-16 16:38:43 +10:00
Ross Gammon
decefda7e5 7763: Remove remaining Sourceless Javascript Files 2016-04-13 07:42:18 +10:00
Sam Manzi
8dd80a61a1 9635 Add dbapi_support folders to setup.py for installs 2016-04-09 12:36:35 +10:00
Sam Manzi
b1cf276104 Add pypi classifier for Natural Language :: Icelandic 2016-03-03 19:26:39 +11:00
Paul Franklin
cc13810673 make setup.py typeout more accurate 2016-02-29 17:25:16 -08:00
Doug Blank
831330b6d0 Moved Django templates out of gramps 2016-01-08 18:54:25 -05:00
Doug Blank
7aa7f26bbb Removed webapp to django-webapp project 2016-01-06 15:24:27 -05:00
Doug Blank
ab67c786b0 Remove setuptools flag 2015-12-21 17:12:30 -05:00
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