-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
43 lines (40 loc) · 1.46 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
#!/usr/bin/env python
# Used this as a template: https://github.com/pypa/sampleproject/blob/master/setup.py
from setuptools import setup, find_packages
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name = 'xu4fan',
version = '0.1',
description = 'Hysteresis fan controller for Odroid XU4',
long_description = long_description,
url = 'https://github.com/lbseale/odroid-fan',
author = 'Luke Seale',
author_email = '[email protected]',
classifiers = [
'Development Status :: 3 - Alpha',
'Intended Audience :: End Users/Desktop'
'Topic :: System :: Hardware',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
],
keywords = 'odroid fan hardware driver',
#install_requires = ['atexit', 'configparser', 'logging', 'time', 'signal', 'json']
#packages = find_packages(),
packages = ['xu4fan'],
python_requires = '>=3.6',
entry_points = {
'console_scripts': [
'xu4fan = xu4fan.main:control_fan',
],
},
data_files = [
('share/xu4fan', ['xu4fan/config/xu4fan.conf']),
('share/xu4fan', ['xu4fan/config/xu4fan.service'])
]
)