| # This Source Code Form is subject to the terms of the Mozilla Public |
| # License, v. 2.0. If a copy of the MPL was not distributed with this file, |
| # You can obtain one at http://mozilla.org/MPL/2.0/. |
| |
| import os |
| import sys |
| from setuptools import setup |
| |
| PACKAGE_NAME = "mozlog" |
| PACKAGE_VERSION = "1.1" |
| |
| desc = """Robust log handling specialized for logging in the Mozilla universe""" |
| # take description from README |
| here = os.path.dirname(os.path.abspath(__file__)) |
| try: |
| description = file(os.path.join(here, 'README.md')).read() |
| except IOError, OSError: |
| description = '' |
| |
| setup(name=PACKAGE_NAME, |
| version=PACKAGE_VERSION, |
| description=desc, |
| long_description=description, |
| author='Mozilla Automation and Testing Team', |
| author_email='tools@lists.mozilla.org', |
| url='https://wiki.mozilla.org/Auto-tools/Projects/MozBase', |
| license='MPL 1.1/GPL 2.0/LGPL 2.1', |
| packages=['mozlog'], |
| zip_safe=False, |
| platforms =['Any'], |
| classifiers=['Development Status :: 4 - Beta', |
| 'Environment :: Console', |
| 'Intended Audience :: Developers', |
| 'License :: OSI Approved :: Mozilla Public License 1.1 (MPL 1.1)', |
| 'Operating System :: OS Independent', |
| 'Topic :: Software Development :: Libraries :: Python Modules', |
| ] |
| ) |