{"push_id":1015876974,"size":2,"distinct_size":1,"ref":"refs/heads/master","head":"ba58fc7bb8876529fd4d57ab54aed5c95356d1b4","before":"efbda64d8c1e569cb0d198d5b7df4b273fb4e6b6","commits":[{"sha":"70ed0a36aa994630b852b3bb98525bd4bfb2d1bd","author":{"email":"0d6248b74a061da1ecea033c37de095872d3e104@gmail.com","name":"lonnen"},"message":"handle testing when not installed\n\nPackaging is deceptively, incredibly complicated in Python and the language has a convention to publish version numbers as an attribute of a module and a convention to avoid duplication. It offers no standard means of achieving this, though, and we're stuck figuring it out.\n\nPreviously we relied on the package info utilities in order to leave the version in the setup.py file, instead of indirectly reading it from a file in the package somehow. This is a problem when the package is not installed and you try to run tests or use it directly from the filesystem containing the source code.\n\nThis patch resolves that case by catching the DistributionNotFound error and setting the __version__ string to a prompt instructing the user to run setup.py.","distinct":false,"url":"https://api.github.com/repos/mozilla/socorrolib/commits/70ed0a36aa994630b852b3bb98525bd4bfb2d1bd"},{"sha":"ba58fc7bb8876529fd4d57ab54aed5c95356d1b4","author":{"email":"0d6248b74a061da1ecea033c37de095872d3e104@gmail.com","name":"Chris Lonnen"},"message":"Merge pull request #19 from mozilla/issue-7-pII\n\nhandle testing when not installed","distinct":true,"url":"https://api.github.com/repos/mozilla/socorrolib/commits/ba58fc7bb8876529fd4d57ab54aed5c95356d1b4"}]}