-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
50 lines (41 loc) · 1.43 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
import codecs
from setuptools import setup
__version__ = "1.0.4"
def read(fname):
return codecs.open(
os.path.join(os.path.dirname(__file__), fname), "r", "utf-8"
).read()
readme = read("README.md")
if sys.argv[-1] == "publish":
os.system("python setup.py sdist")
os.system("twine upload dist/*")
os.system("git tag -a %s -m 'version %s'" % (__version__, __version__))
os.system("git push --tags")
sys.exit()
setup(
name="amqp-ko",
packages=["amqp_ko"],
version=__version__,
license="MIT",
description="Object oriented AMQP layer for microservices communication.",
long_description=readme,
long_description_content_type='text/markdown',
author="Michał Budziak",
author_email="michal.mariusz.b@gmail.com",
url="https://github.com/budziam/amqp-ko-python",
download_url="https://github.com/budziam/amqp-ko-python/archive/%s.tar.gz" % __version__,
keywords=["amqp-ko", "amqp", "microservice", "rabbitmq", "queue", "tools"],
install_requires=["aio-pika", "asyncio", "cached-property", "pika"],
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Topic :: Software Development :: Build Tools",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.7",
],
python_requires=">=3.7",
)