Le cambié el nombre a un par de funciones ya que help() es un comando incorporado de Python y banner() muestra texto igual que help(), por eso les antepuse el show.
Los comandos que mencioné arriba tienen un argumento para ejecutar el clear() al principio e incorporan las funciones pause() y clear(), así no se hacen "totems" de comandos en mpis.
Saqué todas las tabulaciones, ningun programa conocido usa tabulaciones. :grin:
Agregué un .gitignore desde gitignore.io que agrega un par de archivos más y quité los que ya no son necesarios.
Ahora el README, el script y el PKGBUILD dirigen a KernelPanicBlog/MPIS y no al nombre antiguo.
El setup.py dentro del PKGBUILD tiene una flag recomendada por los empaquetadores de Arch (--optimize=1).
Hay una nueva funcion (mkopts) para reemplazar a las listas con distintas opciones de la misma palabra (["e", "exit", "Exit"], si, con eso la opción de una letra para salir es ahora "e" y no "x").
Cambié las comillas simples (') por dobles (") para que quede todo uniforme.
La librería core ahora se llama mpislib para evitar problemas con programas externos.
Reemplazé os.system() por subprocess.check_call() ya que el uso del primero no se recomienda.
En el banner, ahora debajo de la parte que dice que hay que notificar los bugs, hay un link que dirije a la paginna de Issues.
help()
es un comando incorporado de Python ybanner()
muestra texto igual quehelp()
, por eso les antepuse elshow
.clear()
al principio e incorporan las funcionespause()
yclear()
, así no se hacen "totems" de comandos enmpis
..gitignore
desde gitignore.io que agrega un par de archivos más y quité los que ya no son necesarios.setup.py
dentro del PKGBUILD tiene una flag recomendada por los empaquetadores de Arch (--optimize=1
).mkopts
) para reemplazar a las listas con distintas opciones de la misma palabra (["e", "exit", "Exit"], si, con eso la opción de una letra para salir es ahora "e" y no "x").core
ahora se llamampislib
para evitar problemas con programas externos.os.system()
porsubprocess.check_call()
ya que el uso del primero no se recomienda.