Skip to content

Commit

Permalink
Fixes #4
Browse files Browse the repository at this point in the history
  • Loading branch information
mottosso committed Oct 12, 2014
1 parent bdd584f commit 69ff1f3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion cquery/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,10 @@

import cquery.cli

if __name__ == '__main__':

def main():
cquery.cli.main(obj=dict(), prog_name="cquery")


if __name__ == '__main__':
main()
2 changes: 1 addition & 1 deletion cquery/version.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

VERSION_MAJOR = 0
VERSION_MINOR = 2
VERSION_PATCH = 0
VERSION_PATCH = 1

version_info = (VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH)
version = '%i.%i.%i' % version_info
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
include_package_data=True,
zip_safe=False,
entry_points={
'console_scripts': ['cquery = cquery.cli:main']
'console_scripts': ['cquery = cquery.__main__:main']
},
classifiers=[
'Development Status :: 3 - Alpha',
Expand Down

0 comments on commit 69ff1f3

Please sign in to comment.