forked from ushiboy/nmcli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·38 lines (34 loc) · 974 Bytes
/
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
#!/usr/bin/env python3
from setuptools import setup
from setuptools.command.test import test
class PyTest(test):
def run_tests(self):
import pytest
pytest.main(self.test_args)
with open('README.md', 'r') as f:
long_description = f.read()
setup(
name='nmcli',
version='0.5.0',
author='ushiboy',
license='MIT',
description='A python wrapper library for the network-manager cli client',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/ushiboy/nmcli',
packages=['nmcli', 'nmcli.data', 'nmcli.dummy'],
package_data={
'nmcli': ['py.typed'],
},
test_suite='tests',
python_requires='>=3.6.8',
tests_require=[
'pytest'
],
classifiers=[
'Programming Language :: Python :: 3',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX :: Linux'
],
cmdclass={'test': PyTest}
)