main.py 506 B

12345678910111213141516171819202122
  1. '''This file is part of AToMPM - A Tool for Multi-Paradigm Modelling
  2. Copyright 2011 by the AToMPM team and licensed under the LGPL
  3. See COPYING.lesser and README.md in the root of this project for full details'''
  4. import logging
  5. from httpd import HTTPServerThread
  6. '''
  7. init and launch http server + set logging level for mt/*
  8. '''
  9. def main() :
  10. logging.basicConfig(format='%(levelname)s - %(message)s', level=logging.INFO)
  11. httpd = HTTPServerThread()
  12. httpd.start()
  13. if __name__ == "__main__" :
  14. main()