Skip to content

Commit d3e8cf4

Browse files
committed
remove all django dependencies
1 parent 6464129 commit d3e8cf4

File tree

3 files changed

+3
-30
lines changed

3 files changed

+3
-30
lines changed

pyproject.toml

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,6 @@ readme = "README.md"
3333
requires-python = ">=3.8"
3434
classifiers = [
3535
"Development Status :: 3 - Alpha",
36-
"Framework :: Django",
37-
"Framework :: Django :: 2.2",
38-
"Framework :: Django :: 3.0",
39-
"Framework :: Django :: 3.1",
40-
"Framework :: Django :: 3.2",
4136
"Intended Audience :: Developers",
4237
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
4338
"Natural Language :: English",
@@ -49,12 +44,10 @@ classifiers = [
4944
"Topic :: Education :: Computer Aided Instruction (CAI)",
5045
]
5146
dependencies = [
52-
"Django>=3.2,<=3.3",
5347
"validators",
54-
"django-environ"
5548
]
5649

57-
keywords = ["Python", "Django", "Logger"]
50+
keywords = ["Python", "Logger"]
5851

5952
[project.urls]
6053
Homepage = "https://github.com/lpm0073/secure-logger"
@@ -73,11 +66,3 @@ local = [
7366
"flake8",
7467
"ipython"
7568
]
76-
77-
#------------------------------------------------------------------------------
78-
# see: https://setuptools.pypa.io/en/latest/userguide/entry_point.html
79-
#------------------------------------------------------------------------------
80-
[project.entry-points."lms.djangoapp"]
81-
secure_logger = "secure_logger.apps:DjangoAppLoggerConfig"
82-
83-
[project.entry-points."cms.djangoapp"]

setup.cfg

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,13 @@ max-line-length = 512
44
exclude=venv/
55

66
[tool:pytest]
7-
DJANGO_SETTINGS_MODULE=tests.testapp.settings
87
norecursedirs=venv* .tox .eggs build dist secure_logger.egg-info secure_logger/mongodb
98
addopts = --doctest-modules --doctest-ignore-import-errors --nomigrations --cov=secure_logger --cov-report html --cov-report term
109

1110
[isort]
1211
combine_as_imports = true
1312
default_section = THIRDPARTY
1413
include_trailing_comma = true
15-
known_third_party = django
1614
known_first_party = secure_logger
1715
multi_line_output = 5
1816
line_length=128

setup.py

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
# -*- coding: utf-8 -*-
2-
"""
3-
Lawrence McDaniel https://lawrencemcdaniel.com.
4-
5-
The style and organizational scheme for this setup.py is largely copied from
6-
this project:
7-
django_extensions: https://github.com/django-extensions/django-extensions/blob/main/setup.py
8-
"""
2+
"""Lawrence McDaniel https://lawrencemcdaniel.com."""
93
# pylint: disable=open-builtin
104
import io
115
import os
@@ -100,15 +94,11 @@ def load_about() -> Dict[str, str]:
10094
include_package_data=True,
10195
cmdclass=cmdclasses,
10296
python_requires=">=3.6",
103-
install_requires=["Django>=3.2"],
97+
install_requires=[],
10498
extras_require={},
10599
classifiers=[ # https://pypi.org/classifiers/
106100
"Development Status :: 4 - Beta",
107101
"Environment :: Web Environment",
108-
"Framework :: Django",
109-
"Framework :: Django :: 3.2",
110-
"Framework :: Django :: 4.0",
111-
"Framework :: Django :: 4.1",
112102
"Intended Audience :: Developers",
113103
"License :: OSI Approved :: MIT License",
114104
"Operating System :: OS Independent",

0 commit comments

Comments
 (0)