__init__.py 710 B

1234567891011121314151617181920212223242526
  1. """This is the root directory of the project, and directly contains a bunch of
  2. stable, useful and well-tested macros. It also sets up the import hooks that are
  3. required for macros to run properly"""
  4. def activate():
  5. import core.macros
  6. import core.cleanup
  7. import core.exact_src
  8. import core.gen_sym
  9. import core.import_hooks
  10. import sys
  11. sys.meta_path.append(core.import_hooks.MacroFinder)
  12. import core.hquotes
  13. import core.failure
  14. def console():
  15. from macropy.core.console import MacroConsole
  16. MacroConsole().interact("0=[]=====> MacroPy Enabled <=====[]=0")
  17. import core.exporters
  18. __version__ = "1.0.3"
  19. exporter = core.exporters.NullExporter()