Skip to content

Commit

Permalink
Update license and copyright info
Browse files Browse the repository at this point in the history
  • Loading branch information
gaelen committed Nov 19, 2012
1 parent b2c1923 commit 4b82d72
Show file tree
Hide file tree
Showing 6 changed files with 264 additions and 207 deletions.
26 changes: 24 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,30 @@
*.DS_Store
*.py[co]
*.py[cod]

# C extensions
*.so

# Packages
*.egg
*.egg-info
dist
build
eggs
parts
bin
var
sdist
develop-eggs
.installed.cfg
lib
lib64

# Installer logs
pip-log.txt

# Unit test / coverage reports
.coverage
.tox
nosetests.xml

# Translations
*.mo
417 changes: 215 additions & 202 deletions LICENSE

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions NOTICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Copyright (C) 2012 Gaelen Hadlett <gaelenh@gmail.com>

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
6 changes: 4 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
# -*- coding: utf-8 -*-
#
# This file is part of python-statsd-client released under the Apache
# License, Version 2.0. See the NOTICE for more information.

from __future__ import absolute_import
from distutils.core import setup
import os

from statsd import __version__


def main():
cwd = os.path.dirname(os.path.abspath(__file__))
path = os.path.join(cwd, 'README.txt')
Expand All @@ -18,7 +21,6 @@ def main():
license='Apache 2.0',
author='Gaelen Hadlett',
author_email='gaelenh@gmail.com',

url='https://github.com/gaelenh/python-statsd-client',
py_modules=['statsd'],
keywords=['statsd', 'graphite', 'stats'],
Expand Down
5 changes: 4 additions & 1 deletion statsd.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# -*- coding: utf-8 -*-
#
# This file is part of python-statsd-client released under the Apache
# License, Version 2.0. See the NOTICE for more information.

from __future__ import absolute_import
import random
Expand All @@ -11,7 +15,6 @@
STATSD_SAMPLE_RATE = None
STATSD_BUCKET_PREFIX = None


def decrement(bucket, delta=1, sample_rate=None):
_statsd.decr(bucket, delta, sample_rate)

Expand Down
4 changes: 4 additions & 0 deletions statsd_test.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# -*- coding: utf-8 -*-
#
# This file is part of python-statsd-client released under the Apache
# License, Version 2.0. See the NOTICE for more information.

import unittest
import socket
Expand Down

0 comments on commit 4b82d72

Please sign in to comment.