07th-mod / 07th-mod/python-patcher
Depreciating Python 2 / Use pyinstaller/py2app for MacOS builds
- Lenguaje dominante
- JavaScript
- Estrellas
- 214
- Forks
- 12
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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.
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
El issue trata sobre crear un instalador independiente para macOS usando pyinstaller o py2app para reemplazar el instalador actual que depende de Python 2. Comience examinando el código del instalador existente para comprender su flujo de escritura de archivos y ejecución. Pruebe construir una aplicación independiente simple con pyinstaller en un entorno macOS, posiblemente usando GitHub Actions. 'Hecho' significa un instalador independiente que funcione y no rompa la funcionalidad existente, lo que requiere pruebas exhaustivas de las operaciones de archivos.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- github-actions, macos, python
- Área
- build-system, cli, release
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100