-
Notifications
You must be signed in to change notification settings - Fork 19
/
setup.py
executable file
·32 lines (26 loc) · 980 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
#! /usr/bin/env python3
"""Setup file"""
# Copyright (c) 2020-2021 Raspberry Pi Foundation
#
# SPDX-License-Identifier: MIT
from setuptools import setup
with open("README.md") as readme:
long_description = readme.read()
with open('VERSION') as versionf:
version = versionf.read().strip()
setup(name='buildhat',
version=version,
description='Build HAT Python library',
license='MIT',
long_description=long_description,
long_description_content_type="text/markdown",
author='Raspberry Pi Foundation',
author_email='web@raspberrypi.org',
url='https://github.com/RaspberryPiFoundation/python-build-hat',
project_urls={'Bug Tracker': "https://github.com/RaspberryPiFoundation/python-build-hat/issues"},
packages=['buildhat'],
package_data={
"": ["data/firmware.bin", "data/signature.bin", "data/version"],
},
python_requires='>=3.7',
install_requires=['gpiozero', 'pyserial'])