Compare commits
15 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 1db3436e2a | |||
| 0f58934ae4 | |||
| ec84ce8119 | |||
| 369c5582a6 | |||
| 8c4ea1f749 | |||
| 7649fef2c2 | |||
| 958996f119 | |||
| 7719ac4277 | |||
| 8930ba1ddc | |||
| ee63826836 | |||
| 7c0a105c92 | |||
| c8ababb8e4 | |||
| 384a63f76f | |||
| f6c4d50bb3 | |||
| 84c15d2b28 |
@@ -0,0 +1,6 @@
|
||||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: "pip"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "weekly"
|
||||
@@ -1,13 +1,15 @@
|
||||
name: Test package
|
||||
|
||||
on:
|
||||
- push
|
||||
- pull_request
|
||||
push:
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
python-version: ['2.7', '3.6', '3.7', '3.8', '3.9', '3.10']
|
||||
|
||||
|
||||
@@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [0.18.6](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.18.6) - 2022-02-04
|
||||
- Added polish (`pl`) localization by [paduszyk](https://github.com/paduszyk). #152
|
||||
- Fixed login logo `max-width` and title `color`.
|
||||
|
||||
## [0.18.5](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.18.5) - 2022-01-21
|
||||
- Added portuguese brazil (`pt_BR`) localization by [leandromsd](https://github.com/leandromsd). #149
|
||||
- Fixed body scroll reset to top when opening related modal. #150
|
||||
|
||||
## [0.18.4](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.18.4) - 2022-01-05
|
||||
- Added official django 4.0 support.
|
||||
- Added link to admin home page on logo and title. #147
|
||||
|
||||
@@ -2,16 +2,15 @@
|
||||
[](https://www.djangoproject.com/)
|
||||
|
||||
[](https://pypi.org/project/django-admin-interface/)
|
||||
[](https://pepy.tech/project/django-admin-interface)
|
||||
[](https://pepy.tech/project/django-admin-interface)
|
||||
[](https://github.com/fabiocaccamo/django-admin-interface/)
|
||||
[](https://badges.pufler.dev)
|
||||
[](https://github.com/fabiocaccamo/django-admin-interface/blob/master/LICENSE.txt)
|
||||
|
||||
[](https://github.com/fabiocaccamo/django-admin-interface)
|
||||
[](https://github.com/fabiocaccamo/django-admin-interface)
|
||||
[](https://codecov.io/gh/fabiocaccamo/django-admin-interface)
|
||||
[](https://www.codacy.com/app/fabiocaccamo/django-admin-interface)
|
||||
[](https://codeclimate.com/github/fabiocaccamo/django-admin-interface/)
|
||||
[](https://requires.io/github/fabiocaccamo/django-admin-interface/requirements/?branch=master)
|
||||
|
||||
# django-admin-interface
|
||||
django-admin-interface is a modern **responsive flat admin interface customizable by the admin itself**.
|
||||
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
# Security Policy
|
||||
|
||||
## Supported Versions
|
||||
|
||||
Keep this library updated to the latest version.
|
||||
|
||||
| Version | Supported |
|
||||
| ------- | ------------------ |
|
||||
| latest | :white_check_mark: |
|
||||
| oldest | :x: |
|
||||
|
||||
## Reporting a Vulnerability
|
||||
|
||||
Open an issue.
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,206 @@
|
||||
# This file is distributed under the same license as the
|
||||
# django-admin-interface package.
|
||||
#
|
||||
# Translators:
|
||||
# Kamil Paduszyński <kpaduszy@gmail.com>, 2022
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: django-admin-interface\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2022-02-04 09:19+0000\n"
|
||||
"PO-Revision-Date: 2022-02-04 19:13-0500\n"
|
||||
"Last-Translator: Kamil Paduszyński <kpaduszy@gmail.com>\n"
|
||||
"Language-Team: Polish <LL@li.org>\n"
|
||||
"Language: Polish \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: admin_interface/admin.py:21
|
||||
msgid "Environment"
|
||||
msgstr "Środowisko"
|
||||
|
||||
#: admin_interface/admin.py:30
|
||||
msgid "Language chooser"
|
||||
msgstr "Wybór wersji językowej"
|
||||
|
||||
#: admin_interface/admin.py:37
|
||||
msgid "Logo"
|
||||
msgstr "Logo"
|
||||
|
||||
#: admin_interface/admin.py:45
|
||||
msgid "Favicon"
|
||||
msgstr "Ikonka"
|
||||
|
||||
#: admin_interface/admin.py:49
|
||||
msgid "Title"
|
||||
msgstr "Tytuł"
|
||||
|
||||
#: admin_interface/admin.py:57
|
||||
msgid "Header"
|
||||
msgstr "Nagłówek"
|
||||
|
||||
#: admin_interface/admin.py:66
|
||||
msgid "Breadcrumbs / Module headers"
|
||||
msgstr "Pasek nawigacyjny / nagłówki modułów"
|
||||
|
||||
#: admin_interface/admin.py:76
|
||||
msgid "Generic Links"
|
||||
msgstr "Zwykłe linki"
|
||||
|
||||
#: admin_interface/admin.py:83
|
||||
msgid "Save Buttons"
|
||||
msgstr "Przyciski zapisywania"
|
||||
|
||||
#: admin_interface/admin.py:91
|
||||
msgid "Delete Buttons"
|
||||
msgstr "Przyciski usuwania"
|
||||
|
||||
#: admin_interface/admin.py:99
|
||||
msgid "Related Modal"
|
||||
msgstr "Okno dialogowe"
|
||||
|
||||
#: admin_interface/admin.py:109
|
||||
msgid "List Filter"
|
||||
msgstr "Filtry"
|
||||
|
||||
#: admin_interface/admin.py:113
|
||||
msgid "Recent Actions"
|
||||
msgstr "Ostatnie działania"
|
||||
|
||||
#: admin_interface/apps.py:11
|
||||
msgid "Admin Interface"
|
||||
msgstr "Wygląd panelu administracyjnego"
|
||||
|
||||
#: admin_interface/models.py:72 admin_interface/models.py:116
|
||||
#: admin_interface/models.py:135
|
||||
msgid "name"
|
||||
msgstr "nazwa"
|
||||
|
||||
#: admin_interface/models.py:75 admin_interface/models.py:132
|
||||
#: admin_interface/models.py:253
|
||||
msgid "active"
|
||||
msgstr "aktywny"
|
||||
|
||||
#: admin_interface/models.py:79
|
||||
#: admin_interface/templates/admin/base_site.html:6
|
||||
#: admin_interface/templates/admin/base_site.html:60
|
||||
msgid "Django administration"
|
||||
msgstr "Administracja Django"
|
||||
|
||||
#: admin_interface/models.py:81
|
||||
msgid "title"
|
||||
msgstr "tytuł"
|
||||
|
||||
#: admin_interface/models.py:87 admin_interface/models.py:102
|
||||
#: admin_interface/models.py:122
|
||||
msgid "color"
|
||||
msgstr "kolor"
|
||||
|
||||
#: admin_interface/models.py:90 admin_interface/models.py:105
|
||||
#: admin_interface/models.py:289
|
||||
msgid "visible"
|
||||
msgstr "widoczny"
|
||||
|
||||
#: admin_interface/models.py:95
|
||||
msgid "Leave blank to use the default Django logo"
|
||||
msgstr "Puste ustawia domyślne logo Django"
|
||||
|
||||
#: admin_interface/models.py:96
|
||||
msgid "logo"
|
||||
msgstr "logo"
|
||||
|
||||
#: admin_interface/models.py:110
|
||||
msgid "(.ico|.png|.gif - 16x16|32x32 px)"
|
||||
msgstr "(Format pliku: .ico, .png, .gif; wymiary: 16 x 16 lub 32 x 32 px)."
|
||||
|
||||
#: admin_interface/models.py:111
|
||||
msgid "favicon"
|
||||
msgstr "ikonka"
|
||||
|
||||
#: admin_interface/models.py:120
|
||||
msgid ""
|
||||
"(red: #E74C3C, orange: #E67E22, yellow: #F1C40F, green: #2ECC71, blue: "
|
||||
"#3498DB)"
|
||||
msgstr ""
|
||||
"(czerwony: #E74C3C, pomarańczowy: #E67E22, żółty: #F1C40F, zielony: #2ECC71, niebieski: "
|
||||
"#3498DB)"
|
||||
|
||||
#: admin_interface/models.py:125
|
||||
msgid "visible in header (marker and name)"
|
||||
msgstr "widoczne w nagłówku (znacznik i nazwa)"
|
||||
|
||||
#: admin_interface/models.py:128
|
||||
msgid "visible in favicon (marker)"
|
||||
msgstr "widoczne przy ikonce (znacznik)"
|
||||
|
||||
#: admin_interface/models.py:134
|
||||
msgid "code"
|
||||
msgstr "kod"
|
||||
|
||||
#: admin_interface/models.py:141
|
||||
msgid "display"
|
||||
msgstr "wyświetlaj"
|
||||
|
||||
#: admin_interface/models.py:148 admin_interface/models.py:173
|
||||
#: admin_interface/models.py:214 admin_interface/models.py:233
|
||||
#: admin_interface/models.py:259
|
||||
msgid "background color"
|
||||
msgstr "kolor tła"
|
||||
|
||||
#: admin_interface/models.py:154 admin_interface/models.py:179
|
||||
#: admin_interface/models.py:226 admin_interface/models.py:245
|
||||
#: admin_interface/models.py:249
|
||||
msgid "text color"
|
||||
msgstr "kolor tekstu"
|
||||
|
||||
#: admin_interface/models.py:160 admin_interface/models.py:185
|
||||
#: admin_interface/models.py:201
|
||||
msgid "link color"
|
||||
msgstr "kolor linku"
|
||||
|
||||
#: admin_interface/models.py:166 admin_interface/models.py:191
|
||||
#: admin_interface/models.py:207
|
||||
msgid "link hover color"
|
||||
msgstr "kolor wskazywanego linku"
|
||||
|
||||
#: admin_interface/models.py:194 admin_interface/models.py:279
|
||||
msgid "rounded corners"
|
||||
msgstr "zaokrąglenie narożników"
|
||||
|
||||
#: admin_interface/models.py:220 admin_interface/models.py:239
|
||||
msgid "background hover color"
|
||||
msgstr "kolor tła wskazywanego przycisku"
|
||||
|
||||
#: admin_interface/models.py:276
|
||||
msgid "background opacity"
|
||||
msgstr "przeźroczystość tła"
|
||||
|
||||
#: admin_interface/models.py:282
|
||||
msgid "close button visible"
|
||||
msgstr "pokaż przycisk zamykania"
|
||||
|
||||
#: admin_interface/models.py:286
|
||||
msgid "use dropdown"
|
||||
msgstr "zastosuj listy rozwijane"
|
||||
|
||||
#: admin_interface/models.py:298
|
||||
msgid "Theme"
|
||||
msgstr "Schemat"
|
||||
|
||||
#: admin_interface/models.py:299
|
||||
msgid "Themes"
|
||||
msgstr "Schematy"
|
||||
|
||||
#: admin_interface/templates/admin/filter.html:13
|
||||
#: admin_interface/templates/admin_interface/dropdown_filter.html:4
|
||||
#, python-format
|
||||
msgid " By %(filter_title)s "
|
||||
msgstr " po %(filter_title)s "
|
||||
|
||||
#: admin_interface/templates/admin/popup_response.html:3
|
||||
msgid "Popup closing..."
|
||||
msgstr "Zamykanie..."
|
||||
Binary file not shown.
@@ -0,0 +1,234 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2022-01-28 10:01-0300\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"Language: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||
|
||||
#: admin.py:21
|
||||
msgid "Environment"
|
||||
msgstr "Ambiente"
|
||||
|
||||
#: admin.py:30
|
||||
msgid "Language chooser"
|
||||
msgstr "Seletor de idioma"
|
||||
|
||||
#: admin.py:37
|
||||
msgid "Logo"
|
||||
msgstr "Logo"
|
||||
|
||||
#: admin.py:47
|
||||
msgid "Favicon"
|
||||
msgstr "Favicon"
|
||||
|
||||
#: admin.py:51
|
||||
msgid "Title"
|
||||
msgstr "Título"
|
||||
|
||||
#: admin.py:59
|
||||
msgid "Header"
|
||||
msgstr "Cabeçalho"
|
||||
|
||||
#: admin.py:68
|
||||
msgid "Breadcrumbs / Module headers"
|
||||
msgstr "Cabeçalhos de módulo"
|
||||
|
||||
#: admin.py:80
|
||||
msgid "Generic Links"
|
||||
msgstr "Links Genéricos"
|
||||
|
||||
#: admin.py:87
|
||||
msgid "Save Buttons"
|
||||
msgstr "Botões Salvar"
|
||||
|
||||
#: admin.py:95
|
||||
msgid "Delete Buttons"
|
||||
msgstr "Botões Deletar"
|
||||
|
||||
#: admin.py:103
|
||||
msgid "Navigation Bar"
|
||||
msgstr "Barra de Navegação"
|
||||
|
||||
#: admin.py:109
|
||||
msgid "Related Modal"
|
||||
msgstr "Modal Relacionado"
|
||||
|
||||
#: admin.py:119
|
||||
msgid "Form Controls"
|
||||
msgstr "Controles de Formulário"
|
||||
|
||||
#: admin.py:126
|
||||
msgid "List Filter"
|
||||
msgstr "Filtro de lista"
|
||||
|
||||
#: admin.py:133
|
||||
msgid "Recent Actions"
|
||||
msgstr "Ações recentes"
|
||||
|
||||
#: apps.py:12
|
||||
msgid "Admin Interface"
|
||||
msgstr "Interface do administrador"
|
||||
|
||||
#: models.py:73 models.py:129 models.py:148
|
||||
msgid "name"
|
||||
msgstr "nome"
|
||||
|
||||
#: models.py:76 models.py:145 models.py:274
|
||||
msgid "active"
|
||||
msgstr "ativo"
|
||||
|
||||
#: models.py:80 templates/admin/base_site.html:6
|
||||
#: templates/admin/base_site.html:78
|
||||
msgid "Django administration"
|
||||
msgstr "Administração do Django"
|
||||
|
||||
#: models.py:82
|
||||
msgid "title"
|
||||
msgstr "título"
|
||||
|
||||
#: models.py:88 models.py:105 models.py:135
|
||||
msgid "color"
|
||||
msgstr "cor"
|
||||
|
||||
#: models.py:91 models.py:116 models.py:318
|
||||
msgid "visible"
|
||||
msgstr "visível"
|
||||
|
||||
#: models.py:98
|
||||
msgid "Leave blank to use the default Django logo"
|
||||
msgstr "Deixe em branco para usar o logotipo padrão do Django"
|
||||
|
||||
#: models.py:99
|
||||
msgid "logo"
|
||||
msgstr "logo"
|
||||
|
||||
#: models.py:109
|
||||
msgid "max width"
|
||||
msgstr "largura máxima"
|
||||
|
||||
#: models.py:113
|
||||
msgid "max height"
|
||||
msgstr "altura máxima"
|
||||
|
||||
#: models.py:123
|
||||
msgid "(.ico|.png|.gif - 16x16|32x32 px)"
|
||||
msgstr "(.ico|.png|.gif - 16x16|32x32 px)"
|
||||
|
||||
#: models.py:124
|
||||
msgid "favicon"
|
||||
msgstr "favicon"
|
||||
|
||||
#: models.py:133
|
||||
msgid ""
|
||||
"(red: #E74C3C, orange: #E67E22, yellow: #F1C40F, green: #2ECC71, blue: "
|
||||
"#3498DB)"
|
||||
msgstr ""
|
||||
"(vermelho: #E74C3C, laranja: #E67E22, amarelo: #F1C40F, verde: #2ECC71, "
|
||||
"azul: #3498DB)"
|
||||
|
||||
#: models.py:138
|
||||
msgid "visible in header (marker and name)"
|
||||
msgstr "visível no cabeçalho (marcador e nome)"
|
||||
|
||||
#: models.py:141
|
||||
msgid "visible in favicon (marker)"
|
||||
msgstr "visível no favicon (marcador)"
|
||||
|
||||
#: models.py:147
|
||||
msgid "code"
|
||||
msgstr "código"
|
||||
|
||||
#: models.py:154
|
||||
msgid "display"
|
||||
msgstr "exibição"
|
||||
|
||||
#: models.py:161 models.py:186 models.py:239 models.py:258 models.py:280
|
||||
msgid "background color"
|
||||
msgstr "cor de fundo"
|
||||
|
||||
#: models.py:167 models.py:198 models.py:251 models.py:270
|
||||
msgid "text color"
|
||||
msgstr "cor do texto"
|
||||
|
||||
#: models.py:173 models.py:204 models.py:226
|
||||
msgid "link color"
|
||||
msgstr "cor do link"
|
||||
|
||||
#: models.py:179 models.py:216 models.py:232
|
||||
msgid "link hover color"
|
||||
msgstr "cor de foco do link"
|
||||
|
||||
#: models.py:192
|
||||
msgid "background selected color"
|
||||
msgstr "cor de fundo selecionada"
|
||||
|
||||
#: models.py:210
|
||||
msgid "link selected color"
|
||||
msgstr "link cor selecionada"
|
||||
|
||||
#: models.py:219 models.py:300
|
||||
msgid "rounded corners"
|
||||
msgstr "cantos arredondados"
|
||||
|
||||
#: models.py:245 models.py:264
|
||||
msgid "background hover color"
|
||||
msgstr "cor de fundo do foco"
|
||||
|
||||
#: models.py:297
|
||||
msgid "background opacity"
|
||||
msgstr "opacidade de fundo"
|
||||
|
||||
#: models.py:303
|
||||
msgid "close button visible"
|
||||
msgstr "botão fechar visível"
|
||||
|
||||
#: models.py:307
|
||||
msgid "use dropdown"
|
||||
msgstr "usar menu suspenso"
|
||||
|
||||
#: models.py:310
|
||||
msgid "sticky position"
|
||||
msgstr "posição sticky"
|
||||
|
||||
#: models.py:314
|
||||
msgid "foldable apps"
|
||||
msgstr "aplicativos dobráveis"
|
||||
|
||||
#: models.py:322
|
||||
msgid "sticky submit"
|
||||
msgstr "envio fixo"
|
||||
|
||||
#: models.py:325
|
||||
msgid "sticky pagination"
|
||||
msgstr "paginação fixa"
|
||||
|
||||
#: models.py:334
|
||||
msgid "Theme"
|
||||
msgstr "Tema"
|
||||
|
||||
#: models.py:335
|
||||
msgid "Themes"
|
||||
msgstr "Temas"
|
||||
|
||||
#: templates/admin/filter.html:13
|
||||
#: templates/admin_interface/dropdown_filter.html:4
|
||||
#, python-format
|
||||
msgid " By %(filter_title)s "
|
||||
msgstr " por %(filter_title)s "
|
||||
|
||||
#: templates/admin/popup_response.html:3
|
||||
msgid "Popup closing..."
|
||||
msgstr "Pop-up fechando..."
|
||||
@@ -108,6 +108,7 @@ if (typeof(django) !== 'undefined' && typeof(django.jQuery) !== 'undefined')
|
||||
// open the popup using magnific popup
|
||||
$.magnificPopup.open({
|
||||
mainClass: iframeInternalModalClass,
|
||||
fixedContentPos: false,
|
||||
showCloseBtn: true,
|
||||
closeBtnInside: true,
|
||||
items: {
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
min-height: auto;
|
||||
padding: 10px 30px;
|
||||
line-height: 30px;
|
||||
align-items: flex-start;
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
@@ -35,7 +35,6 @@
|
||||
}
|
||||
|
||||
.admin-interface.login #header #branding h1 img.logo {
|
||||
max-width: 100%;
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
@@ -82,7 +81,7 @@
|
||||
|
||||
@media (max-width:1024px) {
|
||||
.admin-interface #header {
|
||||
align-items: center;
|
||||
align-items: start;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -93,12 +92,6 @@
|
||||
display:inline-block !important; /* override inline display:none; */
|
||||
}
|
||||
|
||||
@media (max-width:400px) {
|
||||
.admin-interface #branding h1 img.logo {
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.admin-interface #branding h1 span {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,3 +1,3 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
__version__ = '0.18.4'
|
||||
__version__ = '0.18.6'
|
||||
|
||||
@@ -5,74 +5,94 @@ from setuptools import find_packages, setup
|
||||
|
||||
import os, sys
|
||||
|
||||
exec(open('admin_interface/version.py').read())
|
||||
exec(open("admin_interface/version.py").read())
|
||||
|
||||
github_url = 'https://github.com/fabiocaccamo'
|
||||
package_name = 'django-admin-interface'
|
||||
package_url = '{}/{}'.format(github_url, package_name)
|
||||
github_url = "https://github.com/fabiocaccamo"
|
||||
sponsor_url = "https://github.com/sponsors/fabiocaccamo/"
|
||||
twitter_url = "https://twitter.com/fabiocaccamo"
|
||||
package_name = "django-admin-interface"
|
||||
package_url = "{}/{}".format(github_url, package_name)
|
||||
package_issues_url = "{}/issues".format(github_url)
|
||||
package_path = os.path.abspath(os.path.dirname(__file__))
|
||||
long_description_file_path = os.path.join(package_path, 'README.md')
|
||||
long_description_content_type = 'text/markdown'
|
||||
long_description = ''
|
||||
long_description_file_path = os.path.join(package_path, "README.md")
|
||||
long_description_content_type = "text/markdown"
|
||||
long_description = ""
|
||||
try:
|
||||
long_description_file_options = {} if sys.version_info[0] < 3 else { 'encoding':'utf-8' }
|
||||
with open(long_description_file_path, 'r', **long_description_file_options) as f:
|
||||
long_description_file_options = (
|
||||
{} if sys.version_info[0] < 3 else {"encoding": "utf-8"}
|
||||
)
|
||||
with open(long_description_file_path, "r", **long_description_file_options) as f:
|
||||
long_description = f.read()
|
||||
except IOError:
|
||||
pass
|
||||
|
||||
setup(
|
||||
name=package_name,
|
||||
packages=find_packages(exclude=['contrib', 'docs', 'tests*']),
|
||||
packages=find_packages(exclude=["contrib", "docs", "tests*"]),
|
||||
include_package_data=True,
|
||||
version=__version__,
|
||||
description='django-admin-interface is a modern responsive flat admin interface customizable by the admin itself.',
|
||||
description="django-admin-interface is a modern responsive flat admin interface customizable by the admin itself.",
|
||||
long_description=long_description,
|
||||
long_description_content_type=long_description_content_type,
|
||||
author='Fabio Caccamo',
|
||||
author_email='fabio.caccamo@gmail.com',
|
||||
author="Fabio Caccamo",
|
||||
author_email="fabio.caccamo@gmail.com",
|
||||
url=package_url,
|
||||
download_url='{}/archive/{}.tar.gz'.format(package_url, __version__),
|
||||
keywords=['django', 'admin', 'interface', 'responsive', 'flat', 'theme', 'custom', 'ui'],
|
||||
requires=['django(>=1.7)'],
|
||||
download_url="{}/archive/{}.tar.gz".format(package_url, __version__),
|
||||
project_urls={
|
||||
"Documentation": package_url,
|
||||
"Issues": package_issues_url,
|
||||
"Funding": sponsor_url,
|
||||
"Twitter": twitter_url,
|
||||
},
|
||||
keywords=[
|
||||
"django",
|
||||
"admin",
|
||||
"interface",
|
||||
"responsive",
|
||||
"flat",
|
||||
"theme",
|
||||
"custom",
|
||||
"ui",
|
||||
],
|
||||
requires=["django(>=1.7)"],
|
||||
install_requires=[
|
||||
'django-colorfield >= 0.2, < 1.0',
|
||||
'django-flat-theme >= 1.0, < 2.0',
|
||||
'django-flat-responsive >= 1.0, < 3.0',
|
||||
'six >= 1.9.0, < 2.0.0',
|
||||
"django-colorfield >= 0.2, < 1.0",
|
||||
"django-flat-theme >= 1.0, < 2.0",
|
||||
"django-flat-responsive >= 1.0, < 3.0",
|
||||
"six >= 1.9.0, < 2.0.0",
|
||||
],
|
||||
classifiers=[
|
||||
'Development Status :: 5 - Production/Stable',
|
||||
'Environment :: Web Environment',
|
||||
'Framework :: Django',
|
||||
'Framework :: Django :: 1.7',
|
||||
'Framework :: Django :: 1.8',
|
||||
'Framework :: Django :: 1.9',
|
||||
'Framework :: Django :: 1.10',
|
||||
'Framework :: Django :: 1.11',
|
||||
'Framework :: Django :: 2.0',
|
||||
'Framework :: Django :: 2.1',
|
||||
'Framework :: Django :: 2.2',
|
||||
'Framework :: Django :: 3.0',
|
||||
'Framework :: Django :: 3.1',
|
||||
'Framework :: Django :: 3.2',
|
||||
'Framework :: Django :: 4.0',
|
||||
'Intended Audience :: Developers',
|
||||
'License :: OSI Approved :: MIT License',
|
||||
'Natural Language :: English',
|
||||
'Operating System :: OS Independent',
|
||||
'Programming Language :: Python :: 2',
|
||||
'Programming Language :: Python :: 2.7',
|
||||
'Programming Language :: Python :: 3',
|
||||
'Programming Language :: Python :: 3.4',
|
||||
'Programming Language :: Python :: 3.5',
|
||||
'Programming Language :: Python :: 3.6',
|
||||
'Programming Language :: Python :: 3.7',
|
||||
'Programming Language :: Python :: 3.8',
|
||||
'Programming Language :: Python :: 3.9',
|
||||
'Programming Language :: Python :: 3.10',
|
||||
'Topic :: Software Development :: Build Tools',
|
||||
"Development Status :: 5 - Production/Stable",
|
||||
"Environment :: Web Environment",
|
||||
"Framework :: Django",
|
||||
"Framework :: Django :: 1.7",
|
||||
"Framework :: Django :: 1.8",
|
||||
"Framework :: Django :: 1.9",
|
||||
"Framework :: Django :: 1.10",
|
||||
"Framework :: Django :: 1.11",
|
||||
"Framework :: Django :: 2.0",
|
||||
"Framework :: Django :: 2.1",
|
||||
"Framework :: Django :: 2.2",
|
||||
"Framework :: Django :: 3.0",
|
||||
"Framework :: Django :: 3.1",
|
||||
"Framework :: Django :: 3.2",
|
||||
"Framework :: Django :: 4.0",
|
||||
"Intended Audience :: Developers",
|
||||
"License :: OSI Approved :: MIT License",
|
||||
"Natural Language :: English",
|
||||
"Operating System :: OS Independent",
|
||||
"Programming Language :: Python :: 2",
|
||||
"Programming Language :: Python :: 2.7",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Programming Language :: Python :: 3.4",
|
||||
"Programming Language :: Python :: 3.5",
|
||||
"Programming Language :: Python :: 3.6",
|
||||
"Programming Language :: Python :: 3.7",
|
||||
"Programming Language :: Python :: 3.8",
|
||||
"Programming Language :: Python :: 3.9",
|
||||
"Programming Language :: Python :: 3.10",
|
||||
"Topic :: Software Development :: Build Tools",
|
||||
],
|
||||
license='MIT',
|
||||
test_suite='runtests.runtests'
|
||||
license="MIT",
|
||||
test_suite="runtests.runtests",
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user