News for hackers. Stuff that matters.
Re:Bottle: Single-File Python Web Framework by stephth on Sunday July 17, 2011 @04:33PM (#2774124)
I imagine it's about being able to include the whole framework inside your project, without inflating it with a number of files or even having to create a new folder.
Re:Bottle: Single-File Python Web Framework by LeafStorm on Sunday July 17, 2011 @08:52PM (#2774685)
If you are using pip and virtualenv (which are currently understood as "best practice" in the Python world), it's as simple as running "pip install PACKAGE==VERSION" (or, better, adding "PACKAGE==VERSION" to your requirements.txt file). Even if it was expected that people would frequently fork their own version and drop it in their application, a package is still just be a directory with a few .py files. Hardly an issue for version control systems or even setuptools, and it has the advantage that your application code is separated from the forked framework code.