Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 | 2 |
| 3 # This Source Code Form is subject to the terms of the Mozilla Public | 3 # This Source Code Form is subject to the terms of the Mozilla Public |
| 4 # License, v. 2.0. If a copy of the MPL was not distributed with this file, | 4 # License, v. 2.0. If a copy of the MPL was not distributed with this file, |
| 5 # You can obtain one at http://mozilla.org/MPL/2.0/. | 5 # You can obtain one at http://mozilla.org/MPL/2.0/. |
| 6 | 6 |
| 7 | 7 |
| 8 import os | 8 import os |
| 9 from setuptools import setup, find_packages | 9 from setuptools import setup |
| 10 | 10 |
| 11 try: | 11 try: |
| 12 here = os.path.dirname(os.path.abspath(__file__)) | 12 here = os.path.dirname(os.path.abspath(__file__)) |
| 13 description = file(os.path.join(here, 'README.md')).read() | 13 description = file(os.path.join(here, 'README.md')).read() |
| 14 except (OSError, IOError): | 14 except (OSError, IOError): |
| 15 description = None | 15 description = None |
| 16 | 16 |
| 17 version = '1.6' | 17 version = '1.19' |
| 18 | 18 |
| 19 deps = ['mozinfo==0.3.3'] | 19 deps = ['mozinfo >= 0.7', |
|
kjellander_chromium
2015/11/17 10:19:29
Considering that we have mozinfo 0.4 checked in (h
| |
| 20 'progressbar == 2.2', | |
| 21 'requests == 2.7.0', | |
| 22 ] | |
| 20 | 23 |
| 21 setup(name='mozdownload', | 24 setup(name='mozdownload', |
| 22 version=version, | 25 version=version, |
| 23 description='Script to download builds for Firefox and Thunderbird from th e Mozilla server.', | 26 description='Script to download builds for Firefox and Thunderbird ' |
| 27 'from the Mozilla server.', | |
| 24 long_description=description, | 28 long_description=description, |
| 25 # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers | 29 # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers |
| 26 classifiers=[], | 30 classifiers=[], |
| 27 keywords='mozilla', | 31 keywords='mozilla', |
| 28 author='Mozilla Automation and Testing Team', | 32 author='Mozilla Automation and Testing Team', |
| 29 author_email='tools@lists.mozilla.com', | 33 author_email='tools@lists.mozilla.com', |
| 30 url='http://github.com/mozilla/mozdownload', | 34 url='http://github.com/mozilla/mozdownload', |
| 31 license='Mozilla Public License 2.0 (MPL 2.0)', | 35 license='Mozilla Public License 2.0 (MPL 2.0)', |
| 32 packages = ['mozdownload'], | 36 packages=['mozdownload'], |
| 33 zip_safe=False, | 37 zip_safe=False, |
| 34 install_requires=deps, | 38 install_requires=deps, |
| 35 entry_points=""" | 39 entry_points=""" |
| 36 # -*- Entry points: -*- | 40 # -*- Entry points: -*- |
| 37 [console_scripts] | 41 [console_scripts] |
| 38 mozdownload = mozdownload:cli | 42 mozdownload = mozdownload.cli:cli |
| 39 """, | 43 """, |
| 40 ) | 44 ) |
| OLD | NEW |