-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from OpenVoiceOS/release-0.1.4a1
Release 0.1.4a1
- Loading branch information
Showing
4 changed files
with
21 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
ovos-utils >= 0.1.0 | ||
ovos-bus-client>=0.0.9 | ||
ovos-workshop>=0.0.16 | ||
ovos-workshop>=0.0.16,<2.0.0 | ||
tutubo>=2.0.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ | |
from os.path import dirname, join | ||
|
||
from setuptools import setup | ||
import os | ||
|
||
URL = "https://github.com/OpenVoiceOS/skill-ovos-youtube-music" | ||
SKILL_CLAZZ = "YoutubeMusicSkill" # needs to match __init__.py class name | ||
|
@@ -55,6 +56,19 @@ def get_version(): | |
return version | ||
|
||
|
||
def get_requirements(requirements_filename: str): | ||
requirements_file = path.join(path.abspath(path.dirname(__file__)), | ||
requirements_filename) | ||
with open(requirements_file, 'r', encoding='utf-8') as r: | ||
requirements = r.readlines() | ||
requirements = [r.strip() for r in requirements if r.strip() | ||
and not r.strip().startswith("#")] | ||
if 'MYCROFT_LOOSE_REQUIREMENTS' in os.environ: | ||
print('USING LOOSE REQUIREMENTS!') | ||
requirements = [r.replace('==', '>=').replace('~=', '>=') for r in requirements] | ||
return requirements | ||
|
||
|
||
setup( | ||
name=PYPI_NAME, | ||
version=get_version(), | ||
|
@@ -67,9 +81,7 @@ def get_version(): | |
author_email='[email protected]', | ||
license='Apache-2.0', | ||
include_package_data=True, | ||
install_requires=["ovos-plugin-manager>=0.0.1a3", | ||
"tutubo", | ||
"ovos_workshop~=0.0,>=0.0.5"], | ||
install_requires=get_requirements("requirements.txt"), | ||
keywords='ovos skill plugin', | ||
entry_points={'ovos.plugin.skill': PLUGIN_ENTRY_POINT} | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# START_VERSION_BLOCK | ||
VERSION_MAJOR = 0 | ||
VERSION_MINOR = 1 | ||
VERSION_BUILD = 3 | ||
VERSION_ALPHA = 0 | ||
VERSION_BUILD = 4 | ||
VERSION_ALPHA = 1 | ||
# END_VERSION_BLOCK |