summaryrefslogtreecommitdiff
path: root/baserockimport/exts/python.find_deps
Commit message (Collapse)AuthorAgeFilesLines
* Pass local_data_path to python exts through argvbaserock/richardipsum/fix-lorry-bug-2Richard Ipsum2015-01-081-2/+6
|
* Pass argv into main of each extensionRichard Ipsum2015-01-081-6/+6
| | | | This allows us to more simply modify argv before running the extensions
* Update copyrightsbaserock/richardipsum/fix-hyphen-bugRichard Ipsum2015-01-051-1/+2
|
* Treat hyphens and underscores equivalentlyRichard Ipsum2015-01-051-1/+5
| | | | | | | | | | | | | | There isn't yet an official spec for distribution names in python, however there is a draft at http://legacy.python.org/dev/peps/pep-0426/#name In particular, "All comparisons of distribution names MUST be case insensitive, and MUST consider hyphens and underscores to be equivalent." pkg_resource.parse_requirements will replace any underscores in the package name as hyphens, so when we search pypi we need to look for the package name with underscores as well as with hyphens.
* Add python.find_depsRichard Ipsum2014-12-051-0/+352
This takes source_dir, name, version and returns the dependencies for the package as json on stdout.