-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
43 lines (37 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
from setuptools import setup, find_packages
import os
import pathlib
here = pathlib.Path(__file__).parent.resolve()
# Get the long description from the README file
long_description = (here / 'README.md').read_text(encoding='utf-8')
def load_version():
version_file = os.path.join(os.path.dirname(
__file__), "GreenPonik_OneWire_DS18B20", "version.py")
version = {}
with open(version_file) as fd:
exec(fd.read(), version)
return version["__version__"]
setup(
name="greenponik-onewire-ds18b20",
version=load_version(),
author="GreenPonik SAS",
author_email="[email protected]",
description="Read DS18B20 OneWire through Python3 on raspberry pi",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/GreenPonik/GreenPonik_OneWire_DS18B20",
license="MIT",
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
packages=find_packages(), # Required
python_requires=">=3.7",
project_urls={ # Optional
'Source': 'https://github.com/GreenPonik/GreenPonik_OneWire_DS18B20/',
'Bug Reports': 'https://github.com/GreenPonik/GreenPonik_OneWire_DS18B20/issues',
},
keywords="GreenPonik hydroponics DS18B20 OneWire 1Wire temperature reader python hardware diy iot raspberry pi",
# py_modules=["GreenPonik_OneWire_DS18B20"],
)