Skip to content

Commit 7500caa

Browse files
committed
fix extras APNS_ASYNC -> apns-async
to conform with Core metadata specification https://packaging.python.org/en/latest/specifications/core-metadata/#provides-extra-multiple-use
1 parent 22dcc9f commit 7500caa

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Dependencies
3737
- For WebPush (WP), pywebpush 1.3.0+ is required (optional). py-vapid 1.3.0+ is required for generating the WebPush private key; however this
3838
step does not need to occur on the application server.
3939
- For Apple Push (APNS), apns2 0.3+ is required (optional).
40-
- For Apple Push (APNS_ASYNC) using async, aioapns 3.1+ is required (optional). Installed aioapns overrides apns2 which does not support python 3.10+.
40+
- For Apple Push (apns-async) using async, aioapns 3.1+ is required (optional). Installed aioapns overrides apns2 which does not support python 3.10+.
4141
- For FCM, firebase-admin 6.2+ is required (optional).
4242

4343
Setup
@@ -46,7 +46,7 @@ You can install the library directly from pypi using pip:
4646

4747
.. code-block:: shell
4848
49-
$ pip install django-push-notifications[WP,APNS_ASYNC,FCM]
49+
$ pip install django-push-notifications[WP,apns-async,FCM]
5050
5151
5252
Edit your settings.py file:

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ APNS =
4343

4444
WP = pywebpush>=1.3.0
4545

46-
APNS_ASYNC = aioapns>=3.1
46+
apns-async = aioapns>=3.1
4747

4848
FCM = firebase-admin>=6.2
4949

0 commit comments

Comments
 (0)