Skip to content

Commit

Permalink
rename the name of entry point.
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyseek committed Sep 20, 2014
1 parent bc62764 commit f16b964
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion doc/export.rst
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ example::
name='honcho-foo',
...
entry_points={
'honcho_exports': [
'honcho_exporters': [
'honcho_foo.export.foo:FooExport',
'honcho_foo.export.foobar:FooBarExport',
],
Expand Down
2 changes: 1 addition & 1 deletion honcho/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
BASENAME = os.path.basename(os.getcwd())

export_choices = dict((_export.name, _export)
for _export in iter_entry_points('honcho_exports'))
for _export in iter_entry_points('honcho_exporters'))

try:
# Python 3
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
'console_scripts': [
'honcho=honcho.command:main'
],
'honcho_exports': [
'honcho_exporters': [
'upstart=honcho.export.upstart:Export',
'supervisord=honcho.export.supervisord:Export',
],
Expand Down

0 comments on commit f16b964

Please sign in to comment.