Skip to content

NPE plugins apt_requirements.txt file - #322

Merged
aaronchantrill merged 1 commit into
NaomiProject:naomi-devfrom
aaronchantrill:npe_apt_requirements
Feb 2, 2021
Merged

aaronchantrill merged 1 commit into
NaomiProject:naomi-devfrom
aaronchantrill:npe_apt_requirements

Conversation

@aaronchantrill

Copy link
Copy Markdown
Contributor

Description

Get NPE to read a list of packages from an apt_requirements.txt
file in the plugin root directory and install them.

Related Issue

Mozilla Deepspeech PyPi module is not available for x86 #310

Motivation and Context

Naomi plugins may have both python requirements that can be taken care of through pip and system requirements which would have to be taken care of through package managers like apt, yum, zypper, pacman, etc.

How Has This Been Tested?

Tested by installing the new Deepspeech plugin through the NPE. All unittests passed.

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Get NPE to read a list of packages from an apt_requirements.txt
file in the plugin root directory and install them.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant