-
Notifications
You must be signed in to change notification settings - Fork 8
/
setup.py
44 lines (41 loc) · 1.36 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
import setuptools
import re
name = 'molecule-proxmox'
description='Proxmox Molecule Plugin :: run molecule tests using proxmox'
def find_version():
text = open('src/%s/__init__.py' % name.replace('-', '_')).read()
return re.search(r"__version__\s*=\s*'(.*)'", text).group(1)
setuptools.setup(
name=name,
version=find_version(),
author='Michael Meffie',
author_email='[email protected]',
description=description,
long_description=open('README.rst').read(),
long_description_content_type='text/x-rst',
url='https://github.com/meffie/molecule-proxmox',
packages=setuptools.find_packages(where='src'),
package_dir={'': 'src'},
include_package_data=True,
entry_points={
'molecule.driver': [
'proxmox = molecule_proxmox.driver:Proxmox',
],
},
install_requires=[
# molecule plugins are not allowed to mention Ansible as a direct dependency
'molecule>=6.0.0',
'PyYAML',
'proxmoxer>=1.3.1',
'requests',
],
classifiers=[
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
],
python_requires='>=3.10',
)