mirror of
https://github.com/PiBrewing/craftbeerpi4.git
synced 2024-11-25 00:18:17 +01:00
b2e61bee8e
RPi.GPIO 0.7.0 is causing an error if installed under bullseye and python 3.9 -> 0.7.1a4 solves the issue for now. -> will be changed as soon as new RPi.GPIO release is comming out
53 lines
1.5 KiB
Python
53 lines
1.5 KiB
Python
from setuptools import setup, find_packages
|
|
from cbpi import __version__
|
|
import platform
|
|
|
|
setup(name='cbpi',
|
|
version=__version__,
|
|
description='CraftBeerPi',
|
|
author='Manuel Fritsch',
|
|
author_email='manuel@craftbeerpi.com',
|
|
url='http://web.craftbeerpi.com',
|
|
packages=find_packages(),
|
|
include_package_data=True,
|
|
package_data={
|
|
# If any package contains *.txt or *.rst files, include them:
|
|
'': ['*.txt', '*.rst', '*.yaml'],
|
|
'cbpi': ['*','*.txt', '*.rst', '*.yaml']},
|
|
|
|
python_requires='>=3',
|
|
|
|
install_requires=[
|
|
"aiohttp==3.7.4",
|
|
"aiohttp-auth==0.1.1",
|
|
"aiohttp-route-decorator==0.1.4",
|
|
"aiohttp-security==0.4.0",
|
|
"aiohttp-session==2.9.0",
|
|
"aiohttp-swagger==1.0.15",
|
|
"aiojobs==0.3.0",
|
|
"aiosqlite==0.16.0",
|
|
"cryptography==3.3.2",
|
|
"requests==2.25.1",
|
|
"voluptuous==0.12.1",
|
|
"pyfiglet==0.8.post1",
|
|
'pandas==1.1.5',
|
|
'click==7.1.2',
|
|
'shortuuid==1.0.1',
|
|
'tabulate==0.8.7',
|
|
'asyncio-mqtt',
|
|
'psutil==5.8.0',
|
|
'numpy==1.20.3',
|
|
'cbpi4ui',
|
|
'importlib_metadata'] + (
|
|
['RPi.GPIO==0.7.1a4'] if platform.uname()[1] == "raspberrypi" else [] ),
|
|
|
|
dependency_links=[
|
|
'https://testpypi.python.org/pypi',
|
|
|
|
],
|
|
entry_points = {
|
|
"console_scripts": [
|
|
"cbpi=cbpi.cli:main",
|
|
]
|
|
}
|
|
)
|