This fork extends the command line interface (CLI) and is distributed as a convenient one-file-executable (Windows, Linux, Mac). It is also available via Docker Hub, PyPI and Binder.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

33 lines
788 B

  1. # XXX have a Makefile written by someone that knows Makefiles...
  2. all: test build install
  3. readme:
  4. # requires docutils, e.g. pip install docutils
  5. rst2html.py README.rst > README.html
  6. w3m -dump README.html | unix2dos > README.txt
  7. test:
  8. python setup.py test
  9. # tests that don't require a Refine server running
  10. smalltest:
  11. python setup.py test --test-suite tests.test_refine_small
  12. python setup.py test --test-suite tests.test_facet
  13. python setup.py test --test-suite tests.test_history
  14. build:
  15. python setup.py build
  16. install:
  17. sudo python setup.py install
  18. clean:
  19. find . -name '*.pyc' | xargs rm -f
  20. # XXX is there some way of having setup.py clean up its junk?
  21. rm -rf README.{html,txt} build dist refine_client.egg-info distribute-*
  22. upload: clean
  23. python setup.py sdist upload