[Distutils] Deprecating little used file types/extensions onPyPI?

Nick Coghlan ncoghlan at gmail.com
Wed Aug 17 11:25:28 EDT 2016

On 17 August 2016 at 23:23, Steve Dower <steve.dower at python.org> wrote:
> Do you mean like zipapp and *.pyz files?

Pretty much, yeah, but with a more fleshed out workflow that accounts
for dependency bundling as well - you'd have a relatively normal
Python app with a setup.py and/or requirements.txt, but be able to
readily package the whole thing up for distribution.

This kind of thing is *possible* today if you already know what you're
doing, and at least the AWS Lambda docs are pretty decent when it
comes to describing how to make it work in their (non-zipapp) usage
model: http://docs.aws.amazon.com/lambda/latest/dg/lambda-python-how-to-create-deployment-package.html
(I haven't checked the Azure Compute Function docs, and Google Compute
Function is currently JavaScript only)

However, these kinds of approaches are nowhere near as well fleshed
out from an automation perspective as traditional Linux web service
deployment - note that there's no mention in the AWS Lambda docs of
using a requirements file rather than individual dependency


Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia

More information about the Distutils-SIG mailing list