diff --git a/.pypirc b/.pypirc new file mode 100644 index 0000000..52d2dd9 --- /dev/null +++ b/.pypirc @@ -0,0 +1,10 @@ +[distutils] +index-servers = + pypi + testpypi + +[pypi] +repository = https://upload.pypi.org/legacy/ + +[testpypi] +repository = https://test.pypi.org/legacy/ diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..ad32039 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,2 @@ +recursive-include django_admin_filters/templates * +recursive-include django_admin_filters/static * diff --git a/README.md b/README.md index b7c40f3..45b2809 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ For javascript widget used code from [date-and-time-picker project](https://gith ## Installation ```bash -pip install django-admin-filters +pip install django-admin-list-filters ``` To connect library to your project, add `django_admin_filters` to the `INSTALLED_APPS` list in your `settings.py` file. diff --git a/READMEru.md b/READMEru.md index 1a21647..392abf1 100644 --- a/READMEru.md +++ b/READMEru.md @@ -14,7 +14,7 @@ ## Установка ```bash -pip install django-admin-filters +pip install django-admin-list-filters ``` Для подключения библиотеки к проекту нужно добавить `django_admin_filters` в список `INSTALLED_APPS` в файле `settings.py`. diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..374b58c --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,6 @@ +[build-system] +requires = [ + "setuptools>=42", + "wheel" +] +build-backend = "setuptools.build_meta" diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..cfb1c04 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,21 @@ +[metadata] +name = django-admin-list-filters +version = 1.0 +author = Vitaly Bogomolov +author_email = mail@vitaly-bogomolov.ru +description = Embedded filters for Django Admin site +long_description = file: README.md +long_description_content_type = text/markdown +url = https://github.com/vb64/django.admin.filters +project_urls = + Bug Tracker = https://github.com/vb64/django.admin.filters/issues +classifiers = + Programming Language :: Python :: 3 + License :: OSI Approved :: MIT License + Operating System :: OS Independent + +[options] +package_dir = +packages = django_admin_filters +python_requires = >=3.7 +include_package_data=True