Permalink
Browse files

Update license and copyright info

  • Loading branch information...
1 parent b2c1923 commit 4b82d72eff421299df4cb14ba38cc720888d2a44 @gaelen committed Nov 19, 2012
Showing with 264 additions and 207 deletions.
  1. +24 −2 .gitignore
  2. +215 −202 LICENSE
  3. +13 −0 NOTICE
  4. +4 −2 setup.py
  5. +4 −1 statsd.py
  6. +4 −0 statsd_test.py
View
@@ -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
View
417 LICENSE
Oops, something went wrong.
View
13 NOTICE
@@ -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.
View
@@ -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')
@@ -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'],
View
@@ -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
@@ -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)
View
@@ -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

0 comments on commit 4b82d72

Please sign in to comment.