forked from dlecocq/nsq-py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·43 lines (38 loc) · 1.12 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
#! /usr/bin/env python
import sys
from nsq import __version__
extra = {}
from setuptools import setup
if sys.version_info >= (3,):
extra['use_2to3'] = True
setup(name = 'nsq-py',
version = __version__,
description = 'NSQ for Python With Pure Sockets',
url = 'https://github.com/dlecocq/nsq-py',
author = 'Dan Lecocq',
author_email = '[email protected]',
license = "MIT License",
keywords = 'nsq, queue',
packages = ['nsq', 'nsq.http', 'nsq.sockets'],
package_dir = {'nsq': 'nsq', 'nsq.http': 'nsq/http', 'nsq.sockets': 'nsq/sockets'},
classifiers = [
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Intended Audience :: Developers',
'Operating System :: OS Independent'
],
install_requires=[
'requests',
'decorator',
'url',
'statsd'
],
tests_requires=[
'nose',
'coverage'
],
scripts = [
'bin/nsqlookupd-statsd'
],
**extra
)