1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-07-10 21:51:08 +03:00

Updated for using Python 3.7 throughout

Also 'Packaging for distribution' doesn't even belong here.
Athanasius 2020-07-06 16:37:39 +01:00
parent b854e6d351
commit 296390b014

@ -5,17 +5,17 @@ Download and extract the [latest source code](https://github.com/Marginal/EDMark
Mac:
* Requires the Python “requests” and “watchdog” modules, plus an up-to-date “py2app” module if you also want to package the app - install these with `easy_install -U requests watchdog py2app` .
* Requires Python 3.7 and the Python “keyring”, “pyobjc”, “requests” and “watchdog” modules - install these with `pip3.7 install keyring pyobjc requests watchdog`.
* Run with `python ./EDMarketConnector.py` .
Windows:
* Requires Python2.7 and the Python “requests” and “watchdog” modules, plus “py2exe” 0.6 if you also want to package the app.
* Requires Python 3.7 and the Python “keyring”, “requests” and “watchdog” modules - install these with `pip3.7 install keyring requests watchdog`
* Run with `EDMarketConnector.py` .
Linux:
* Requires Python2.7 and the Python “iniparse”, “requests” and "tkinter" modules.
* Requires Python 3.7 and the Python “requests” and "tkinter" modules.
- On Debian-based systems install these with `sudo apt-get install python-iniparse python-requests python-tk` .
- On Arch, install these with `sudo pacman -S python2 python2-requests tk; sudo easy_install-2.7 iniparse` .
* Run with `./EDMarketConnector.py` .
@ -49,23 +49,6 @@ The program returns one of the following exit codes. Further information may be
<li>Server is down.</li>
<li>Invalid Credentials.</li>
<li>Verification Required.</li>
<li>Not docked. You have requested station data but the user is not docked at a station.</li>
<li>Server is lagging.</li>
<li>I/O or other OS error.</li>
</ol>
Packaging for distribution
--------
Mac:
* requires py2app 0.9.x
* [Sparkle.framework](https://github.com/sparkle-project/Sparkle) installed in /Library/Frameworks
* Run `setup.py py2app`
Windows:
* requires py2exe 0.6.x
* winsparkle.dll & .pdb from [WinSparkle](https://github.com/vslavik/winsparkle) copied to the current directory
* [WiX Toolset](http://wixtoolset.org/)
* Run `setup.py py2exe`