django-model-stats

Display how often models and model fields are used in the database
git clone https://git.ce9e.org/django-model-stats.git

commit
d9cb1a16222d8c14941f7f062a083e8cf086ad94
parent
a26f5e0e4f81cae1bbf8190e91197cedec13e2ad
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2023-11-05 10:44
switch to pyproject.toml

Diffstat

D MANIFEST.in 1 -
M pyproject.toml 34 +++++++++++++++++++++++++++++++++-
D setup.cfg 5 -----
D setup.py 27 ---------------------------

4 files changed, 33 insertions, 34 deletions


diff --git a/MANIFEST.in b/MANIFEST.in

@@ -1 +0,0 @@
    1    -1 recursive-include model_stats/templates *.html

diff --git a/pyproject.toml b/pyproject.toml

@@ -1,3 +1,35 @@
    1     1 [build-system]
    2    -1 requires = ["setuptools", "wheel"]
   -1     2 requires = ["setuptools"]
    3     3 build-backend = "setuptools.build_meta"
   -1     4 
   -1     5 [project]
   -1     6 name = "django-model-stats"
   -1     7 version = "0.0.2"
   -1     8 description = "Display how often models and model fields are used in the database"
   -1     9 readme = "README.md"
   -1    10 license = {text = "MIT"}
   -1    11 authors = [
   -1    12     {name = "Tobias Bengfort", email = "tobias.bengfort@posteo.de"},
   -1    13 ]
   -1    14 classifiers = [
   -1    15     "Development Status :: 4 - Beta",
   -1    16     "Environment :: Web Environment",
   -1    17     "Framework :: Django",
   -1    18     "Framework :: Django :: 3.2",
   -1    19     "Intended Audience :: Developers",
   -1    20     "License :: OSI Approved :: MIT License",
   -1    21     "Operating System :: OS Independent",
   -1    22     "Programming Language :: Python",
   -1    23     "Programming Language :: Python :: 3",
   -1    24 ]
   -1    25 
   -1    26 [project.urls]
   -1    27 Homepage = "https://github.com/xi/django-model-stats"
   -1    28 
   -1    29 [tool.setuptools]
   -1    30 packages = ["model_stats"]
   -1    31 
   -1    32 [tool.setuptools.package-data]
   -1    33 model_stats = [
   -1    34     "templates/**/*.html",
   -1    35 ]

diff --git a/setup.cfg b/setup.cfg

@@ -1,5 +0,0 @@
    1    -1 [flake8]
    2    -1 exclude =
    3    -1     .venv,
    4    -1     .git,
    5    -1 max-complexity = 8

diff --git a/setup.py b/setup.py

@@ -1,27 +0,0 @@
    1    -1 from setuptools import find_packages, setup
    2    -1 
    3    -1 
    4    -1 setup(
    5    -1     name='django-model-stats',
    6    -1     description='Display how often models and model fields are used in the database',
    7    -1     long_description=open('README.md').read(),
    8    -1     long_description_content_type='text/markdown',
    9    -1     url='https://github.com/xi/django-model-stats',
   10    -1     author='Tobias Bengfort',
   11    -1     author_email='tobias.bengfort@posteo.de',
   12    -1     version='0.0.2',
   13    -1     license='MIT',
   14    -1     packages=find_packages(exclude=['tests']),
   15    -1     include_package_data=True,
   16    -1     classifiers=[
   17    -1         'Development Status :: 4 - Beta',
   18    -1         'Environment :: Web Environment',
   19    -1         'Framework :: Django',
   20    -1         'Framework :: Django :: 3.2',
   21    -1         'Intended Audience :: Developers',
   22    -1         'License :: OSI Approved :: MIT License',
   23    -1         'Operating System :: OS Independent',
   24    -1         'Programming Language :: Python',
   25    -1         'Programming Language :: Python :: 3',
   26    -1     ],
   27    -1 )