forked from Azure/azure-event-hubs-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
28 lines (23 loc) · 955 Bytes
/
setup.py
File metadata and controls
28 lines (23 loc) · 955 Bytes
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
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------
"""
Setup the eventhubs module.
"""
import sys
import eventhubs
from setuptools import setup
def find_packages():
"""Return packages based on sys version."""
if sys.version_info[0] >= 3:
return ['eventhubs', 'eventhubs.async', 'eventprocessorhost']
return ['eventhubs']
setup(name='eventhubs',
version=eventhubs.__version__,
description='Python client library for Azure Event Hubs',
url='http://github.com/azure/azure-event-hubs-python',
author='microsoft',
license='MIT',
packages=find_packages(),
zip_safe=False)