Comments (18)
Tossing this idea out: we can distribute SHARPpy through the Mac App store?
from sharppy.
It is an idea I have tossed around, but I am not sure what sort of hoops/copy right stuff we would have to work out before doing that. Obviously we would not be charging for the program, but I am not entirely sure how the Mac App Store works. Perhaps talking to Zac Flaming would be a good start.
from sharppy.
Since we will be releasing v1.2 without this functionality, removing it from the milestone
from sharppy.
Website with some info on doing this for OS X.
https://plashless.wordpress.com/2013/05/01/python-pyside-qt-pyinstaller-apps-on-osx/
from sharppy.
Given the inundation of questions regarding installation from non-python savvy users, I've been spending some time working on this problem. I'll report back if I figure anything out.
from sharppy.
So, it looks like it's going to be rather tedious to pull this off. Our database files, such as SARS, PWV, shapefiles, etc, are problems. py2app puts these in a zip folder that cannot be opened, and pyinstaller doesn't find them easily either.
Currently trying to think of the best way of handling this. One option is having a binary branch that has the paths to these things binary relative, but then it may become a pain to manage these files between branches if they receive any updates.
from sharppy.
Scratch that - I have good news! I have the beginnings of a Mac OS X binary that is functional using PyInstaller. I think we can have a working Windows/Mac OS X binary within a week or two.
from sharppy.
An idea...the other website/cleaner looking one could link directly to the binaries and we could direct people there.
from sharppy.
Perhaps we have a "research" branch and "operational" branch? Or basic user branch or advanced user branch?
from sharppy.
I don't think that will be necessary. It was a problem with the way py2app handled things.
With PyInstaller, I only have to make a few code changed to make it work - hardly necessary for two different branches. I can send you the example binary in a bit.
from sharppy.
Exciting!
from sharppy.
@tsupinie was a little uncertain about how we'd generate applications for other platforms, but he suggested that if we couldn't generate Windows apps from a Mac using PyInstaller, we could enlist other tech savvy colleagues who had other platforms to do this. We've already got OS X Yosemite, Mavericks, and Windows 7 between the three of us. Not sure what Linux you have.
from sharppy.
You could use Vagrant to really easily spin up some base Virtual Machines and build Linux Binaries or rpm's from those.
Aaron
Sent via the Samsung Galaxy Note® 4, an AT&T 4G LTE smartphone
-------- Original message --------
From: Greg Blumberg [email protected]
Date: 04/20/2015 3:32 PM (GMT-06:00)
To: sharppy/SHARPpy [email protected]
Subject: Re: [SHARPpy] Binary Distributions for OS X/Windows (#41)
@tsupinie was a little uncertain about how we'd generate applications for other platforms, but he suggested that if we couldn't generate Windows apps from a Mac using PyInstaller, we could enlist other tech savvy colleagues who had other platforms to do this. We've already got OS X Yosemite, Mavericks, and Windows 7 between the three of us. Not sure what Linux you have.
—
Reply to this email directly or view it on GitHub.
from sharppy.
That's a good point Aaron. I sometimes forget virtual machines are a possibility. Haven't needed to run one in years.
from sharppy.
I've created a branch that contains the necessary edits in the SHARPpy.py and data_sources.py files, and the necessary runtime files, in order to make an OS X binary. To compile requires having pyinstaller installed, which can be installed via 'pip install pyinstaller'. Then all you have to do is run 'pyinstaller SHARPpy.spec' in the runsharp folder, and it will put the binary in the 'dist' folder.
So far, the OS X binary has worked on Lion and Yosemite. I'll see if I can make it compile an EXE for Windows, and if it works, we can add the binaries to the release and let people know that they can download it this way.
from sharppy.
Add OS X Mavericks to that too. That's what I have on my laptop.
from sharppy.
I've just compiled a binary on my Windows 8.0 install on my laptop. I've sent @wblumberg and @tsupinie copies before we try a larger test audience.
from sharppy.
Alright. We've been testing these binaries on OS X and Windows 8 for some time, and they appear to be functional. Closing this issue as the binaries will be released around Monday.
from sharppy.
Related Issues (20)
- lhp calculation error
- [FEATURE] NUCAPS? HOT 14
- [BUG] When using the GFS model of sharppy to open Beijing, Shanghai and other Chinese regions, there is an error. There is no problem opening other regions such as the United States
- [BUG] Preferences window fails to open HOT 2
- Error could not figure out format custom sounding HOT 2
- [FEATURE] ACARS Soundings
- [BUG] name 'PYQT6' is not defined HOT 13
- Hodograph Issue HOT 1
- [BUG] app wont even run it either gives me a failed to execute warning or it prompts me a update message and crashed
- Convective Profile = NoneType HOT 3
- [BUG] Documentation issue - Interpreting GUI HOT 3
- CAPE Method Calculation Error
- [BUG] QTFont Error results in crashed SHARPpy GUI HOT 4
- upa files from weather.cod.edu/digatmos/upa/ HOT 4
- [BUG] SHARPpy Unable to Display Soundings on Ubuntu 18.04 - Crash in _getOutletWithProfile HOT 3
- [BUG] When selecting sounding source, GUI crashes, returning "QThread: Destroyed while thread is still running"
- [BUG]
- Errors in the Large Hail Parameter (LHP) calculation
- [BUG] mixed-layer parcel in parcelx and DefineParcel
- Question about mixed-layer parcel properties
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sharppy.