Skip to content

Commit

Permalink
entry points attempt for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
jpoehnelt committed Jul 17, 2017
1 parent 1408a41 commit 02da74f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,7 @@

from descarteslabs.scripts.parser import parser, handle

if __name__ == "__main__":

def main():
handle(parser.parse_args())

8 changes: 5 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,11 @@ def do_setup():
kwargs['version'] = version
kwargs['packages'] = find_packages('.')
kwargs['package_data'] = {'descarteslabs.services': ['gd_bundle-g2-g1.crt']}
kwargs['scripts'] = [
'descarteslabs/scripts/descarteslabs',
]
kwargs['entry_points'] = {
'console_scripts': [
'descarteslabs = descarteslabs.scripts.__main__:main'
]
}
kwargs['install_requires'] = [
"cachetools",
"six"
Expand Down

0 comments on commit 02da74f

Please sign in to comment.