Serving out static files shouldn't require creating a VirtualHost
in Apache or a nginx config file (this project may not be render this claim inaccurate though). Here's how to do it in one line.
$ ruby -run -e httpd . -p8000
In true dsl fashion, this require
s the ...
Recently, I ran into some difficultly getting lxml to compile and work. It was crashing mysteriously on the seemingly-innocuous fread()
. After many days of debugging, I stumbled upon the cause:
Each copy of the CRT library has a separate and distinct state. As such, CRT objects such as file handles ...
In case you're wondering, the syntax/format is similar to what you would use for specifying dependencies in a setup.py
.
Here's a fairly complex example of loading a recent django 1.1, but not 1.2:
>>> from pkg_resources import require
>>> require("django >=1.1, <1.2")
[django ...