Commit Graph

79 Commits

Author SHA1 Message Date
Tomas Groth
e7526f1e59 merge trunk 2018-10-30 20:46:55 +01:00
Bastian Germann
53d93bff5b Do not export any tests* module, but include them only in sdist
bzr-revno: 2840
2018-10-28 20:46:42 +00:00
Bastian Germann
820476767f Do not export any tests* module 2018-10-27 23:31:14 +02:00
Bastian Germann
6aa998edd0 Replace PyICU with PyQt's QCollator
Use QCollator as new collator to get rid of the PyICU dependency.
Simplify the natural sorting with its numeric mode.
Simplify one test that is heavily dependent on implementation.
Run one sorting test on macOS which was disabled.
2018-10-27 12:50:15 +02:00
Tomas Groth
0e24bf9017 Update dependencies to fit webengine 2018-10-25 21:02:49 +02:00
Philip Ridout
a867c54b94 HEAD 2018-10-24 22:02:06 +01:00
Bastian Germann
0484d0bf23 Move the openlp.__main__ module to run_openlp 2018-10-16 22:07:00 +02:00
Bastian Germann
f0fb9e773d no mandatory icu for tests 2018-10-16 09:09:18 +02:00
Bastian Germann
ba01cd35e1 Optionally depend on launchpadlib 2018-10-13 00:11:04 +02:00
Bastian Germann
e124229040 Try to fix CI 2018-10-11 20:25:53 +02:00
Bastian Germann
5f23d3adea Use appdirs instead of pyxdg
appdirs is used for all systems except Windows.
It has Windows support, so it could be used there as well.
2018-10-08 01:34:00 +02:00
Bastian Germann
ce6cb838da pymediainfo's version 2.2 supports new XML 2018-10-07 18:53:10 +02:00
Bastian Germann
d1e1975394 Use upstream pymediainfo
Current pymediainfo versions load a DLL/so. Use a very thin
wrapper to make sure that the executable is used if the DLL
is not available.
2018-10-07 02:24:29 +02:00
Bastian Germann
9f6b03047b Support running ./setup.py test
setuptools can run tests. Use nose2 to run the tests.
If it is not installed on your system, it is downloaded
and temporarily used.
2018-10-06 22:49:13 +02:00
Bastian Germann
6edd85146d test_get_locale_key needs PyICU 2018-10-06 21:04:09 +02:00
Bastian Germann
1574ecd4f3 Add the optional pyxdg module 2018-10-05 09:26:18 +02:00
Bastian Germann
41bd1d9bb8 Raise minimum Python version to 3.6 2018-10-05 09:24:47 +02:00
Bastian Germann
0b1ba4ba6d Fix setup's requirements
Move the startup script so that its name does not
conflict with the openlp namespace.
Codify scripts/check_dependencies.py in setup.py.
The name on PyPI is used to declare the dependencies.
This is a first step to enable OpenLP distribution via
PyPI.

The differences are:
* pyenchant and pyodbc are declared optional because
  they are optional in the code and pyenchant is not
  maintained anymore.
* pyenchant's required version is set to 1.6 not only
  for windows. This version is quite old.
* The 5.0 version checks for PyQt5 are left out because
  this is the first version anyway.
* LibreOffice's uno does not exist on PyPI
* sqlite3, asyncio and mock are available in Python
  >= 3.4 anyway and not noted as dependencies.
* six is not defined as dependency because the code
  should be py3 only.

The situation with regards to platform wheels being
published looks quite promising.
As Linux users typically install via their package
manager wheel availability is not as import for them
as for Win or Mac users.
Both of them are available for most dependencies with
native extensions.
The few exceptions:
* PyICU does not publish any platform wheels.
  More info: https://github.com/ovalhub/pyicu/issues/79
* mysql-connector-python does not publish win32 wheels.
* pyenchant does not publish win64 wheels.

The wheels are typically available for Py=2.7 and Py>=3.4,
although some (mysql-connector-python, PyQt5, pywin32)
need Py>=3.5
2018-10-03 01:19:49 +02:00
aa3b0c4bcc HEAD 2018-10-01 21:39:42 -07:00
be4795fba0 Added merge proposal script; updated version style again 2018-08-21 22:04:11 -07:00
a6f8909d72 Move to using a PEP 440 compliant version number 2018-08-21 21:05:22 -07:00
Tim Bentley
41f35f52e3 End of 2017 2017-12-29 09:15:48 +00:00
Tim Bentley
74ca42e220 Yet another year goes by 2016-12-31 11:01:36 +00:00
Tim Bentley
6729ea9d19 move file 2016-04-05 19:33:50 +01:00
Tim Bentley
3a8b068af8 Year older 2015-12-31 22:46:06 +00:00
Phill Ridout
051db41e20 removed python3 string 2015-01-22 17:42:29 +00:00
ffcea13021 Updated the copyright. 2015-01-18 15:39:21 +02:00
Tim Bentley
f3c09af379 Years go by 2014-12-31 10:58:13 +00:00
551a10d311 Added and updated tests:
- Refactored FirstTimeForm to use an initalise() method, in order to be more testable
- Rewrote FTW tests to test initialise()
- Refactored TestMixin get_application() to setup_application() since it doesn't actually return an application object
- Refactored ListPreviewWidget to make it more testable
- Wrote tests for ListPreviewWidget
- Refactored FormattingTagsForm somewhat
- Updated FormattingTagsForm tests

Updated setup.py with some Python3 changes.
2014-10-22 22:43:05 +02:00
9d572fd4c4 The code in setup.py was written at around the time Noah got off the ark. Python 3 does not have a "cmp" function, nor does sorted() have a "cmp" parameter. Lose the extras that we don't need any more. 2014-10-09 23:03:04 +02:00
Tim Bentley
3f889e08d4 Fix setup.py 2014-07-02 20:34:28 +01:00
Tim Bentley
7d2f8fa6cd Fix setup.py 2014-07-01 22:10:26 +01:00
Tim Bentley
c38c576f94 test fixes 2014-04-02 19:51:21 +01:00
Tim Bentley
9610be5cd0 Fix up comments 2014-03-17 19:05:55 +00:00
Tim Bentley
6d8b5cadb4 Lib cleanup and 2014 2013-12-24 08:56:50 +00:00
Jeffrey S. Smith
74e5bcf500 Update helper scripts to Python 3 2013-09-06 20:40:48 -05:00
Andreas Preikschat
3e1a863bae 2to3 and resources.py 2013-08-31 20:17:38 +02:00
Andreas Preikschat
7f541327ca changed to 120 chars 2013-07-18 21:28:35 +02:00
9bf7284b94 HEAD 2013-06-23 17:29:16 +02:00
Andreas Preikschat
43326c5781 fixed code 2013-06-06 08:40:10 +02:00
Andreas Preikschat
1e8ad4ab7e fixed setup.py 2013-04-16 19:56:06 +02:00
d88e8a0b02 Migrated to Alembic (if you'll excuse the pun) 2013-04-03 21:46:41 +02:00
Tim Bentley
b83b6eccd1 Head and merge failures 2013-02-03 16:40:39 +00:00
Tim Bentley
4a0b3f90aa 2013 is comming 2012-12-29 20:56:56 +00:00
Raoul Snyman
4e03451db7 Pulled natural sorting methods out from the try (no real reason for them to be in there) and moved "try_int" to outside the other method (then it is only compiled once). 2012-07-09 19:56:02 +02:00
Raoul Snyman
14088e71bb Implement natural sorting so that our version number is correct. 2012-07-08 21:46:40 +02:00
Samuel Findlay
4510fdbede Added three names in Copyright headers and About window (Samuel Findlay, Edwin Lunando, Dave Warnock). Fixed consistency issues. 2012-06-23 00:14:53 +10:00
Tim Bentley
9267af01eb Fix Fedora validation 2012-03-25 07:26:12 +01:00
Tim Bentley
2a5e8935bb New year merge 2011-12-27 10:33:55 +00:00
Tim Bentley
608910a098 Fix name 2011-06-12 17:02:52 +01:00