/ruffus/__init__.py

https://code.google.com/p/ruffus/ · Python · 38 lines · 6 code · 3 blank · 29 comment · 0 complexity · 1464825f0811d3e24a013342c031cd35 MD5 · raw file

  1. #!/usr/bin/env python
  2. ################################################################################
  3. #
  4. # __init__.py
  5. #
  6. #
  7. # Copyright (c) 10/9/2009 Leo Goodstadt
  8. #
  9. # Permission is hereby granted, free of charge, to any person obtaining a copy
  10. # of this software and associated documentation files (the "Software"), to deal
  11. # in the Software without restriction, including without limitation the rights
  12. # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  13. # copies of the Software, and to permit persons to whom the Software is
  14. # furnished to do so, subject to the following conditions:
  15. #
  16. # The above copyright notice and this permission notice shall be included in
  17. # all copies or substantial portions of the Software.
  18. #
  19. # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  20. # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  21. # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  22. # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  23. # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  24. # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  25. # THE SOFTWARE.
  26. #################################################################################
  27. #from graph import *
  28. #from print_dependencies import *
  29. from task import pipeline_printout, pipeline_printout_graph, pipeline_run, register_cleanup, check_if_uptodate, active_if, split, transform, merge, collate, files, files_re, follows, parallel, stderr_logger, black_hole_logger, suffix, regex, inputs, add_inputs, touch_file, combine, mkdir, output_from, posttask, JobSignalledBreak, runtime_parameter, jobs_limit
  30. from graph import graph_colour_demo_printout
  31. from file_name_parameters import needs_update_check_modify_time
  32. import cmdline
  33. #output_dependency_tree_in_dot_format, output_dependency_tree_key_in_dot_format
  34. import ruffus_version
  35. __version__=ruffus_version.__version