armstrong/armstrong.dev — pull request #11 by joncotton (2013-04-12 00:44:31+00:00)
Title: simplfy packaging by relying on Distribute

### ultimately, this is a change to be made to all Armstrong components

The changes to `setup.py` and `__init__.py` are common across all the Armstrong components. I'm honestly not sure the namespacing changes in the inits are super important. They may be functionally the same. It does seem that this second method (documented in [PEP382](http://www.python.org/dev/peps/pep-0382/#namespace-packages-today)) is more widely accepted.

The changes to `setup.py` are the heart of the matter.
1. If we rely on Distribute, we can remove the entire custom way of collecting the packages.
2. `convert_to_str()` doesn't work. I put unicode in the `description` field in `package.json` and our function broke while Distribute worked just fine. The unicode carries through into the final `package.json` and `PKG-INFO` files.
3. Exclude test directories from our distributions. Seems cleaner.

So I'll put this up for discussion. Thoughts?