forked from liquidctl/liquidctl
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
45 lines (41 loc) · 1.57 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
import setuptools
repo_url = 'https://github.com/jonasmalacofilho/liquidctl'
with open('liquidctl/version.py', 'r') as fv:
vals = {}
exec(fv.read(), vals)
version = vals['__version__']
with open('README.md', 'r', encoding='utf-8') as fh:
long_description = (fh.read().split('<!-- stop here for PyPI -->', 1)[0]
+ 'Check the project page page for more information.')
setuptools.setup(
name='liquidctl',
version=version,
author='Jonas Malaco',
author_email='[email protected]',
description='Cross-platform tool and drivers for liquid coolers and other devices',
long_description=long_description,
long_description_content_type='text/markdown',
url=repo_url,
packages=setuptools.find_packages(),
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: End Users/Desktop',
'Intended Audience :: Developers',
'Topic :: System :: Hardware :: Hardware Drivers',
'Operating System :: OS Independent',
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Programming Language :: Python :: 3',
],
keywords='cross-platform driver nzxt kraken smart-device grid',
project_urls={
'Documentation': '{}/blob/v{}/README.md'.format(repo_url, version),
'Changelog': '{}/blob/v{}/CHANGELOG.md'.format(repo_url, version),
},
install_requires=['docopt', 'pyusb'],
python_requires='>=3',
entry_points={
'console_scripts': [
'liquidctl=liquidctl.cli:main',
],
},
)