forked from slashml/gatewayz-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
84 lines (80 loc) · 2.7 KB
/
Copy pathsetup.py
File metadata and controls
84 lines (80 loc) · 2.7 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
"""Setup configuration for GatewayzApi Python SDK."""
from setuptools import find_packages, setup
# Read requirements from requirements.txt
with open("requirements.txt") as f:
requirements = [line.strip() for line in f if line.strip() and not line.startswith("#")]
# Read README for long description
with open("README.md", encoding="utf-8") as f:
long_description = f.read()
setup(
name="gatewayz",
version="0.1.0",
description="Python SDK for GatewayzApi - Auto-generated by docsalot from OpenAPI specification",
long_description=long_description,
long_description_content_type="text/markdown",
author="Your Organization",
author_email="support@example.com",
url="https://github.com/yourusername/gatewayz-python",
project_urls={
"Documentation": "https://docs.example.com",
"Source": "https://github.com/yourusername/gatewayz-python",
"Bug Tracker": "https://github.com/yourusername/gatewayz-python/issues",
},
# Map current directory to package name 'gatewayz'
package_dir={"gatewayz": "."},
# Explicitly list all packages
packages=[
"gatewayz",
"gatewayz.core",
"gatewayz.types",
"gatewayz.errors",
"gatewayz.activity",
"gatewayz.admin",
"gatewayz.authentication",
"gatewayz.chat",
"gatewayz.chat_history",
"gatewayz.coupons",
"gatewayz.debug",
"gatewayz.models",
"gatewayz.notifications",
"gatewayz.plans",
"gatewayz.providers",
"gatewayz.ranking",
"gatewayz.stripe_payments",
"gatewayz.subscription",
"gatewayz.trial",
],
package_data={
"gatewayz": ["py.typed"],
},
install_requires=requirements,
extras_require={
"dev": [
"pytest>=7.0.0",
"pytest-asyncio>=0.21.0",
"black>=23.0.0",
"isort>=5.12.0",
"mypy>=1.0.0",
"ruff>=0.1.0",
],
},
python_requires=">=3.7",
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
],
keywords="api sdk gatewayz docsalot openapi",
license="MIT",
zip_safe=False,
include_package_data=True,
)