Skip to content

Instantly share code, notes, and snippets.

@igable
Created March 25, 2012 07:22
Show Gist options
  • Save igable/2192095 to your computer and use it in GitHub Desktop.
Save igable/2192095 to your computer and use it in GitHub Desktop.
librato 0.1 pypi package setup
#!/usr/bin/python
# Copyright (c) 2012 Chris Moyer http://coredumped.org
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish, dis-
# tribute, sublicense, and/or sell copies of the Software, and to permit
# persons to whom the Software is furnished to do so, subject to the fol-
# lowing conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABIL-
# ITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
# SHALL THE AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
from librato import __version__
setup(name = "librato",
version = __version__,
description = "Python API Wrapper for Librato",
long_description="Python Wrapper for the Librato Metrics API: http://dev.librato.com/v1/metrics",
author = "Chris Moyer",
author_email = "kopertop@gmail.com",
url = "http://dev.librato.com/v1/metrics",
packages = find_packages(exclude=['ez_setup', 'example']),
include_package_data = True,
license = 'MIT',
scripts = [],
platforms = 'Posix; MacOS X; Windows',
classifiers = [
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Topic :: Internet',
],
dependency_links = [],
install_requires = [],
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment