Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Support requirements in docstring #31
It would be nice if, in addition to comments on imports, you could support a requirements.txt-like thing in the script's docstring, like this:
#!/usr/bin/python """ This script to foobar the bazbats has the following requirements: foo >=1.0 bar <2 bat baz """
Syntax, parsing, etc are left as exercise for the authors ;-)