info.py 385 B

123456789101112131415
  1. import os
  2. import json
  3. here = os.path.dirname(__file__)
  4. with open(os.path.join(here, "info.json")) as infofile:
  5. infodict = json.load(infofile)
  6. VERSION = infodict["VERSION"]
  7. FORMAT_VERSION = infodict["FORMAT_VERSION"]
  8. AUTHOR = infodict["AUTHOR"]
  9. COPYRIGHT = infodict["COPYRIGHT"]
  10. CONTACT = infodict["CONTACT"]
  11. HOMEPAGE = infodict["HOMEPAGE"]
  12. CLASSIFIERS = infodict["CLASSIFIERS"]