forked from wolph/django-statsd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
44 lines (40 loc) · 1.21 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
import os
from setuptools import setup
# Little hack to make sure tests work
os.environ['DJANGO_SETTINGS_MODULE'] = 'tests.settings'
__package_name__ = 'django-statsd'
__version__ = '1.9.3'
__author__ = 'Rick van Hattem'
__author_email__ = '[email protected]'
__description__ = '''django-statsd is a django app that submits query and
view durations to Etsy's statsd.'''
__url__ = 'https://github.com/WoLpH/django-statsd'
if os.path.isfile('README.rst'):
long_description = open('README.rst').read()
else:
long_description = 'See http://pypi.python.org/pypi/django-statsd/'
setup(
name=__package_name__,
version=__version__,
author=__author__,
author_email=__author_email__,
description=__description__,
url=__url__,
license='BSD',
packages=['django_statsd'],
long_description=long_description,
test_suite='nose.collector',
tests_requires='''
python-statsd
nose
git+git://github.com/akheron/nosedjango@nose-and-django-versions#egg=nosedjango
coverage
django
mock
''',
setup_requires=['nose'],
install_requires=['python-statsd>=1.6.0'],
classifiers=[
'License :: OSI Approved :: BSD License',
],
)