Compare commits
2 Commits
5a2ad122f5
...
f28cbb920d
Author | SHA1 | Date |
---|---|---|
|
f28cbb920d | |
|
ffb476c587 |
|
@ -6,12 +6,11 @@ Pulses is a python module to drive LEDs on RPi using PWM (Pulse Width Modulation
|
||||||
|
|
||||||
1. Clone the repo
|
1. Clone the repo
|
||||||
|
|
||||||
`git clone https://web.mistrali.pw/gitea/musicalbox/pulses.git`
|
`https://gitea.mistrali.pw/musicalbox/pulses.git`
|
||||||
|
|
||||||
2. `apt-get install python3-venv`
|
|
||||||
3. `pip install requirements-dev.txt`
|
3. `pip install requirements-dev.txt`
|
||||||
4. `./build.sh`
|
4. `poetry build`
|
||||||
5. `pip install dist/pulses-0.90-py3-none-any.whl`
|
5. `pip install dist/pulses-<version>-py3-none-any.whl`
|
||||||
|
|
||||||
|
|
||||||
### GPIO and PWM
|
### GPIO and PWM
|
||||||
|
|
9
build.sh
9
build.sh
|
@ -1,9 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
if [ "$1" = "clean" ]; then
|
|
||||||
rm -rf build
|
|
||||||
rm -rf dist
|
|
||||||
rm -rf *.egg-info
|
|
||||||
fi
|
|
||||||
|
|
||||||
python -m build .
|
|
|
@ -1,6 +1,6 @@
|
||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "pulses"
|
name = "pulses"
|
||||||
version = "0.90"
|
version = "1.0.0"
|
||||||
description = "Pulse LEDs on RPi"
|
description = "Pulse LEDs on RPi"
|
||||||
authors = ["Andrea Mistrali <andrea@mistrali.pw>"]
|
authors = ["Andrea Mistrali <andrea@mistrali.pw>"]
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
|
@ -9,6 +9,9 @@ readme = "README.md"
|
||||||
python = "^3.11"
|
python = "^3.11"
|
||||||
docopt = "^0.6.2"
|
docopt = "^0.6.2"
|
||||||
|
|
||||||
|
[tool.poetry.scripts]
|
||||||
|
pulses = "pulses.cli:main"
|
||||||
|
|
||||||
|
|
||||||
[build-system]
|
[build-system]
|
||||||
requires = ["poetry-core"]
|
requires = ["poetry-core"]
|
||||||
|
|
21
setup.cfg
21
setup.cfg
|
@ -1,21 +0,0 @@
|
||||||
[metadata]
|
|
||||||
name = pulses
|
|
||||||
version = 0.90
|
|
||||||
author = Andrea Mistrali
|
|
||||||
author_email = akelge@gmail.com
|
|
||||||
platform = linux
|
|
||||||
description = RPI led(s) and display brightness
|
|
||||||
long_description = file: README.md
|
|
||||||
keywords = graylog, py3
|
|
||||||
license = BSD 3-Clause License
|
|
||||||
|
|
||||||
[options]
|
|
||||||
packages = pulses
|
|
||||||
python_requires = >=3
|
|
||||||
include_package_data = True
|
|
||||||
install_requires =
|
|
||||||
docopt
|
|
||||||
|
|
||||||
[options.entry_points]
|
|
||||||
console_scripts =
|
|
||||||
pulses = pulses.cli:main
|
|
Loading…
Reference in New Issue