Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python versions #15

Closed
KmolYuan opened this issue Aug 16, 2018 · 2 comments
Closed

Python versions #15

KmolYuan opened this issue Aug 16, 2018 · 2 comments

Comments

@KmolYuan
Copy link
Contributor

PyInstaller

官方問題回報:pyinstaller/pyinstaller#3399

可攜的 Python 版本若為 3.7,目前測試 SWIG 與 Cython 的程式庫運作正常。

當前 3.7 無法包裝獨立可執行檔案,應等待 PyInstaller 支援。

AppImage

透過虛擬編譯測試:https://travis-ci.org/KmolYuan/Pyslvs-PyQt5

可在 Ubuntu 16.04 線上虛擬機中成功包裝 Python 3.7 的 AppImage。

並且在 Ubuntu 18.04 實體機測試包裝 Python 3.6 的 AppImage 成功。


另外 Pyslvs 18.08 中將提升版本需求為 Python 3.6,以支援 formatted string (PEP 498)。

@mdecourse
Copy link
Contributor

下學期的可攜系統分別使用 Python 3.6.5 (Qt)與 Python 3.7.0 (p37)

可攜系統: https://bit.ly/2vPAog6

其中 p37 在製作時, 無法直接安裝 pyqt5-tools, 而是使用 Python 3.6.5 中的目錄內容.

Qt 解開後需要 21GB, 包含 Qt Creator, 除了可以開發 Qt5 視窗程式外, 也能支援最新的 mobile 觸控程式.

@KmolYuan
Copy link
Contributor Author

KmolYuan commented Sep 12, 2018

Pyslvs 已正式支援 Mac OS (KmolYuan/Pyslvs-UI#17)。

Mac OS 的獨立可執行檔案使用 PyInstaller 包裝,不過將會打包成兩種格式:Unix executable file 和 app format。

  • Unix executable file 在檔案瀏覽器 Finder 中得使用 Bash 執行。
  • app format 可以使用 open 執行(同在 Finder 中點擊),但是無法用 bash 執行(因為是壓縮檔),導致無法下參數,可做為 release 版本發布。

@pyslvs pyslvs closed this as completed Oct 7, 2018
Repository owner locked and limited conversation to collaborators Oct 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants