GliderGeek / PySoar

Gliding competition analysis
http://www.pysoar.com
GNU General Public License v3.0
17 stars 7 forks source link

How to build an executable from the sources #130

Closed hnpilot closed 5 years ago

hnpilot commented 6 years ago

Hi

I would like to create a new version for a competition in run. The problem is that pysoar (or rather opensoar) skips the HC pilots. I found the HC string in opensoar library for competitors to be eliminated, but I found no way to build the software. I am quite familiar in programming and moderately so also in python, but haven't ever built anything as an executable (ie everything is command line so far) and the documentation of pysoar is (to say it gently) quite sparse especially in this regard ;) I tried to utilize PyInstaller but couldn't figure out, what to put after the command (or yes, I did but I wouldn't like to give the embarrassing details out, as they didn't succeed). I am developing it on Windows 10 64-environment. Would it be possible to provide small examples of the build process after the pip install that I eventually got working? wbr hn

GliderGeek commented 6 years ago

There is a build script which can be run directly with python: https://github.com/GliderGeek/PySoar/blob/master/PySoar/standalone/build.py

Simply run: python build.py in the folder.

The documentation is indeed very limited. Would you be willing to create a pull request for the necessary build steps?

GliderGeek commented 6 years ago

@hnpilot: did you manage to build an executable?

hnpilot commented 6 years ago

Sorry. Didn't have more time as we flew all the days after that ;) I will look at it next week..Wbr hannu

GliderGeek commented 6 years ago

@hnpilot : i'm thinking bout removing the filtering on HC pilots. can you give an example competition which i can use for testing?

hnpilot commented 6 years ago

Räyskälä Masters from last week. Both Racing and Open classes had HC contestants

https://www.soaringspot.com/en_gb/rayskala-masters-2018-rayskala-2018/

wbr

hannu

GliderGeek commented 5 years ago

@hnpilot: i have added build instructions to the readme if you're interested.