-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathsetup.py
31 lines (26 loc) · 882 Bytes
/
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
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
import sys
import os
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "chargebee"))
if sys.version_info < (3, 11):
sys.exit("Sorry, Python < 3.11 is not supported")
import version
with open("README.md", "r") as file:
description = file.read()
requires = ["requests"]
setup(
name="chargebee",
version=version.VERSION,
author="Chargebee",
author_email="[email protected]",
url="https://apidocs.chargebee.com/docs/api?lang=python",
description="Python wrapper for the Chargebee Subscription Billing API",
packages=find_packages(exclude=["tests"]),
package_data={"chargebee": ["ssl/*.crt"]},
python_requires=">=3.11",
install_requires=requires,
test_suite="tests",
long_description=description,
long_description_content_type="text/markdown",
)