4 ms·
Cool that its possible to change it, but I don't see any reason to introduce a "runtime.txt" file - seems very random. Would be better with a json file to put i
by oellegaard 14y ago
Cool that its possible to change it, but I don't see any reason to introduce a "runtime.txt" file - seems very random. Would be better with a json file to put in arbitrary settings for the project (I think this is how its done with node.js on heroku, correct me if I'm wrong).
- jon-wood 14y agoIt goes in a JSON file for Node because there's already one present to configure NPM packages, just as for Ruby applications you can define the runtime in your Gemfile. In the Python world their package manger uses a file called something like "packages.txt", and so runtime.txt makes some sense alongside that.
- kenneth_reitz 14y agoThis was very carefully considered. A blog post explaining all of the design decision will be published in the near future. Essentially, I wanted to use setup.cfg's new 'requires-python' directive. However, distutils2 has been stalled and its future is in question. Distlib was also considered, but it's also quite controversial. There are some other exciting Python packaging projects being developed actively that seek to solve these problems. We plan to support these standards when the time is right. In the meantime, a simple runtime.txt file suits everyone's needs perfectly.
- emperorcezar 14y agoCould you list out or elaborate on the other packaging projects being developed? I'm very interested in getting involved with Python packaging. Thanks.
- kenneth_reitz 14y agoNothing public at the moment, but you can learn more from Donald Stufft (the guy behind crate.io) https://twitter.com/dstufft https://twitter.com/dstufft