Skip to content

Commit

Permalink
Pin mozinfo version, improved description, and use cli instead of main.
Browse files Browse the repository at this point in the history
  • Loading branch information
davehunt committed May 23, 2012
1 parent 7996ac1 commit 723f8d0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions mozdownload/mozdownload.py
Expand Up @@ -22,7 +22,7 @@
'tinderbox': scraper.TinderboxScraper }


def main():
def cli():
"""Main function for the downloader"""

usage = 'usage: %prog [options]'
Expand Down Expand Up @@ -146,4 +146,4 @@ def main():
build.download()

if __name__ == "__main__":
main()
cli()
6 changes: 3 additions & 3 deletions setup.py
Expand Up @@ -14,11 +14,11 @@

version = '1.0'

deps = ['mozinfo']
deps = ['mozinfo==0.3.3']

setup(name='mozdownload',
version=version,
description='Mozilla binary downloader',
description='Script to download builds for Firefox and Thunderbird from the Mozilla server.',
long_description=description,
classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
keywords='mozilla',
Expand All @@ -32,6 +32,6 @@
entry_points="""
# -*- Entry points: -*-
[console_scripts]
mozdownload = mozdownload:main
mozdownload = mozdownload:cli
""",
)

0 comments on commit 723f8d0

Please sign in to comment.