/
setup.py
40 lines (37 loc) · 1.14 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
from __future__ import print_function
from setuptools import setup
from pip.req import parse_requirements
from os.path import join, dirname, abspath
import re
def get_version_from(file):
version = re.search(
'^__version__\s*=\s*\'(.*)\'',
open(file).read(),
re.M
).group(1)
return version
version = get_version_from(join(dirname(__file__), 'gaw', '__init__.py'))
setup(
name = 'gaw',
packages = ['gaw',
'gaw.jsonsocketserver',
'gaw.postoffice',
'gaw.cli',
'gaw.serializable'],
install_requires=[
'future',
'PyJWT',
'pycrypto',
'python-dateutil',
],
entry_points={
"console_scripts": ['gaw = gaw.cli.servicerunner:servicerunner_cli']
},
version = version,
description = 'A small library that helps you developing microservices over simple TCP socket with ease',
author = 'Konpat Preechakul',
author_email = 'the.akita.ta@gmail.com',
url = 'https://github.com/phizaz/gaw', # use the URL to the github repo
keywords = ['microservice'] , # arbitrary keywords
classifiers = [],
)