-
-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathpyproject.toml
More file actions
136 lines (127 loc) · 4.83 KB
/
pyproject.toml
File metadata and controls
136 lines (127 loc) · 4.83 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
# use Run Config 0, or... (e.g., to test)
#
# cd ApiLogicServer-src
# delete the build & dist directories
# $ python3 -m build
#
# cd ApiLogicServer # with venv
# python3 -m pip install /Users/val/dev/ApiLogicServer/ApiLogicServer-dev/org_git/ApiLogicServer-src
[build-system]
requires = ["setuptools >= 61.0"]
build-backend = "setuptools.build_meta"
[tool.setuptools.dynamic]
version = {attr = "api_logic_server_cli.api_logic_server.__version__"}
# this solves the dup-subdirs-at-root problem
# [tool.setuptools]
# package-dir = {"api_logic_server" = "api_logic_server"}
# packages=[find_packages()]
# packages=find_packages()
# https://stackoverflow.com/questions/75879256/pyproject-toml-package-flat-layout
[tool.setuptools.packages.find]
include = ["api_logic_server_cli*"]
exclude = ["*.__pycache__", "*.pyc", "*.pyo", "*.pyd", "*~", "*.so", "*.egg-info"]
namespaces = true
[project]
dependencies = [
"PyJWT>=2.12.0",
"python-dateutil==2.8.2",
"SQLAlchemy-Utils==0.38.2",
"logicbankutils==0.6.0",
"inflect==5.0.2",
"inflection==0.5.1",
# from safrs, but stipulate version#s
# e.g., omit CORS and the build fails
"Flask>=3.1.3",
"Flask-Cors>=6.0.0",
"Flask-RESTful>=0.3.9",
"flask-restful-swagger-2>=0.35",
"Flask-SQLAlchemy==3.0.3",
"flask-swagger-ui>=4.11.1",
"flask_bcrypt==1.0.1",
"itsdangerous>=2.2.0",
"Jinja2>=3.1.6",
"MarkupSafe==2.1.3",
# "pyodbc==4.0.34",
"six==1.16.0",
"SQLAlchemy>=2.0.48",
"Werkzeug>=3.0.0",
# 2.3.3 caused Poetry to fail per safrs conflict (Werkzeug>=2.3.8), 2.3.8 fails to build
"safrs>=3.1.7",
"Flask-Admin==1.5.7",
"Flask-JWT-Extended>=4.7.1",
"Flask-Login>=0.6.3",
"Flask-OpenID==1.3.0",
"python-dotenv==1.2.2",
"email-validator==1.1.1",
"LogicBank>=1.31.02",
# https://stackoverflow.com/questions/71354710/cryptography-package-is-required-for-sha256-password-or-caching-sha2-password
# "PyMySQL==1.0.3[rsa]",
# "PyMySQL==1.0.3+rsa",
"cryptography>=46.0.7; (platform_system != 'Windows' or platform_machine != 'ARM64') and platform_machine != 'aarch64'",
"cryptography>=46.0.7,<47; platform_machine == 'aarch64'",
"rsa",
"PyMySQL>=1.1.1",
"oracledb==2.1.2; python_version < '3.13' and platform_machine != 'aarch64' and platform_machine != 'ARM64'",
"oracledb>=2.5.0; python_version >= '3.13' and platform_machine != 'aarch64' and platform_machine != 'ARM64'",
"requests>=2.33.0",
"chardet<6",
"gunicorn==22.0.0",
# "psycopg2-binary==2.9.5",
"psycopg2-binary>=2.9.5; python_version < '3.13'",
"psycopg[binary]>=3.1.0; python_version >= '3.13' and (platform_system != 'Windows' or platform_machine != 'ARM64')",
"dotmap==1.3.25",
"WTForms==2.3.3",
"behave==1.2.6",
"alembic==1.7.7",
"python-ulid==2.7.0",
"psutil>=6.1.0",
"GeoAlchemy2==0.12.5",
"confluent-kafka>=2.6.0; platform_system != 'Windows' or platform_machine != 'ARM64'",
"translate==3.6.1",
"libretranslatepy==2.1.1",
"reportlab==4.2.0",
"xlsxwriter==3.2.0",
"natsort==8.4.0",
"astor==0.8.1",
# https://stackoverflow.com/questions/56678060/why-is-python-3-not-recognizing-colorama/56678374
"colorama==0.4.6",
"openai==1.55.3"
]
name = "ApiLogicServer"
authors = [
{name = "Val Huber", email = "apilogicserver@gmail.com"},
]
dynamic = ["version"]
keywords = ["Flask", "SQLAlchemy", "Rules", "WebApp", "Microservice", "ReactAdmin", "Angular"]
requires-python = ">=3.10"
# zip_safe=False
# platforms="any"
readme = "README.md"
license = {file = "LICENSE"}
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.8",
"Topic :: Software Development :: Libraries :: Python Modules",
]
[project.urls]
Homepage = "https://www.genai-logic.com"
Docs = "https://apilogicserver.github.io/Docs/Doc-Home/"
Source = "https://github.com/ApiLogicServer/ApiLogicServer-src"
Issues = "https://github.com/ApiLogicServer/ApiLogicServer-src/issues"
# comment tmb
# define CLI entry points
[project.scripts]
ApiLogicServer = "api_logic_server_cli.cli:start"
als = "api_logic_server_cli.cli:start"
gl = "api_logic_server_cli.cli:start"
gal = "api_logic_server_cli.cli:start"
gail = "api_logic_server_cli.cli:start"
genai-logic = "api_logic_server_cli.cli:start"