richq/cmake-lint — pull request #1 by tkruse (2012-11-10 17:43:52+00:00)
Title: standard wrapping for pypi projects

Hi Richard,

So getting things onto pypi is rather simple. Get a free account on pypi, add a setup.py to your project, then call
$ python setup.py register # checks whether name is available and reservers it for you
$ python setup.py sdist upload # creates an egg file for other to download

Once this is done, people can install using pip.

Commits from this pull request do that (create a setup.py), first shuffling files around a bit to be a bit more standards comformant. I took the liberty to put this on pypi (so people can as of now install using pip), but if you want to do this from now on, I can remove my cmakelint project from pypi and you can do that. Just let me know.

Else for fun I also added my fork to travis-ci (It's free and works well with github), and then modified a few lines to make it run on py3k:
https://travis-ci.org/tkruse/cmake-lint

Since I had just done that with cpplint, and a lot of code seems to be similar between cpplint and cmakelint, it was not too hard to do (Did you create both, or just copy from one another?). One of these days I might also make the code more pep8 conformant.

Also I changed the executable name from cmakelint.py to just cmakelint.