rossfadely/mofa — pull request #8 by dfm (2012-10-11 19:31:34+00:00)
Title: Packaging

Hey @rossfadely, here's some serious packaging action. You can now:
```
python setup.py install
```
to get `mofa` installed.

A few things that you need to do:

1. choose a license (I like MIT or BSD… @davidwhogg likes GPLv2 [he's strange])—add it as the file 'LICENSE.rst` and uncomment the right lines in the `setup.py` file
2. add a `MANIFEST.in` file (see [this one](https://github.com/dfm/emcee/blob/master/MANIFEST.in) as an example)
2. run `python setup.py register` (see [the docs](http://docs.python.org/distutils/packageindex.html) for more info)
3. run `python setup.py publish`
4. make a **sick** website

You have to do the registration so that you're the owner. Then, to update to a new version on the index, bump the version number in `mofa/__init__.py` and run `python setup.py publish` again.

Let me know if there are any problems.