Skip to content

Commit aec11fc

Browse files
committed
Move things around and prep for packaging
1 parent 448691d commit aec11fc

File tree

4 files changed

+24
-1
lines changed

4 files changed

+24
-1
lines changed

RaspberryPiVcgencmd.py renamed to RaspberryPiVcgencmd/RaspberryPiVcgencmd.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ class RaspberryPiVcgencmd:
99

1010
def __init__(self):
1111
# TODO: add a "vcgencmd run" check and first time its called we should check what commands are supported
12+
# TODO: allow specifying where vcgencmd lives.
1213
pass
1314

1415
def get_cpu_temp(self, fahrenheit=False):
File renamed without changes.

print_all_sensors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from RaspberryPiVcgencmd import RaspberryPiVcgencmd
1+
from RaspberryPiVcgencmd.RaspberryPiVcgencmd import RaspberryPiVcgencmd
22

33
sen = RaspberryPiVcgencmd()
44

setup.py

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
from setuptools import setup
2+
3+
with open("README.md", "r", encoding="utf-8") as fh:
4+
long_description = fh.read()
5+
6+
setup(
7+
name='RaspberryPiVcgencmd',
8+
version='0.1',
9+
packages=['RaspberryPiVcgencmd'],
10+
url='https://github.com/chewett/RaspberryPiVcgencmd',
11+
license='MIT',
12+
author='Christopher Hewett',
13+
author_email='chewett@hotmail.co.uk',
14+
description='Python binding for the Raspberry Pi Vcgencmd command line executable',
15+
long_description=long_description,
16+
long_description_content_type="text/markdown",
17+
classifiers=[
18+
"Programming Language :: Python :: 3",
19+
"License :: OSI Approved :: MIT License",
20+
"Operating System :: OS Independent",
21+
]
22+
)

0 commit comments

Comments
 (0)