1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-14 08:17:13 +03:00

65 Commits

Author SHA1 Message Date
Athanasius
9e1ffc14c8 setup.py: Reference EDMC.manifest ready for its creation
We'll want to do the same "use the UTF-8 codepage" thing here.
2020-09-22 14:54:39 +01:00
Athanasius
717253e7fa setup.py: Add 'dataclasses' and 'timeout_session'
These are needed for latest inara.py plugin code.
2020-09-07 18:02:06 +01:00
A_D
8483b04923 Removed keyring dependency
This remove all dependencies on the keyring lib, updates the
requirements.txt to reflect that, and ensures that setup.py does not
attempt to package it.

Any use of the "old" keyring code will now return None and warn about
its deprecation.
2020-07-30 08:52:07 +01:00
Athanasius
560ac5f81a Semantic Version support: py2exe & WinSparkle
* py2exe only supports Major.Minor.Patch(.Revision), so pass only
Major.Minor.Patch to it.  'File version' of generated EXEs will have
a `.0` appended as .Revision.

* Set 'product_version' in py2exe with the full version string.  This
ends up in the EXE 'Product version' property.

* WinSparkle accidentally suppoorts semver -prerelease correctly, but
not +buildmetadata.  So trim the latter off and set that as the version
for checks.
2020-07-19 11:45:06 +01:00
Athanasius
7e888f5924 Add Changelog.md to distributed files. 2020-07-13 12:30:48 +01:00
Athanasius
3b233771ff setup.py: Use APPNAME, not APP, for product_name
'product_name' is used by WinSparkle to determine the Registry path it uses.   APP is
'EDMarketConnector.py' not the 'EDMarketConnector' that APPNAME is.  This having changed
causes a new popup from WinSparkle on first run of post-3.46 asking about whether to enable
auto update checks.

3.99.0.0 testers will gave to put up with it on first run.
2020-07-01 18:14:17 +01:00
Athanasius
314fc7082d Implements 'Help > About' menu item
* Re-uses the 'About {APP}' that was defined because the MacOS version
   always had an 'About' bit.
 * As a side effect of wanting the copyright string in the popup this is
   now defined in config.py, and setup.py has been adjusted to also take
   it from there.
 * The About popup includes a link to the release notes, contingent on
   the git tag existing on github.
 * Only one instance of the popup is allowed at once.
 * There's still a 'TODO' for moving 'Check for updates' into this
   popup.

Addresses issue #509
2020-07-01 15:44:20 +01:00
Athanasius
e4eb86d3b5 Switch setup.py over to using full version string throughout.
* .msi filename now uses full A.B.C.D version
 * Git tag is assumed to be rel-A.B.C.D

Switched the entire appcast.write() formatting to using named tags, no
need to remember positions now.

Addresses part of #523
2020-06-28 15:52:32 +01:00
Jonathan Harris
6e8f667daa Fixes for Sparkle & WinSparkle updating 2020-06-21 16:32:08 +01:00
Jonathan Harris
413865e4d1 Packaging cleanups 2020-06-21 16:31:42 +01:00
Jonathan Harris
bddbb913a5 Build a standalone app on MacOS 2020-06-21 16:31:41 +01:00
Jonathan Harris
14ed4bd888 Revert some non-Python3 related changes 2020-06-21 16:31:40 +01:00
Jonathan Harris
3c46e8d5fa All executable files invoked with #!/usr/bin/env python3 2020-06-21 16:28:30 +01:00
Athanasius
5560cb9ec6 exe: Updating setup.py with minimal changes to work under py2exe 0.9.3.2 2020-06-21 16:28:09 +01:00
Athanasius
1f1946f80d Force inclusion of sqlite3.dll
*) There's a bug in py2exe meaning sqlite3.dll doesn't get pulled in
    by listing it in packages.  So we fudge it, assuming it's in
    <sys.base_prefix>/DLLs/sqlite3.dll (which is the case for Python 3.2
    32-bit on Windows).

    Bug report filed:

    	<https://github.com/albertosottile/py2exe/issues/23>

  *) Adds sqlite3.dll back into .wxs file
2020-06-21 16:24:15 +01:00
Athanasius
cc9779f4c2 Changes additional copyright from 'Athanasius' to 'EDCD'.
Spansh confirmed this was OK on EDCD Discord.
2020-06-17 17:14:34 +01:00
Athanasius
4ee1510862 Updates build config for EDCD, tweaked copyright, and latest WiX
* Change instances of 'Marginal' to 'EDCD'.  Including github URLs.
  * Update SDKPATH and WIXPATH to the latest versions.
  * Removes un-necessary attempt at including VCredist file.  This isn't
    needed on any Windows 10 version that is vaguely current (tested on
    1909).
  * Adds the following to the EDMarketConnector.wxs <Product Id ...>
    section so that any new version definitely replaces any older one:

    	InstallScope="perMachine"

    without this it defaults to a per-user install, and you end up with
    the prior Marginal-era EDMC allegedly still installed as well, even
    though they're installed into the same path.
    See commit 1beca864d362625f983cc9465125124ffada4ae2 in the python3
    branch.
  * Appends ", 2020 Athanasius" to the copyright notices in setup.py.
    This will likely change to ", 2020 EDCD" pending EDCD Council
    approval.
2020-06-17 16:42:17 +01:00
Jonathan Harris
478cee5c6a Update copyright dates 2019-05-02 00:08:40 +01:00
Jonathan Harris
3b321df6b0 Use "Euro Caps" font with transparent theme
Addresses #412
2019-04-07 14:56:58 +01:00
Jonathan Harris
4afeaccfdc Less verbose 2019-01-10 14:14:06 +00:00
Jonathan Harris
f17f5d3f25 PKCE OAuth2 access to cAPI 2018-12-28 03:32:26 +00:00
Jonathan Harris
cc4390de49 Switch EDDN integration to a plugin 2018-11-18 01:52:05 +00:00
Jonathan Harris
8c01c580a0 Release 3.11 2018-08-02 20:20:08 +01:00
Jonathan Harris
6bffcf473e Also fixup rare commodities 2018-08-01 00:23:47 +01:00
Jonathan Harris
0eaa61bdd9 Make system and station info websites configurable 2018-04-03 01:03:07 +01:00
Jonathan Harris
3add73a496 Use correct sparkle:os value on macOS for Sparkle>=1.18.1 2018-03-01 02:57:54 +00:00
Jonathan Harris
9c8a3d628a Handle hard dependency on certifi in requests>=2.16 2018-03-01 02:57:54 +00:00
Jonathan Harris
ab7850bb2d Add Inara plugin 2017-11-12 04:04:52 +00:00
Jonathan Harris
c2a17e60ca Collate commodities indexed by id and including symbolic name
Use collated info in export to older tools.
2017-09-23 12:58:53 +01:00
Jonathan Harris
71734d24b7 Include shutil, sqlite3 and zipfile for plugins on Windows 2017-08-19 16:03:39 +01:00
Jonathan Harris
85ee02a1ed Exclude some more unneeded packages 2017-08-16 19:13:20 +01:00
Jonathan Harris
b206015eef Put plugins and strings in their own folders in packaged app
Load plugins with name 'plugin_*' in order to not pollute the global namespace.

Addresses #230
2017-08-16 14:36:12 +01:00
Jonathan Harris
0819465c55 Release 2.35 2017-07-29 16:22:36 +01:00
Jonathan Harris
e810b87dd4 Switch EDSM integration to a plugin 2017-07-29 15:36:44 +01:00
Jonathan Harris
fe0835be10 Switch eddb integration to a plugin 2017-07-29 14:42:00 +01:00
Jonathan Harris
ae5356a028 Use CA certs from requests not certifi
Fixes #194
2017-04-18 02:02:02 +01:00
Jonathan Harris
a3949c17c8 Use keyring for password storage
Fixes #89
2017-01-27 13:38:40 +00:00
Jonathan Harris
8bb09cc773 Fix signature verification on OSX with SIP 2016-11-22 23:43:24 +00:00
Jonathan Harris
28e3b87707 Relaunch app after upgrade on Windows.
Fixes #93 on Windows.
2016-02-25 19:44:30 +00:00
Jonathan Harris
2263bfff77 Set explicit heading size in OSX appcast. 2016-02-07 18:50:41 +00:00
Jonathan Harris
c5b2c4b34c Add mass and range to E:D Shipyard and Coriolis.
Means that these files can be directly loaded into ETN.
2016-01-28 12:32:26 +00:00
Jonathan Harris
1fa4ae279f Add Latvian translation courtesy of Cmdr bubis7. 2015-12-30 17:08:19 +00:00
Jonathan Harris
0a2019937f Also check for new versions when running from source. 2015-12-18 05:20:31 +00:00
Jonathan Harris
cc25e4da75 Build main scripts optimized on Windows.
Partially reverts c36ce2a.
2015-12-18 05:20:31 +00:00
Jonathan Harris
b0f60af38d Add command-line program. 2015-11-07 05:08:49 +00:00
Jonathan Harris
d14608ae40 Build win32 using tools from Windows Kit 8.1. 2015-10-26 16:53:45 +00:00
Jonathan Harris
7f92108f4a Fix audio resources on OSX. 2015-09-14 00:17:37 +01:00
Jonathan Harris
c3f8aaa8f4 Merge branch 'EDSM+EDDB' 2015-09-12 04:16:56 +01:00
Jonathan Harris
9273e1e3d7 Add hotkey/shortcut support. 2015-09-12 04:03:12 +01:00
Jonathan Harris
b82c186d34 Make system and station names clickable and send to EDSM and eddb respectively. 2015-09-06 02:37:14 +01:00