-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
34 lines (31 loc) · 944 Bytes
/
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
# -*- coding:utf-8 -*-
import re
from setuptools import setup, find_packages
try:
with open('README.rst') as f:
readme = f.read()
except IOError:
readme = ''
with open('pubsub_controller/__init__.py', 'r') as fd:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
fd.read(), re.MULTILINE).group(1)
setup(
name='pubsub_controller',
version=version,
description='It provides a resident process that periodically pull subscribes and publish on CLI and Python.',
long_description=readme,
author='SENSY Inc.',
url='https://github.com/COLORFULBOARD/pubsub_controller',
license='Apache 2.0',
install_requires=[
'google-cloud-pubsub==0.30.1',
'Click>=6.7',
'six>=1.11.0'
],
packages=find_packages(),
entry_points={
'console_scripts': [
'pubsubcontroller = pubsub_controller.pubsub_controller:cmd'
],
},
)