File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed
Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 22from pathlib import Path
33from setuptools import setup
44
5- _DIR = Path (__file__ ).parent
6- _MODULE_DIR = _DIR / "wyoming"
7- _VERSION = (_MODULE_DIR / "VERSION" ).read_text (encoding = "utf-8" ).strip ()
5+ this_dir = Path (__file__ ).parent
6+ module_dir = this_dir / "wyoming"
7+ version_path = module_dir / "VERSION"
8+ version = version_path .read_text (encoding = "utf-8" ).strip ()
9+
810
911# -----------------------------------------------------------------------------
1012
1113setup (
1214 name = "wyoming" ,
13- version = _VERSION ,
15+ version = version ,
1416 description = "Protocol for Rhasspy Voice Assistant" ,
1517 url = "http://github.com/rhasspy/wyoming" ,
1618 author = "Michael Hansen" ,
17191820 license = "MIT" ,
1921 packages = ["wyoming" , "wyoming.util" ],
22+ package_data = {"wyoming" : [str (p .relative_to (module_dir )) for p in (version_path ,)]},
2023 classifiers = [
2124 "Development Status :: 3 - Alpha" ,
2225 "Intended Audience :: Developers" ,
Original file line number Diff line number Diff line change 1- 1.5.1
1+ 1.5.2
You can’t perform that action at this time.
0 commit comments