Skip to content

Commit

Permalink
set up the console script
Browse files Browse the repository at this point in the history
  • Loading branch information
claytron committed Jun 14, 2011
1 parent fa0a764 commit caa3c0a
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
19 changes: 19 additions & 0 deletions ever2simple/core.py
@@ -0,0 +1,19 @@
class EverConverter(object):
"""Evernote conversion runner
"""

def __init__(self, exen_file, simple_file=None):
self.exen_file = exen_file
self.simple_file = simple_file

def convert(self):
print "oh hai"


def main():
converter = EverConverter("fake file")
converter.convert()


if __name__ == '__main__':
main()
5 changes: 4 additions & 1 deletion setup.py
Expand Up @@ -19,5 +19,8 @@
include_package_data=True,
zip_safe=False,
install_requires=[],
entry_points="""""",
entry_points="""
[console_scripts]
ever2simple = ever2simple.core:main
""",
)

0 comments on commit caa3c0a

Please sign in to comment.