Skip to content

Commit ace569f

Browse files
committed
Clean up setup.py
1 parent 3b1f379 commit ace569f

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

channels_api/__init__.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
__version__ = "0.4.0"
2-
3-
from .decorators import detail_action, list_action
4-
from .permissions import AllowAny, IsAuthenticated
1+
__version__ = "0.5.0"

channels_api/decorators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def decorator(func):
4040
return func
4141

4242
async def async_f(self: AsyncWebsocketAPIView,
43-
*args, reply=None, **kwargs,):
43+
*args, reply=None, **kwargs):
4444
result, status = await database_sync_to_async(func)(
4545
self, *args, **kwargs
4646
)

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
from setuptools import find_packages, setup
2-
from channels_api import __version__
32

43
setup(
54
name='channels_api',
6-
version=__version__,
5+
version="0.5.0",
76
url='https://github.com/linuxlewis/channels-api',
87
author='Sam Bolgert',
98
author_email='[email protected]',
@@ -22,6 +21,7 @@
2221
'pytest~=3.3',
2322
"pytest-django~=3.1",
2423
"pytest-asyncio~=0.8",
24+
"channels>=2.0.2",
2525
'coverage~=4.4',
2626
],
2727
},

0 commit comments

Comments
 (0)