Commit Graph

113 Commits

Author SHA1 Message Date
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
Raoul Snyman aa3b0c4bcc HEAD 2018-10-01 21:39:42 -07:00
Raoul Snyman be4795fba0 Added merge proposal script; updated version style again 2018-08-21 22:04:11 -07:00
Raoul Snyman 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
Raoul Snyman 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
Raoul Snyman 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
Raoul Snyman 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
Raoul Snyman 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
Raoul Snyman 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
Tim Bentley c812770153 Copyright fixes 2011-06-12 16:41:01 +01:00
Tim Bentley acdbefd922 Fixes 2011-05-26 18:11:22 +01:00
Tim Bentley 8f6ed366a1 Copyright updates 2011-05-26 17:25:54 +01:00
Raoul Snyman 7669643774 Updated the copyright notice, adding Jeffrey Smith back in after he accidentally got removed somewhere somehow. 2011-05-24 22:47:05 +02:00
Raoul Snyman efbcfd0772 Updated copyright information. 2011-03-24 21:04:02 +02:00
Raoul Snyman a5d97c6e27 Add the .png files to the package and set OpenLP's classification. 2011-03-19 09:20:20 +02:00
Raoul Snyman 780a87e840 Updated copyright information. Removed .eric4project directory from version control. 2011-02-24 07:47:38 +02:00
Tim Bentley 7369a0391c Fix setup.py 2011-02-04 16:41:02 +00:00
Tim Bentley e77ce3ffdb Bump values by 1 version or year 2010-12-26 11:04:47 +00:00
Jon Tibble 37b2304eeb Trailing new lines 2010-07-27 10:32:52 +01:00
Raoul Snyman 2f2b339863 Update the copyright notice. 2010-07-25 00:10:47 +02:00
Tim Bentley 7542865380 Fix indentation 2010-04-10 16:46:45 +01:00
Tim Bentley aa7371eabf Fedora fixes 2010-04-09 20:15:26 +01:00
Raoul Snyman ea5ceaf00a Updated copyright.
Updated credits.
2010-03-22 01:58:01 +02:00
Jon Tibble e0875fa90e Import fixes 2010-02-26 20:22:34 +00:00
Michael Gorven 57f685cc60 Specify correct directory. 2010-02-23 17:52:38 +02:00
Michael Gorven 7f8c6b6fdd Install scripts as scripts. 2010-02-23 17:49:39 +02:00
Michael Gorven 3b0970d773 Make setup.py executable. 2010-02-23 17:45:26 +02:00
Michael Gorven a0e56c0d85 Include proper vesion file in tarball and fix reading thereof. 2010-02-23 17:45:06 +02:00
Raoul Snyman 0126d3fc77 Merged from trunk.
Version numbers are now pulled from tags, and some fancy footwork is done around that too.
Version numbers are saved to a version file too.
2010-02-22 20:47:29 +02:00
Raoul Snyman 7efd037024 Pull the version number from the tag. 2010-02-19 21:17:32 +02:00
Raoul Snyman 77e55da0d3 Pulling in the tags and the revision number from bzr. 2010-02-19 21:14:39 +02:00
Raoul Snyman 33d0227041 Working on a "Source Distribution" - aka source tarball 2010-02-14 23:20:13 +02:00
Raoul Snyman b4b075c961 Updated copyright year. 2009-12-31 14:52:01 +02:00
Raoul Snyman f5bee07341 Added Michael to the copyright notice.
Fixed a bug where Media Manager item toolbar buttons were becoming toggle buttons.
Cleaned up config settings.
Miscellaneous other bugfixes.
2009-11-30 22:29:26 +02:00
Raoul Snyman a6d8813a50 Merge from HEAD, started changing the copyright to include Michael Gorven. 2009-11-29 22:30:41 +02:00
Raoul Snyman fb9914fb08 Changed the license info from docstrings to normal comments. 2009-09-08 21:58:05 +02:00
Jon Tibble 5f2960a9ed Fixed carriage returns 2009-08-27 15:02:00 +01:00
Raoul Snyman 3ad3a14ffb Added setup.py
Added PluginConfig
Updated ConfigHelper
Updated Bible plugin to use plugin config object

bzr-revno: 171
2008-12-03 10:57:34 +00:00