briefcase icon indicating copy to clipboard operation
briefcase copied to clipboard

windows support

Open glyph opened this issue 11 years ago • 15 comments

'nuff said

glyph avatar Sep 17 '15 02:09 glyph

Yup - completely agreed. The approach isn't quite as obvious under Windows as it is under OS/X, but Windows should absolutely be supported (as should Linux)

freakboy3742 avatar Sep 17 '15 02:09 freakboy3742

FYI - I'm going to make an attempt at Windows support. (Glyph and I discussed this a couple of days ago)

jamesabel avatar Sep 18 '15 17:09 jamesabel

BTW, I've written a separate Windows "freezer" - see https://github.com/latusrepo/wosnap . I didn't try to integrate it with anything else since I think it's rather ugly. But it works for my historically difficult app that uses things like PySide and cryptography.

jamesabel avatar Oct 13 '15 21:10 jamesabel

@latusrepo - wow, this is pretty cool. would it make sense for Briefcase to be a "front-end" to wosnap, to provide a consistent interface with other platforms, but just call into wosnap to do the actual freezing?

glyph avatar Oct 14 '15 00:10 glyph

Sure, I can work on that. I'll give it a go before the next SF Python project night, if not sooner. :)

jamesabel avatar Oct 14 '15 00:10 jamesabel

You might want to look at pynsist or even cooperate with the author. It does a great job at creating an installer which bundles the Python interpreter and stdlib.

pynsist requires specifying the dependencies manually. It would be nice of it could use pip to resolve dependencies automatically, like briefcase does.

I'm not familiar with wosnap or osnap, but I'll check it out.

brechtm avatar Oct 13 '16 10:10 brechtm

Yes, osnap is what I'm developing now (wosnap was an experiment that's now deprecated). If you have any problems with osnap feel free to open an issue or message me. Yes I know Thomas Kluyver - he's been a great help. At some point we may want to incorporate osnap and/or pynsist into briefcase. I know it's several months out, but perhaps we could sprint on this at PyCon if people are going.

jamesabel avatar Oct 13 '16 18:10 jamesabel

Consider this another +1 for Windows support in Briefcase. I found my way here via HackerNews and Briefcase (+beeware) seems like a really good approach to native apps with Python.

ghost avatar Oct 16 '16 21:10 ghost

another +1. I would make a strong argument for use here at work except that most of our users use windows.

johnscancella avatar Oct 19 '16 11:10 johnscancella

Another +1, just heard about pyBee on reddit and since my current cx_freeze via esky setup is now obsolete (esky is unmaintained) I'm looking at the current scene wondering if I should try pyInstaller or something else. I'll have to check out osnap.

flutefreak7 avatar Feb 16 '17 06:02 flutefreak7

Hi @flutefreak7 - if you let me know what platforms are you targeting (e.g. Win, MacOS, etc.) and what package dependencies do you have (e.g. what's in your requirements.txt) I might be able to direct you to the appropriate tool.

jamesabel avatar Feb 16 '17 07:02 jamesabel

Targeting Windows, and dependant on pyside / PyQt, matplotlib, numpy, scipy, pandas, and other related libraries like seaborn, statsmodels, and pyqtgraph.

flutefreak7 avatar Feb 19 '17 06:02 flutefreak7

I'd suggest trying pynsist ( https://pynsist.readthedocs.io ). But eventually I hope we get all of that functionality into briefcase. :) BTW, here's my tiny but effective test case for freezers/installers: https://github.com/jamesabel/spafit

jamesabel avatar Feb 19 '17 07:02 jamesabel

wahajahmed010 avatar Oct 29 '26 09:10 wahajahmed010

@wahajahmed010 Please stop posting blank comments, otherwise we'll have to block you from the project.

mhsmith avatar Oct 29 '26 16:10 mhsmith