-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
54 lines (51 loc) · 1.35 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
from setuptools import setup
from io import open
DESCRIPTION = 'stealchecker: Checking CPU steal of VM from virtual host'
NAME = 'stealchecker'
AUTHOR = 'akam1o'
AUTHOR_EMAIL = '5158577+akam1o@users.noreply.github.com'
URL = 'https://github.com/akam1o/stealchecker'
LICENSE = 'MIT'
DOWNLOAD_URL = URL
VERSION = '1.3.0'
INSTALL_REQUIRES = [
'libvirt-python'
]
ENTRY_POINTS = {
'console_scripts': [
'stealchecker = stealchecker:stealchecker.main',
]
}
PACKAGES = [
'stealchecker'
]
KEYWORDS = 'libvirt qemu kvm cpu steal'
CLASSIFIERS=[
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
]
with open('README.md', 'r', encoding='utf-8') as fp:
readme = fp.read()
LONG_DESCRIPTION = readme
LONG_DESCRIPTION_CONTENT_TYPE = 'text/markdown'
setup(
name=NAME,
version=VERSION,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
long_description_content_type=LONG_DESCRIPTION_CONTENT_TYPE,
author=AUTHOR,
author_email=AUTHOR_EMAIL,
maintainer=AUTHOR,
maintainer_email=AUTHOR_EMAIL,
url=URL,
download_url=URL,
entry_points=ENTRY_POINTS,
packages=PACKAGES,
classifiers=CLASSIFIERS,
license=LICENSE,
keywords=KEYWORDS,
install_requires=INSTALL_REQUIRES
)