setup.py 937 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 = ['qubesadmin.events', 'qubesadmin.tools', 'qubesadmin.tests.tools']
  7. if __name__ == '__main__':
  8. setuptools.setup(
  9. name='qubesadmin',
  10. version=open('version').read().strip(),
  11. author='Invisible Things Lab',
  12. author_email='marmarek@invisiblethingslab.com',
  13. description='Qubes Admin API package',
  14. license='LGPL2.1+',
  15. url='https://www.qubes-os.org/',
  16. packages=setuptools.find_packages(exclude=exclude),
  17. entry_points={
  18. 'qubesadmin.vm': [
  19. 'AppVM = qubesadmin.vm:AppVM',
  20. 'TemplateVM = qubesadmin.vm:TemplateVM',
  21. 'StandaloneVM = qubesadmin.vm:StandaloneVM',
  22. 'AdminVM = qubesadmin.vm:AdminVM',
  23. 'DispVM = qubesadmin.vm:DispVM',
  24. ],
  25. },
  26. )