-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
32 lines (28 loc) · 960 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
32
import os
from re import MULTILINE, search
from setuptools import setup
version = ""
with open("cloudflareai/__init__.py") as f:
version = search(
r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', f.read(), MULTILINE
).group(1)
if not version:
raise ValueError("Unable to find version string.")
setup(
name="cloudflareai",
author="alexraskin",
description="Cloudflare AI Python SDK",
version=version,
url="https://github.com/alexraskin/cloudflareai-py",
author_email="<[email protected]>",
license="Mozilla Public License 2.0",
keywords=["module", "Cloudflare", "library", "package", "python", "CloudflareAI"],
long_description_content_type="text/markdown",
long_description=open("README.md", encoding="utf-8").read(),
install_requires=["httpx"],
packages=["cloudflareai"],
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 3.11",
],
)