Promoting pypi for python game releases. Part 1.
This is a statement of intent similar to what I wrote to the pygame mailing list some weeks ago. That I think the python game community should promote packaging their games as python packages. When I wrote to the mailing list, not everyone was convinced, and some people had other ideas. So I'm going incorporate their feedback, and to try to be more detailed on the full plan of where I think we should go, what benefits this provides the python community as a whole, and the benefits it provides game developers.
This is the first in a series of articles about making python game distribution better.
With all the great work from lots of people pygame is often easily installable via pip - the standard python packaging system. We still have some issues, but it works quite well on major platforms. See "How we cobbled together a free Spectacularly Adequate Build Page." for more details on how we package pygame for pip.
Now our games can be installed with pip too! Here's an example game I started packaging up, now available on the python package index. Note, it will install pygame for you.
I suggest efforts should be applied to:
Any work that goes into making the packaging better for games helps out with other python game communities as well. We can perhaps even gain allies from the other communities to help improve things for python games in general.
Here are where the pypi projects live.
The second part of this article series is about what else we can do to improve distribution. Topics coming up in this article series include - a new "skellington" (from pyweek) based on the "sampleproject" (from pypa) with everything setup, and using appveyor/travisci/etc to build binaries on mac/linux/windows/android for everyone, as well as a list of python packaging warts I've gathered from people trying to package their python modules.
This is the first in a series of articles about making python game distribution better.
“ the python game community should use python packages ”
With all the great work from lots of people pygame is often easily installable via pip - the standard python packaging system. We still have some issues, but it works quite well on major platforms. See "How we cobbled together a free Spectacularly Adequate Build Page." for more details on how we package pygame for pip.
Now our games can be installed with pip too! Here's an example game I started packaging up, now available on the python package index. Note, it will install pygame for you.
pip3 install --pre solarwolf
Since
many people enter the python world via games, it makes sense that they
get used to publishing python packages as well. I've sat in python
user groups, and still 80% of the room has never published a python package
despite many of them working with python every day - for years. Let that sink in for a bit... most python developers never publish packages.
“ newbies to python often come in through game development ”
Currently most people making games find packaging them up for distribution very time consuming, and also pretty much impossible to do for multiple platforms. For game libraries, people still do not use pypi so much. It's easier for them to just put the source tarball up on a website and tell people to download it.
As a game developer why should I use pip? Firstly, there is a very large audience of people who can install python games - python developers. This is mainly your peers, but python also comes installed already on many platforms (linux, Mac, etc). You can manage dependencies more easily (so you don't need to worry people don't have one of your other libraries installed). You don't need to worry about the platform issues of binaries so much. If they have pip on their platform, then they can install your game. Other benefits of publishing on pypi include syndication, since many people tweet and copy all the releases on pypi. Another benefit is all the infrastructure work that goes into pypi, CDN networks and such.
As a game developer why should I use pip? Firstly, there is a very large audience of people who can install python games - python developers. This is mainly your peers, but python also comes installed already on many platforms (linux, Mac, etc). You can manage dependencies more easily (so you don't need to worry people don't have one of your other libraries installed). You don't need to worry about the platform issues of binaries so much. If they have pip on their platform, then they can install your game. Other benefits of publishing on pypi include syndication, since many people tweet and copy all the releases on pypi. Another benefit is all the infrastructure work that goes into pypi, CDN networks and such.
I suggest efforts should be applied to:
- updating tutorials, and spreading the idea of publishing python games to the cheeseshop (pyweek, pygame.org tutorials, external tutorials, books, youtube videos)
- base code for a pygame game in a standard structure (skellington, cookiecutter etc)
- contacting other python game communities to suggest pypi should be a priority
- making the cheeseshop/pypi itself a better platform for game publishing needs
- making python packaging easier, by fixing python packaging warts which stop newbies.
Any work that goes into making the packaging better for games helps out with other python game communities as well. We can perhaps even gain allies from the other communities to help improve things for python games in general.
Here are where the pypi projects live.
- https://github.com/pypa
- (current pypi) - https://github.com/pypa/pypi-
legacy - (next gen pypi) - https://github.com/pypa/
warehouse - (sampleproject) - https://github.com/pypa/sampleproject
The second part of this article series is about what else we can do to improve distribution. Topics coming up in this article series include - a new "skellington" (from pyweek) based on the "sampleproject" (from pypa) with everything setup, and using appveyor/travisci/etc to build binaries on mac/linux/windows/android for everyone, as well as a list of python packaging warts I've gathered from people trying to package their python modules.
Comments
First of all activate hulu on computer . When you open the Hulu app, the Hulu activation code will be on your TV. If your account needs activation then it will be displayed online on your screen then you can install it by going to hulu.com/activate . In this way you can use the Hulu app.You can use hulu.com/activate by creating a Hulu account. After creating Hulu account and hulu.com/activate from steps for hulu activation , you can sign in Hulu account and can access all your favorite movies and TV shows.
American Airlines is one of the leading US airlines across the world ,American Airlines flight tickets you can fly to your dream destinations at a much affordable price without worrying much about the budget. Book united airways reservations tickets with us to enjoy great saving on your flight.and go to the our website : united airways reservations .
American Airlines amenities will have you living the high life. In-flight perks like American Airlines entertainment , extra leg room, available food and drinks, make your trip even better than you expected. go to the cheap flight ticket airways reservations flight tickets you can fly to your dream destinations at a much affordable price without worrying much about the budget. Book last minute flight tickets with us to enjoy great saving on your flight.Book heap flight ticket booking with us to enjoy great saving on your flight.and go our website for book your tickets united airways reservations .
Using a Canon printer service phone, you can get a full installation of the ij.start.cannon printer and go to the installed Canon printer to download the canon.com/ijsetup driver. To get more and more information, visit our website ij.start.canon and get the information according to convenience .
-/'
If you want to know more about it then you can visit our website disneyplus.com/begin and take advantage of it. Click Here for the DisneyPlus.com Login: Sign In to Disney+ If you’ve been using Disney Plus on your iPhone or Samsung TV but now want to use it on your TV, then you need to know the disneyplus.com/begin page. Thankfully, it’s super easy to get to, and I’ve got all the details for you below. Here’s How to Use disneyplus.com/begin .
Are you the proud owner of a Disney+ Subscription Card? You’re enjoying all the best stories in the world, all in one place. You can go to disneyplus.com/begin and activate your disney now for watching TV shows and movie ,To activate your Disney+ Subscription card, please follow our website disneyplus.com/begin .If you want to know more about it then you can visit our website disneyplus.com/begin and take advantage of it.