Skip to content

Commit

Permalink
Install sample config under share/doc.
Browse files Browse the repository at this point in the history
  • Loading branch information
tonycpsu committed Oct 14, 2018
1 parent 24b048f commit f716af8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mlbstreamer/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@ def init_config(self):

raise Exception("""
Sorry, this configurator needs to be updated to reflect recent changes
to the config file. Until this is fixed, use the sample config
to the config file. Until this is fixed, use the sample config found
in the "docs" directory of the distribution.
""")

from .session import StreamSession, StreamSessionException
Expand Down
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
],
license = "GPLv2",
packages=find_packages(),
data_files=[
('share/doc/%s' % name, ["docs/config.yaml.sample"]),
],
include_package_data=True,
install_requires = [
"six",
Expand Down

0 comments on commit f716af8

Please sign in to comment.