-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·35 lines (27 loc) · 750 Bytes
/
Copy pathsetup.py
File metadata and controls
executable file
·35 lines (27 loc) · 750 Bytes
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
#!/usr/bin/env python
from __future__ import print_function
from setuptools import setup
long_description = '...'
for _fln in ('README.rst', 'README.md'):
try:
with open(_fln) as fo:
long_description = fo.read()
except Exception as exc:
pass
else:
break
setup_kwargs = dict(
name='BeatCop',
version='1.0',
description='Cluster singleton manager',
long_description=long_description,
author='??',
author_email='unspecified@example.com',
maintainer='HoverHell',
maintainer_email='hoverhell@gmail.com',
url='https://github.com/Luluvise/BeatCop',
requires=['redis(>=2.9.1)'],
scripts=['beatcop.py'],
)
if __name__ == '__main__':
setup(**setup_kwargs)