Skip to content

Commit

Permalink
add setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
beyang committed Jul 10, 2013
1 parent eac2165 commit f3c4cde
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ Example: Let's say you're deprecating your use of the `<font>` 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 `<font>` tag with a `<span>` 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
-----

Expand Down
11 changes: 11 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -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,
)

0 comments on commit f3c4cde

Please sign in to comment.