Git Product home page Git Product logo

Comments (18)

wblumberg avatar wblumberg commented on July 19, 2024

Tossing this idea out: we can distribute SHARPpy through the Mac App store?

from sharppy.

keltonhalbert avatar keltonhalbert commented on July 19, 2024

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.

keltonhalbert avatar keltonhalbert commented on July 19, 2024

Since we will be releasing v1.2 without this functionality, removing it from the milestone

from sharppy.

wblumberg avatar wblumberg commented on July 19, 2024

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.

keltonhalbert avatar keltonhalbert commented on July 19, 2024

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.

keltonhalbert avatar keltonhalbert commented on July 19, 2024

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.

keltonhalbert avatar keltonhalbert commented on July 19, 2024

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.

wblumberg avatar wblumberg commented on July 19, 2024

An idea...the other website/cleaner looking one could link directly to the binaries and we could direct people there.

from sharppy.

wblumberg avatar wblumberg commented on July 19, 2024

Perhaps we have a "research" branch and "operational" branch? Or basic user branch or advanced user branch?

from sharppy.

keltonhalbert avatar keltonhalbert commented on July 19, 2024

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.

wblumberg avatar wblumberg commented on July 19, 2024

Exciting!

from sharppy.

wblumberg avatar wblumberg commented on July 19, 2024

@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.

aarande avatar aarande commented on July 19, 2024

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.

wblumberg avatar wblumberg commented on July 19, 2024

That's a good point Aaron. I sometimes forget virtual machines are a possibility. Haven't needed to run one in years.

from sharppy.

keltonhalbert avatar keltonhalbert commented on July 19, 2024

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.

wblumberg avatar wblumberg commented on July 19, 2024

Add OS X Mavericks to that too. That's what I have on my laptop.

from sharppy.

keltonhalbert avatar keltonhalbert commented on July 19, 2024

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.

keltonhalbert avatar keltonhalbert commented on July 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.