This is Pypi-packaged version of Guido van Rossum original xreload.py script:
http://svn.python.org/projects/sandbox/trunk/xreload/
It also re-use some changes to this code made on the plone.reload package:
https://github.com/plone/plone.reload/blob/master/plone/reload/xreload.py
Neither Guido's original code nor plone.reload code has any specific license,
so none is provided with this package.
from xreload import xreload
xreload(sys.modules[__name__], new_annotations={'RELOADING': True})With a valid ~/.pypirc:
- edit version in
setup.py python setup.py sdisttwine upload dist/*git tag $version && git push && git push --tags