Skip to content
This repository has been archived by the owner on Jan 11, 2022. It is now read-only.

Commit

Permalink
expose main launcher in package too
Browse files Browse the repository at this point in the history
This unbreaks the setuptools entry point since it wants to call
`yamlreader.__main` and not `yamlreader.yamlreader.__main`

This resolves #9
  • Loading branch information
mriehl committed Jan 18, 2017
1 parent 750295e commit 99daeef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/python/yamlreader/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

from __future__ import print_function, absolute_import, unicode_literals, division

from .yamlreader import data_merge, yaml_load, YamlReaderError
from .yamlreader import data_merge, yaml_load, YamlReaderError, __main

__all__ = ['data_merge', 'yaml_load', 'YamlReaderError']
__all__ = ['data_merge', 'yaml_load', 'YamlReaderError', '__main']

0 comments on commit 99daeef

Please sign in to comment.