Skip to content

Commit

Permalink
Update demo package setup to read dependency versions from requiremen…
Browse files Browse the repository at this point in the history
…t file (#1367)
  • Loading branch information
picoliu authored Feb 5, 2025
1 parent 7644d71 commit fe2f158
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions demo/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,20 @@
with open(os.path.join(os.path.dirname(__file__), 'README.md'), 'r') as f:
long_description = f.read()

with open(os.path.join(os.path.dirname(__file__), "requirements.txt"), "r") as f:
dependencies = f.read().strip().splitlines()

setuptools.setup(
name="pvporcupinedemo",
version="3.0.4",
version="3.0.5",
author="Picovoice",
author_email="[email protected]",
description="Porcupine wake word engine demos",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/Picovoice/porcupine",
packages=["pvporcupinedemo"],
install_requires=["pvporcupine==3.0.4", "pvrecorder==1.2.4"],
install_requires=dependencies,
include_package_data=True,
classifiers=[
"Development Status :: 5 - Production/Stable",
Expand Down

0 comments on commit fe2f158

Please sign in to comment.