-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
54 lines (50 loc) · 2.05 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
44
45
46
47
48
49
50
51
52
53
54
#!/usr/bin/env python
import microservices_connector
from setuptools import setup, find_packages
# python setup.py register -r pypi
# python setup.py sdist bdist_wheel
# twine upload dist/*
# I really prefer Markdown to reStructuredText. PyPi does not. This allows me
# to have things how I'd like, but not throw complaints when people are trying
# to install the package and they don't have pypandoc or the README in the
# right place.
readme = ''
try:
import pypandoc
readme = pypandoc.convert('README.md', 'rst', format='md')
with open('README.rst', 'w') as out:
out.write(readme)
except (IOError, ImportError):
readme = ''
setup(
name='microservices_connector',
version='0.3.7',
description='Inter-Service communication framework, support for microservice architecture and distributed system via http',
long_description='README.rst',
author='Minh Tuan Nguyen',
author_email='[email protected]',
license='BSD',
platforms='any',
url='https://github.com/minhtuan221/Microservices-connector',
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: BSD License',
'Environment :: Web Environment',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Application',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'Topic :: Software Development :: Libraries :: Python Modules',
],
keywords=['microservice', 'http', 'flask', 'sanic', 'websockets'],
# entry_points={'console_scripts': [
# 'microservices_connector = microservices_connector:main',
# ]},
packages=find_packages(exclude=('test*', 'testpandoc*','image*','runtest*')),
include_package_data=False,
install_requires=['flask', 'requests',
'sanic', 'websockets', 'websocket_client'],
)