Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (14 sloc) 784 Bytes

This is just a list of commands I've found useful for project maintenance

  • Update README.rst

    pandoc -s -t rst --toc README.md -o README.rst

  • Install project with files.txt record

    sudo python setup.py install --record files.txt

  • "uninstall" package installed with files.txt record

    cat files.txt | sudo xargs rm -rf

  • Generate/update base docs/ folder with Sphinx

    sphinx-apidoc -F -o docs tornado_json

  • Run tests from root project directory

    • py.test --cov="tornado_json" --cov-report=term --cov-report=html
    • nosetests --with-cov --cov-report term-missing --cov tornado_json tests/
    • With tox>=1.8.0 installed for both py27 and py34
      • sudo tox # runs test matrix with py27,py34 and tornado322,402
Jump to Line
Something went wrong with that request. Please try again.