summaryrefslogtreecommitdiff
path: root/baserockimport/exts/importer_python_common.py
Commit message (Collapse)AuthorAgeFilesLines
* Move common functions into a utils moduleRichard Ipsum2015-05-291-8/+0
| | | | | | These functions will also be useful for our forthcoming cpan extension Change-Id: I9df87dee09bbcf43dd0868f062fb873632f1f5ae
* Move get_releases into common and make all extensions use itRichard Ipsum2015-01-131-1/+10
| | | | | | | We also call package_releases with True, so that we also get versions of releases that have been hidden. pip is willing to install from hidden releases so we should too, the concept of hidden releases will eventually disappear from pypi as well.
* Remove generic PythonExtension classRichard Ipsum2015-01-121-9/+1
| | | | The two extensions have diverged so this generic class is no longer useful.
* Fix bug in name_or_closestRichard Ipsum2015-01-121-0/+1
|
* Update copyrightsbaserock/richardipsum/fix-hyphen-bugRichard Ipsum2015-01-051-1/+2
|
* Treat hyphens and underscores equivalentlyRichard Ipsum2015-01-051-6/+17
| | | | | | | | | | | | | | 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 common functions used by python extensionsRichard Ipsum2014-12-051-0/+87