diff --git a/pyproject.toml b/pyproject.toml index 9664628..60b6ab5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -33,11 +33,6 @@ readme = "README.md" requires-python = ">=3.8" classifiers = [ "Development Status :: 3 - Alpha", - "Framework :: Django", - "Framework :: Django :: 2.2", - "Framework :: Django :: 3.0", - "Framework :: Django :: 3.1", - "Framework :: Django :: 3.2", "Intended Audience :: Developers", "License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)", "Natural Language :: English", @@ -49,12 +44,10 @@ classifiers = [ "Topic :: Education :: Computer Aided Instruction (CAI)", ] dependencies = [ - "Django>=3.2,<=3.3", "validators", - "django-environ" ] -keywords = ["Python", "Django", "Logger"] +keywords = ["Python", "Logger"] [project.urls] Homepage = "https://github.com/lpm0073/secure-logger" @@ -73,11 +66,3 @@ local = [ "flake8", "ipython" ] - -#------------------------------------------------------------------------------ -# see: https://setuptools.pypa.io/en/latest/userguide/entry_point.html -#------------------------------------------------------------------------------ -[project.entry-points."lms.djangoapp"] -secure_logger = "secure_logger.apps:DjangoAppLoggerConfig" - -[project.entry-points."cms.djangoapp"] diff --git a/setup.cfg b/setup.cfg index 25bb28f..f217652 100644 --- a/setup.cfg +++ b/setup.cfg @@ -4,7 +4,6 @@ max-line-length = 512 exclude=venv/ [tool:pytest] -DJANGO_SETTINGS_MODULE=tests.testapp.settings norecursedirs=venv* .tox .eggs build dist secure_logger.egg-info secure_logger/mongodb addopts = --doctest-modules --doctest-ignore-import-errors --nomigrations --cov=secure_logger --cov-report html --cov-report term @@ -12,7 +11,6 @@ addopts = --doctest-modules --doctest-ignore-import-errors --nomigrations --cov= combine_as_imports = true default_section = THIRDPARTY include_trailing_comma = true -known_third_party = django known_first_party = secure_logger multi_line_output = 5 line_length=128 diff --git a/setup.py b/setup.py index 7c8e48f..3cab103 100644 --- a/setup.py +++ b/setup.py @@ -1,11 +1,5 @@ # -*- coding: utf-8 -*- -""" -Lawrence McDaniel https://lawrencemcdaniel.com. - -The style and organizational scheme for this setup.py is largely copied from -this project: - django_extensions: https://github.com/django-extensions/django-extensions/blob/main/setup.py -""" +"""Lawrence McDaniel https://lawrencemcdaniel.com.""" # pylint: disable=open-builtin import io import os @@ -100,15 +94,11 @@ def load_about() -> Dict[str, str]: include_package_data=True, cmdclass=cmdclasses, python_requires=">=3.6", - install_requires=["Django>=3.2"], + install_requires=[], extras_require={}, classifiers=[ # https://pypi.org/classifiers/ "Development Status :: 4 - Beta", "Environment :: Web Environment", - "Framework :: Django", - "Framework :: Django :: 3.2", - "Framework :: Django :: 4.0", - "Framework :: Django :: 4.1", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent",