-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
39 lines (36 loc) · 1.17 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
import setuptools
import re
name = 'molecule-virtup'
description='virt-up Molecule Plugin :: run molecule tests using virt-up'
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-virtup',
packages=setuptools.find_packages(where='src'),
package_dir={'': 'src'},
include_package_data=True,
entry_points={
'molecule.driver': [
'virtup = molecule_virtup.driver:VirtUp',
],
},
install_requires=[
# molecule plugins are not allowed to mention Ansible as a direct dependency
'molecule>=3.2.0',
'pyyaml>=5.1,<6',
],
classifiers=[
'Programming Language :: Python :: 3',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
],
python_requires='>=3.6',
)