-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
40 lines (37 loc) · 1.21 KB
/
setup.py
File metadata and controls
40 lines (37 loc) · 1.21 KB
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
# coding: utf-8
from setuptools import setup, find_packages
import os
NAME = os.getenv("PYPI_PACKAGE_NAME") or "emnify-sdk"
VERSION = "0.5.0"
# To install the library, run the following
#
# python -m build --sdist --wheel
#
# prerequisite: build
# https://pypi.org/project/build/
REQUIRES = [
"requests>=2.27.0,<2.33.0",
"urllib3>=1.21.1,<1.27",
"pydantic>=1.9.0,<2.0.0",
]
if __name__ == "__main__":
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setup(
name=NAME,
version=VERSION,
description="Supply your swarm of IoT Devices with cloud connectivity by EMnify. Automate your routines with this SDK for Python.",
author="EMnify",
author_email="",
url="https://github.com/EMnify/emnify-sdk-python",
keywords=["Swagger", "EMnify Python SDK", "IoT"],
project_urls={
"Bug Tracker": "https://github.com/EMnify/emnify-sdk-python",
},
install_requires=REQUIRES,
python_requires=">=3.9",
packages=find_packages(exclude=["tests"]),
include_package_data=True,
long_description=long_description,
long_description_content_type="text/markdown",
)