-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
59 lines (49 loc) · 1.95 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
55
56
57
58
59
from setuptools import setup, find_packages
from codecs import open
import os
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
with open('requirements.txt') as f:
reqLines = f.readlines()
REQUIREMENTS = [reqLine.replace('\r', '').replace('\n', '') for reqLine in reqLines]
VERSION = '1.3.7'
PACKAGE_NAME = 'PikaBus'
setup(
name=PACKAGE_NAME, # Required
version=VERSION, # Required
description='Pika bus wrapper for amqp messaging with RabbitMq', # Required
long_description=long_description, # Optional
long_description_content_type='text/x-rst', # Optional
author='Hans Erik Heggem', # Optional
author_email='[email protected]', # Optional
include_package_data=True,
platforms='all',
classifiers=[ # Optional
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Topic :: Communications', 'Topic :: Internet',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: System :: Networking',
'License :: OSI Approved :: MIT License',
'Operating System :: MacOS',
'Operating System :: POSIX',
'Operating System :: Microsoft',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
],
keywords='pika RabbitMQ amqp', # Optional
packages=find_packages(exclude=['contrib', 'docs', '*tests']), # Required
install_requires=REQUIREMENTS, # Optional
extras_require={ # Optional
'dev': ['check-manifest'],
'test': ['coverage'],
},
project_urls={
'Documentation': 'https://pikabus.readthedocs.org/',
'Source': 'https://github.com/hansehe/PikaBus',
},
)