Commit Graph

105 Commits

Author SHA1 Message Date
Simon Hanna
ef2f798f6f Update remote API to use Flask, and be more RESTful 2020-01-27 22:57:58 +00:00
Tim Bentley
6ea4893ad6 Change Year
Signed-off-by: Tim <tim.bentley@gmail.com>
2020-01-01 02:53:08 +00:00
771e97862f Add distribution detection in is_linux() function
- Optional argument to check Linux distro
- Add a test for the new argument
- Add some other tests to expand test coverage
- Remove Windows from testing
- If "distro" module is missing, create a replacement that returns False
2019-12-04 18:15:24 +00:00
1e76868a23 Remove vim lines from files and add a .editorconfig for editors that support it 2019-10-10 15:28:16 +00:00
Bastian Germann
7e4a586a97 Synchronize dependencies 2019-09-21 13:14:23 +02:00
Bastian Germann
28f359281f Remove dead code 2019-09-21 13:14:23 +02:00
Bastian Germann
9f8181723d Generate .version from git 2019-09-21 13:14:23 +02:00
Benjamin Hoving
1da59bef0d Create a linting stage 2019-09-18 16:44:39 +00:00
Bastian Germann
22ae2d66b5 Use start script __main__.py which enables 'python -m openlp'
bzr-revno: 2899
2019-09-11 21:08:27 -07:00
38a6f1b2ca Use PyMySQL rather than MySQL Connector 2019-08-03 11:19:25 -07:00
50fcc9b5d5 Add zeroconf to AppVeyor and setup.py, broadcast on all valid interfaces, quit the thread properly 2019-07-02 13:29:42 -07:00
Bastian Germann
81e90c9047 Merge trunk 2019-06-09 18:16:24 +02:00
Bastian Germann
7288336ad4 Replace native test runner with pytest 2019-05-25 16:43:43 +02:00
Bastian Germann
df538b1d70 Remove nose2 references 2019-05-16 00:36:16 +02:00
Bastian Germann
685e46f623 Synchronize setup.py with check_dependencies 2019-05-15 22:46:10 +02:00
Bastian Germann
ddef29599f Use start script __main__.py which enables 'python -m openlp' 2019-05-09 00:06:09 +02:00
Bastian Germann
2ed038ee2e Make PyMuPDF mandatory for tests 2019-05-02 12:35:29 +02:00
Bastian Germann
a610133919 Introduce PyMuPDF as additional PDF controller 2019-05-01 10:39:01 +02:00
Bastian Germann
be1a398f7b License change to GPL-3.0-or-later 2019-04-13 15:00:22 +02:00
Bastian Germann
b5065ac3ca Make pylint happy 2019-04-02 19:09:18 +02:00
Bastian Germann
fa6f4d0c1f Specify platform deps with PEP508 2019-04-02 01:34:53 +02:00
Bastian Germann
61dc9f69da Correct setuptools requires 2019-04-02 00:44:08 +02:00
Phill
98f7c28d65 Add proxy settings to ftw. Option to skip sample data
bzr-revno: 2853
2019-03-28 22:03:32 +01:00
461ffeee3d Add xlib to test_requires for Linux 2019-03-26 09:55:02 -07:00
Philip Ridout
670c06db60 Add proxy settings button to FTW, ftw refactors, a few fixes! 2019-02-27 21:12:16 +00:00
Tomas Groth
fa4ec96054 Updated to 2019 in copyright headers 2019-02-14 16:09:09 +01:00
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