mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-11-15 08:02:54 +11:00
Drop support for Py3.5 and Django <2.2
This commit is contained in:
parent
129c51132c
commit
634861bc04
7 changed files with 22 additions and 63 deletions
|
@ -5,12 +5,16 @@ Changelog
|
|||
------------
|
||||
|
||||
- Dropped support for Python 3.4.
|
||||
- Django 3.0 support and tests.
|
||||
- Python 3.8 support and tests.
|
||||
- Dropped support for Python 3.5.
|
||||
- Dropped support for Django 1.11. ⚠️
|
||||
- Dropped support for Django 2.0. ⚠️
|
||||
- Dropped support for Django 2.1. ⚠️
|
||||
- Added support for Python 3.8.
|
||||
- Added support for Django 3.0.
|
||||
- Testsuite now uses pytest.
|
||||
- New AppConfig setting "APPLICATION_NAME" that can be used to replace the term
|
||||
- New AppConfig setting ``APPLICATION_NAME`` that can be used to replace the term
|
||||
"dpaste" throughout the UI.
|
||||
- New AppConfig setting "EXTRA_HEAD_HTML" that can be used to add custom HTML
|
||||
- New AppConfig setting ``EXTRA_HEAD_HTML`` that can be used to add custom HTML
|
||||
to each template, specifically used for custom CSS styles, to easily override
|
||||
the stock UI of dpaste.
|
||||
|
||||
|
|
|
@ -33,5 +33,7 @@ The code is open source and available on Github: https://github.com/bartTC/dpast
|
|||
If you found bugs, have problems or ideas with the project or the website installation,
|
||||
please create an *Issue* there.
|
||||
|
||||
⚠️ dpaste requires at a minimum Python 3.6 and Django 2.2.
|
||||
|
||||
.. _dpaste.de: https://dpaste.de/
|
||||
.. _pastebin: https://en.wikipedia.org/wiki/Pastebin
|
||||
|
|
|
@ -1,20 +0,0 @@
|
|||
# Minimal makefile for Sphinx documentation
|
||||
#
|
||||
|
||||
# You can set these variables from the command line.
|
||||
SPHINXOPTS =
|
||||
SPHINXBUILD = sphinx-build
|
||||
SPHINXPROJ = dpaste
|
||||
SOURCEDIR = .
|
||||
BUILDDIR = _build
|
||||
|
||||
# Put it first so that "make" without argument is like "make help".
|
||||
help:
|
||||
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
||||
|
||||
.PHONY: help Makefile
|
||||
|
||||
# Catch-all target: route all unknown targets to Sphinx using the new
|
||||
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
|
||||
%: Makefile
|
||||
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
3
docs/changelog.rst
Normal file
3
docs/changelog.rst
Normal file
|
@ -0,0 +1,3 @@
|
|||
.. _changelog:
|
||||
|
||||
.. include:: ../CHANGELOG.rst
|
|
@ -1,38 +1,6 @@
|
|||
.. _index:
|
||||
|
||||
======
|
||||
dpaste
|
||||
======
|
||||
|
||||
.. image:: https://img.shields.io/pypi/v/dpaste.svg
|
||||
:target: https://pypi.org/project/dpaste/
|
||||
|
||||
.. image:: https://travis-ci.org/bartTC/dpaste.svg?branch=master
|
||||
:target: https://travis-ci.org/bartTC/dpaste
|
||||
|
||||
.. image:: https://api.codacy.com/project/badge/Coverage/185cfbe9b4b447e59a40f816c4a5ebf4
|
||||
:target: https://www.codacy.com/app/bartTC/dpaste
|
||||
|
||||
.. image:: https://api.codacy.com/project/badge/Grade/185cfbe9b4b447e59a40f816c4a5ebf4
|
||||
:target: https://www.codacy.com/app/bartTC/dpaste
|
||||
|
||||
|
||||
dpaste is a pastebin_ application written in Python using the Django
|
||||
framework. You can find a live installation on `dpaste.de`_.
|
||||
|
||||
.. image:: _static/dpaste_de_screenshot.png
|
||||
:alt: A screenshot of https://dpaste.de/
|
||||
:width: 60%
|
||||
|
||||
The project is intended to run standalone as any regular Django Project,
|
||||
but it's also possible to install it into an existing project as a typical
|
||||
Django application.
|
||||
|
||||
The code is open source and available on Github:
|
||||
https://github.com/bartTC/dpaste. If you found bugs, have problems or ideas with
|
||||
the project or the website installation, please create an *Issue* there.
|
||||
|
||||
dpaste requires at a minimum **Python 3.4** and **Django 1.11**.
|
||||
.. include:: ../README.rst
|
||||
|
||||
Documentation
|
||||
=============
|
||||
|
@ -46,5 +14,10 @@ Documentation
|
|||
settings
|
||||
api
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 2
|
||||
|
||||
changelog
|
||||
|
||||
.. _dpaste.de: https://dpaste.de/
|
||||
.. _pastebin: https://en.wikipedia.org/wiki/Pastebin
|
||||
|
|
|
@ -16,7 +16,6 @@ classifiers =
|
|||
License :: OSI Approved :: MIT License
|
||||
Operating System :: OS Independent
|
||||
Programming Language :: Python
|
||||
Programming Language :: Python :: 3.5
|
||||
Programming Language :: Python :: 3.6
|
||||
Programming Language :: Python :: 3.7
|
||||
Programming Language :: Python :: 3.8
|
||||
|
@ -26,11 +25,11 @@ classifiers =
|
|||
packages = find:
|
||||
include_package_data = True
|
||||
zip_safe = False
|
||||
python_requires = >=3.4
|
||||
python_requires = >=3.5
|
||||
install_requires =
|
||||
# Essential packages
|
||||
six
|
||||
django>=1.11
|
||||
django>=2.2
|
||||
pygments>=1.6
|
||||
django-staticinline>=1.0
|
||||
django-csp>=3.3
|
||||
|
|
4
tox.ini
4
tox.ini
|
@ -4,8 +4,7 @@ skip_missing_interpreters=True
|
|||
envlist=
|
||||
readme
|
||||
coverage_setup
|
||||
py{35,36,37,38}-django-{111,20,21,22}
|
||||
py{36,37,38}-django-{30}
|
||||
py{36,37,38}-django-{20,21,22,30}
|
||||
coverage_report
|
||||
|
||||
[testenv]
|
||||
|
@ -15,7 +14,6 @@ commands=
|
|||
pytest dpaste
|
||||
deps=
|
||||
# Django versions
|
||||
django-111: django>=1.11,<2.0
|
||||
django-20: django>=2.0,<2.1
|
||||
django-21: django>=2.1,<2.2
|
||||
django-22: django>=2.2,<3.0
|
||||
|
|
Loading…
Reference in a new issue