[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Promoting cheeseshop/pypi for game releases?



I started making a tool for doing the zero config releases. It's not done yet, but it is almost able to release itself.

https://github.com/illume/pyrelease

(still not sure it's a good idea... but maybe)


Usage:
    pyrelease [optional folder defaults to current working directory]


The basic steps are these.
The three use cases I'm aiming to make it work with.
-----
singlefile.py
----
mygame/game.py
data/
-----
singlefile.py
test_singlefile.py
-----

It should support single file modules, packages, and also /data/ folders. As well it supports making a script automatically if it finds a main(). As well it finds dependencies by parsing the python code (I'll add requirements.txt later). So if you import pygame, click, flask etc... it adds them to install_requires in the setup.py.

​A nice thing about it was I was easily able to rename the project three times. Just by renaming files and folders.


Anyway... I'll try another day on it and see how it turns out.