-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathsetup.mustache
More file actions
34 lines (27 loc) · 871 Bytes
/
setup.mustache
File metadata and controls
34 lines (27 loc) · 871 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
29
30
31
32
33
34
# coding: utf-8
{{>partial_header}}
import os
import sys
from setuptools import setup, find_packages # noqa: H301
NAME = "{{{projectName}}}"
VERSION = os.environ['RELEASE_VERSION']
with open('README.md', 'r', encoding='utf-8') as fh:
long_description = fh.read()
with open('requirements.txt') as f:
REQUIRES = f.read().splitlines()
PYTHON_REQUIRES = ">=3.7"
setup(
name=NAME,
version=VERSION,
description="Bandwidth",
author="Bandwidth",
author_email="letstalk@bandwidth.com",
url="https://dev.bandwidth.com/sdks/python",
keywords=["OpenAPI", "OpenAPI-Generator", "Bandwidth"],
python_requires=PYTHON_REQUIRES,
install_requires=REQUIRES,
packages=find_packages(exclude=["test", "tests"]),
include_package_data=True,
long_description=long_description,
long_description_content_type='text/markdown'
)