2017-02-24 00:21:02 +01:00
|
|
|
# vim: fileencoding=utf-8
|
|
|
|
|
|
|
|
import setuptools
|
2017-04-14 13:26:45 +02:00
|
|
|
import sys
|
|
|
|
|
|
|
|
exclude=[]
|
2017-05-11 23:40:49 +02:00
|
|
|
if sys.version_info[0:2] < (3, 4):
|
|
|
|
exclude += ['qubesadmin.tools', 'qubesadmin.tests.tools']
|
2017-04-14 13:26:45 +02:00
|
|
|
if sys.version_info[0:2] < (3, 5):
|
2017-05-11 23:40:49 +02:00
|
|
|
exclude += ['qubesadmin.events']
|
2017-02-24 00:21:02 +01:00
|
|
|
|
|
|
|
if __name__ == '__main__':
|
|
|
|
setuptools.setup(
|
2017-05-11 23:21:04 +02:00
|
|
|
name='qubesadmin',
|
2017-02-24 00:21:02 +01:00
|
|
|
version=open('version').read().strip(),
|
|
|
|
author='Invisible Things Lab',
|
|
|
|
author_email='marmarek@invisiblethingslab.com',
|
2017-05-11 23:21:04 +02:00
|
|
|
description='Qubes Admin API package',
|
2017-02-24 00:21:02 +01:00
|
|
|
license='LGPL2.1+',
|
|
|
|
url='https://www.qubes-os.org/',
|
2017-04-14 13:26:45 +02:00
|
|
|
packages=setuptools.find_packages(exclude=exclude),
|
2017-02-28 01:34:09 +01:00
|
|
|
entry_points={
|
2017-05-11 23:21:04 +02:00
|
|
|
'qubesadmin.vm': [
|
|
|
|
'AppVM = qubesadmin.vm:AppVM',
|
|
|
|
'TemplateVM = qubesadmin.vm:TemplateVM',
|
|
|
|
'StandaloneVM = qubesadmin.vm:StandaloneVM',
|
|
|
|
'AdminVM = qubesadmin.vm:AdminVM',
|
|
|
|
'DispVM = qubesadmin.vm:DispVM',
|
2017-02-28 01:34:09 +01:00
|
|
|
],
|
|
|
|
},
|
|
|
|
|
2017-02-24 00:21:02 +01:00
|
|
|
)
|