README.txt 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. =======================================================
  2. Nose plugin with IPython and extension module support
  3. =======================================================
  4. This directory provides the key functionality for test support that IPython
  5. needs as a nose plugin, which can be installed for use in projects other than
  6. IPython.
  7. The presence of a Makefile here is mostly for development and debugging
  8. purposes as it only provides a few shorthand commands. You can manually
  9. install the plugin by using standard Python procedures (``setup.py install``
  10. with appropriate arguments).
  11. To install the plugin using the Makefile, edit its first line to reflect where
  12. you'd like the installation. If you want it system-wide, you may want to edit
  13. the install line in the plugin target to use sudo and no prefix::
  14. sudo python setup.py install
  15. instead of the code using `--prefix` that's in there.
  16. Once you've set the prefix, simply build/install the plugin with::
  17. make
  18. and run the tests with::
  19. make test
  20. You should see output similar to::
  21. maqroll[plugin]> make test
  22. nosetests -s --with-ipdoctest --doctest-tests dtexample.py
  23. ..
  24. ----------------------------------------------------------------------
  25. Ran 2 tests in 0.016s
  26. OK