Skip to content

Commit

Permalink
🎉 - packaging (#1)
Browse files Browse the repository at this point in the history
* 🎉 - packaging
authored-by: jarbasai <jarbasai@mailfence.com>
  • Loading branch information
JarbasAl committed Dec 8, 2021
1 parent a7e8da1 commit 322ecc4
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
5 changes: 5 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
recursive-include dialog *
recursive-include vocab *
recursive-include locale *
recursive-include res *
recursive-include ui *
26 changes: 26 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#!/usr/bin/env python3
from setuptools import setup

# skill_id=package_name:SkillClass
PLUGIN_ENTRY_POINT = 'mycroft-weather.mycroftai=ovos_skill_weather:WeatherSkill'
# in this case the skill_id is defined to purposefully replace the mycroft version of the skill,
# or rather to be replaced by it in case it is present. all skill directories take precedence over plugin skills


setup(
# this is the package name that goes on pip
name='ovos-skill-weather',
version='0.0.1',
description='OVOS weather skill plugin',
url='https://github.com/OpenVoiceOS/skill-weather',
author='JarbasAi',
author_email='jarbasai@mailfence.com',
license='Apache-2.0',
package_dir={"ovos_skill_weather": ""},
package_data={'ovos_skill_weather': ['locale/*', "ui/*", "skill/*"]},
packages=['ovos_skill_weather'],
include_package_data=True,
install_requires=["ovos-plugin-manager>=0.0.2"],
keywords='ovos skill plugin',
entry_points={'ovos.plugin.skill': PLUGIN_ENTRY_POINT}
)

0 comments on commit 322ecc4

Please sign in to comment.