setup.py 926 B

123456789101112131415161718192021222324252627282930
  1. # vim: fileencoding=utf-8
  2. import setuptools
  3. import sys
  4. exclude=[]
  5. if sys.version_info[0:2] < (3, 5):
  6. exclude = ['qubesmgmt.events', 'qubesmgmt.tools', 'qubesmgmt.tests.tools']
  7. if __name__ == '__main__':
  8. setuptools.setup(
  9. name='qubesmgmt',
  10. version=open('version').read().strip(),
  11. author='Invisible Things Lab',
  12. author_email='marmarek@invisiblethingslab.com',
  13. description='Qubes mgmt API package',
  14. license='LGPL2.1+',
  15. url='https://www.qubes-os.org/',
  16. packages=setuptools.find_packages(exclude=exclude),
  17. entry_points={
  18. 'qubesmgmt.vm': [
  19. 'AppVM = qubesmgmt.vm:AppVM',
  20. 'TemplateVM = qubesmgmt.vm:TemplateVM',
  21. 'StandaloneVM = qubesmgmt.vm:StandaloneVM',
  22. 'AdminVM = qubesmgmt.vm:AdminVM',
  23. 'DispVM = qubesmgmt.vm:DispVM',
  24. ],
  25. },
  26. )