07th-mod / 07th-mod/python-patcher
Depreciating Python 2 / Use pyinstaller/py2app for MacOS builds
- Linguagem predominante
- JavaScript
- Estrelas
- 214
- Forks
- 12
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
As you've probably noticed, the installer breaks fairly often due to making a change which works on Python 3, but which doesn't work on Python 2.
We've been supporting Python 2 for MacOS users, as Python 2 comes pre-installed for them, and we don't want to make them install Python 3 on their system (it would complicate the install process, and also may alter their system setup)
One way around this would be to use a tool like [pyinstaller](https://www.pyinstaller.org/) or [py2app](https://py2app.readthedocs.io/en/latest/) to generate a standalone installer/app which the user can just run. However doing so would probably require quite a bit of testing, as I suspect some things our installer currently does (like writing to a folder adjacent to the executable) will break in this configuration.
While developers on Windows/Linux can't do the builds on their own computers, Github Actions supports MacOS as an environment, so once it's setup properly it should be OK to maintain.
I'm mainly opening this issue in case any MacOS users/developers want to figure out some distribution method for the installer on MacOS. It probably won't happen any time soon, but I thought I should at least make an issue for it.
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Direção de pesquisa
A issue trata da criação de um instalador autônomo para macOS usando pyinstaller ou py2app para substituir o instalador atual dependente do Python 2. Comece examinando o código do instalador existente para entender seu fluxo de gravação e execução de arquivos. Teste a construção de um aplicativo autônomo simples com pyinstaller em um ambiente macOS, possivelmente usando o GitHub Actions. 'Concluído' significa um instalador autônomo funcional que não quebra a funcionalidade existente, exigindo testes completos das operações de arquivo.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- github-actions, macos, python
- Domínio
- build-system, cli, release
- Tipo de issue
- Funcionalidade
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 35/100