-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·63 lines (59 loc) · 2.14 KB
/
setup.py
File metadata and controls
executable file
·63 lines (59 loc) · 2.14 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
#!/usr/bin/env python
import os
from setuptools import setup, find_packages
# Read the contents of the README file
with open(os.path.join(os.path.dirname(__file__), 'README.md'), encoding='utf-8') as f:
long_description = f.read()
# Read version from __init__.py
with open('django_admin_collaborator/__init__.py', encoding='utf-8') as f:
for line in f:
if line.startswith('__version__'):
version = line.split('=')[1].strip().strip("'").strip('"')
break
else:
version = '0.2.3'
project_urls = {
'Read The Docs': 'https://django-admin-collaborator.readthedocs.io/en/latest/',
}
setup(
name="django-admin-collaborator",
version=version,
description="Real-time collaborative editing for Django admin with WebSockets",
long_description=long_description,
long_description_content_type="text/markdown",
author="Berkay Şen",
author_email="berkaysen@proton.me",
url="https://github.com/Brktrlw/django-admin-collaborator",
packages=find_packages(),
include_package_data=True,
zip_safe=False,
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Framework :: Django",
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.0",
"Framework :: Django :: 4.1",
"Framework :: Django :: 4.2",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Software Development :: Libraries :: Python Modules",
],
python_requires=">=3.8",
install_requires=[
"Django>=3.2",
"channels>=3.0.0",
"channels-redis>=4.0.0",
"redis>=4.0.0",
],
keywords="django, admin, realtime, collaboration, websockets, channels",
project_urls=project_urls,
)