diff --git a/README.md b/README.md index 30f465d..f601cfa 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,10 @@ Example: Let's say you're deprecating your use of the `` tag. From the co For each match of the regex, you'll be shown a colored diff, and asked if you want to accept the change (the replacement of the `` tag with a `` tag), reject it, or edit the line in question in your `$EDITOR` of choice. +Install +------- +`pip install git+https://github.com/facebook/codemod.git` + Usage ----- diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..7d31dc5 --- /dev/null +++ b/setup.py @@ -0,0 +1,11 @@ +from setuptools import setup + +setup( + name='codemod', + version='0.1', + url='http://github.com/facebook/codemod', + scripts=['src/codemod.py'], + author='facebook', + description="""Codemod is a tool/library to assist you with large-scale codebase refactors that can be partially automated but still require human oversight and occasional intervention. Codemod was developed at Facebook and released as open source.""", + zip_safe=False, +)