-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpyproject.toml
More file actions
227 lines (214 loc) · 7.23 KB
/
Copy pathpyproject.toml
File metadata and controls
227 lines (214 loc) · 7.23 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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
[build-system]
requires = ['setuptools>=82.0.1', 'wheel>=0.46.3', 'setuptools_scm[toml]>=9.2.2']
build-backend = 'setuptools.build_meta'
[tool.uv]
required-version = "0.10.9"
[project]
name = "baseapp_backend"
dynamic = ["version"]
description = "BaseApp"
readme = "README.md"
requires-python = ">=3.12"
license = "BSD-3-Clause"
authors = [
{ name = "The SilverLogic", email = "dev@tsl.io" }
]
urls = { Homepage = "https://github.com/silverlogic/baseapp-backend" }
dependencies = [
"Django>=5.2.13",
"daphne>=4.2.1",
"channels>=4.3.1",
"django-filter>=25.1",
"celery>=5.2.7",
"django-pgtrigger==4.17.0",
"swapper>=1.3",
"django-model-utils>=5.0.0",
"djangorestframework>=3.17.2,<3.18",
"drf-nested-routers>=0.93.5",
"djangorestframework-expander>=0.2.3",
"drf-extra-fields>=3.7.0",
"psycopg2-binary>=2.9",
"django-phonenumber-field>=8.1.0",
"phonenumbers>=9.0.12",
"easy_thumbnails>=2.10.1",
"djmail>=2.0",
"django-constance>=4.3.2",
"django_jinja>=2.11",
"django-pghistory==3.9.1",
"django-ipware>=7.0.1",
"python-ipware>=3.0.0",
"requests>=2.33.0",
"stevedore>=5.7.0",
"pydantic>=2.12.5",
"drf-spectacular==0.29.0",
"json-log-formatter>=1.1.1",
]
[project.optional-dependencies]
auth = [
"baseapp-django-trench>=0.4.4",
"djangorestframework-simplejwt[crypto]>=5.2,<5.6",
]
referrals = ["hashids==1.3.1"]
graphql = [
"graphene>=3.2",
"graphene-django>=3.2.0",
"graphene_django_optimizer>=0.10",
"django-graphql-geojson>=0.1.4",
"graphene-django-query-optimizer>=0.10.16",
"graphene-file-upload==1.3.0",
"baseapp-django-channels-graphql-ws==1.0.0rc9",
]
pages = [
"django-quill-editor>=0.1.42",
"django-translated-fields>=0.13",
]
payments = ["stripe>=11.5.0"]
notifications = [
"django-notifications-community>=1.10",
"firebase-admin>=6.5.0",
"django-push-notifications[WP,apns-async,FCM]>=3.2",
]
urlshortening = ["short_url>=1.2.2"]
messagetemplates = [
"sendgrid>=6.9",
"django-sendgrid-v5>=1.2",
"beautifulsoup4>=4.6",
"django-nested-admin>=3.3",
"lxml>=4.9",
"nh3>=0.2",
"django-ckeditor>=6.5",
"django-prose-editor[sanitize]>=0.24.0",
]
wagtail = [
"wagtail>=7.0",
"wagtail-headless-preview==0.8",
]
socialauth = [
"hashids==1.3.1",
"rest-social-auth>=9.0.0",
"social-auth-core>=4.5.4",
"social-auth-app-django==5.6.0",
]
pdf = ["pypdf>=6,<7"]
api_key = []
[dependency-groups]
dev = [
"pytest==9.0.3",
"pytest-cov==6.2.1",
"pytest-django==4.11.1",
"pytest-asyncio==1.3.0",
"pytest-celery==1.2.1",
"freezegun==1.5.5",
"responses==0.25.8",
"factory-boy==3.3.3",
"black==26.3.1",
"flake8==7.3.0",
"isort==6.0.1",
"channels-redis==4.3.0",
"djangorestframework==3.17.2",
"djangorestframework-simplejwt[crypto]==5.5.1",
"drf-nested-routers==0.93.5",
"easy-thumbnails==2.10.1",
"rest-social-auth==9.0.0",
"urllib3==2.7.0",
"twisted==26.4.0",
"channels==4.3.1",
"django-notifications-community",
"django-push-notifications[apns-async,fcm,wp]==3.3.0",
"baseapp-backend[auth,graphql,messagetemplates,notifications,pages,payments,pdf,referrals,socialauth,urlshortening,wagtail]",
"ast-grep-cli>=0.42.3",
"testproject",
]
testproject = [
"baseapp-backend[auth,graphql,messagetemplates,notifications,pages,payments,pdf,referrals,socialauth,urlshortening,wagtail]",
"black==26.3.1",
"channels==4.3.1",
"channels-redis==4.3.0",
"django-notifications-community",
"django-push-notifications[apns-async,fcm,wp]==3.3.0",
"djangorestframework==3.17.2",
"djangorestframework-simplejwt[crypto]==5.5.1",
"drf-nested-routers==0.93.5",
"easy-thumbnails==2.10.1",
"factory-boy==3.3.3",
"flake8==7.3.0",
"freezegun==1.5.5",
"isort==6.0.1",
"pytest==9.0.3",
"pytest-asyncio==1.3.0",
"pytest-celery==1.2.1",
"pytest-cov==6.2.1",
"pytest-django==4.11.1",
"responses==0.25.8",
"rest-social-auth==9.0.0",
"twisted==26.4.0",
"urllib3==2.7.0",
"testproject",
]
[tool.uv.sources]
baseapp-backend = { workspace = true }
testproject = { path = "testproject", editable = true }
[tool.setuptools_scm]
fallback_version = "0.0.0.dev"
tag_regex = "^baseapp@v(?P<version>[vV]?\\d+(?:\\.\\d+){0,2}[^\\+]*)(?:\\+.*)?$"
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
where = ["."]
[tool.setuptools.package-data]
baseapp = ["*.j2", "*.html", "*.png"]
baseapp_core = ["*.j2", "*.html", "*.png"]
baseapp_reactions = ["*.j2", "*.html", "*.png"]
baseapp_reports = ["*.j2", "*.html", "*.png"]
baseapp_ratings = ["*.j2", "*.html", "*.png"]
baseapp_follows = ["*.j2", "*.html", "*.png"]
baseapp_blocks = ["*.j2", "*.html", "*.png"]
baseapp_pages = ["*.j2", "*.html", "*.png"]
baseapp_payments = ["*.j2", "*.html", "*.png"]
baseapp_notifications = ["*.j2", "*.html", "*.png"]
baseapp_comments = ["*.j2", "*.html", "*.png"]
baseapp_mentions = ["*.j2", "*.html", "*.png"]
baseapp_cloudflare_stream_field = ["*.html", "*.js", "*.map"]
baseapp_url_shortening = ["*.html", "*.js", "*.map"]
baseapp_organizations = ["*.j2", "*.html", "*.png"]
baseapp_message_templates = ["*.j2", "*.html", "*.png"]
baseapp_chats = ["*.j2", "*.html", "*.png"]
baseapp_e2e = ["*.j2", "*.html", "*.png"]
baseapp_drf_view_action_permissions = ["*.j2", "*.html", "*.png"]
baseapp_social_auth = ["*.j2", "*.html", "*.png"]
baseapp_wagtail = ["*.j2", "*.html", "*.png"]
baseapp_profiles = ["*.j2", "*.html", "*.png", "*.jpg"]
baseapp_auth = ["*.j2", "*.html", "*.png"]
baseapp_referrals = ["*.j2", "*.html", "*.png"]
baseapp_pdf = ["*.j2", "*.html", "*.png"]
baseapp_api_key = ["*.j2", "*.html"]
[project.entry-points."baseapp.plugins"]
baseapp_auth = "baseapp_auth.plugin:AuthPlugin"
baseapp_api_key = "baseapp_api_key.plugin:ApiKeyPlugin"
baseapp_profiles = "baseapp_profiles.plugin:ProfilesPlugin"
baseapp_activity_log = "baseapp.activity_log.plugin:ActivityLogPlugin"
baseapp_pages = "baseapp_pages.plugin:PagesPlugin"
baseapp_organizations = "baseapp_organizations.plugin:OrganizationsPlugin"
baseapp_payments = "baseapp_payments.plugin:PaymentsPlugin"
baseapp_referrals = "baseapp_referrals.plugin:ReferralsPlugin"
baseapp_pdf = "baseapp_pdf.plugin:PDFPlugin"
baseapp_message_templates = "baseapp_message_templates.plugin:MessageTemplatesPlugin"
baseapp_cloudflare_stream_field = "baseapp_cloudflare_stream_field.plugin:CloudflareStreamFieldPlugin"
baseapp_e2e = "baseapp_e2e.plugin:E2EPlugin"
baseapp_notifications = "baseapp_notifications.plugin:NotificationsPlugin"
baseapp_url_shortening = "baseapp_url_shortening.plugin:UrlShorteningPlugin"
baseapp_comments = "baseapp_comments.plugin:CommentsPlugin"
baseapp_mentions = "baseapp_mentions.plugin:MentionsPlugin"
baseapp_follows = "baseapp_follows.plugin:FollowsPlugin"
baseapp_reports = "baseapp_reports.plugin:ReportsPlugin"
baseapp_ratings = "baseapp_ratings.plugin:RatingsPlugin"
baseapp_geo = "baseapp.geo.plugin:GeoPlugin"
baseapp_reactions = "baseapp_reactions.plugin:ReactionsPlugin"
baseapp_blocks = "baseapp_blocks.plugin:BlocksPlugin"
baseapp_content_feed = "baseapp.content_feed.plugin:ContentFeedPlugin"
baseapp_chats = "baseapp_chats.plugin:ChatsPlugin"
[tool.black]
line-length = 100
target-version = ['py311']
[tool.isort]
profile = "black"