Skip to content

Commit

Permalink
remove all django dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
lpm0073 committed Apr 25, 2023
1 parent 6464129 commit d3e8cf4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 30 deletions.
17 changes: 1 addition & 16 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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"
Expand All @@ -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"]
2 changes: 0 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,13 @@ 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

[isort]
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
Expand Down
14 changes: 2 additions & 12 deletions setup.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit d3e8cf4

Please sign in to comment.