forked from py-sherlock/sherlock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
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
from setuptools import setup, find_packages
__title__ = 'sherlock'
__version__ = '.'.join(map(str, (0, 3, 2)))
__author__ = 'Vaidik Kapoor'
import os
# get path of repo files
path = lambda fname: os.path.join(os.path.dirname(__file__), fname)
description = ''
for file_ in ('README.rst', 'CHANGELOG.rst'):
with open(path('%s' % file_)) as f:
description += f.read() + '\n\n'
setup(
name='sherlock',
version=__version__,
author='Vaidik Kapoor',
author_email='kapoor.vaidik@gmail.com',
description=('Distributed inter-process locks with a choice of backend.'),
long_description=description,
platforms=('Any',),
packages=find_packages(exclude=['tests']),
include_package_data=True,
install_requires=[
'redis',
],
zip_safe = False,
classifiers = [
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
],
test_suite='nose.collector',
tests_require=[
'nose',
'mock',
]
)