dpaste/setup.cfg

108 lines
2.3 KiB
INI
Raw Permalink Normal View History

2019-01-25 23:47:00 +11:00
[metadata]
2019-01-26 00:02:34 +11:00
name = dpaste
version = attr: dpaste.__version__
2019-05-16 18:07:21 +10:00
description = A Django based pastebin for text and code.
2019-01-25 23:47:00 +11:00
long_description = file: README.rst, CHANGELOG.rst
2019-05-16 18:07:21 +10:00
long_description_content_type = text/x-rst
author = 'Martin Mahner, Darren Nathanael'
author_email = 'martin@mahner.org, git@darrennathanael.com'
url = https://github.com/DarrenOfficial/dpaste
2019-01-26 00:02:34 +11:00
keywords = django, pastebin
2019-01-25 23:47:00 +11:00
license = MIT
classifiers =
Development Status :: 5 - Production/Stable
Environment :: Web Environment
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Operating System :: OS Independent
Programming Language :: Python
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
2019-12-05 19:40:39 +11:00
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
2019-01-25 23:47:00 +11:00
Framework :: Django
[options]
packages = find:
include_package_data = True
zip_safe = False
2020-01-08 23:12:28 +11:00
python_requires = >=3.6
2019-01-25 23:47:00 +11:00
install_requires =
# Essential packages
django>=3.2
pygments
2019-01-25 23:47:00 +11:00
django-staticinline>=1.0
2020-01-08 23:12:28 +11:00
django-csp>=3.6
dj_database_url>=0.5.0
2021-12-13 17:31:26 +11:00
ratelimiter>=1.2
2019-01-25 23:47:00 +11:00
2019-06-24 19:27:25 +10:00
# Additional Lexer
2020-01-08 23:12:28 +11:00
jsx-lexer>=0.0.8
2019-01-25 23:47:00 +11:00
misaka>=2.1.0
mistune
2019-01-25 23:47:00 +11:00
docutils
# Testsuite
tox
2019-12-05 19:40:39 +11:00
pytest
pytest-cov
pytest-django
# Extra packages for local development
[options.extras_require]
production =
psycopg2-binary==2.9.3
django-webserver[pyuwsgi]==1.2.0
dev =
2019-12-05 19:40:39 +11:00
ipdb
isort
black
sphinx
sphinx-autobuild
sphinx-rtd-theme
2019-12-09 19:13:48 +11:00
sphinx_press_theme
2019-12-05 19:40:39 +11:00
sphinxcontrib-httpdomain
2021-12-13 17:31:26 +11:00
django-sslserver
2019-01-25 23:47:00 +11:00
2019-09-12 17:13:17 +10:00
[options.packages.find]
where = .
exclude =
dpaste/settings/local.py
2019-01-25 23:47:00 +11:00
[isort]
known_first_party = dpaste
2019-03-16 20:40:56 +11:00
default_section = THIRDPARTY
sections = FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER
2019-01-25 23:47:00 +11:00
skip = migrations
multi_line_output=3
include_trailing_comma=True
force_grid_wrap=0
use_parentheses=True
2020-01-08 23:19:52 +11:00
line_length=88
2019-01-25 23:47:00 +11:00
[coverage:run]
source = dpaste
branch = True
omit =
2019-01-26 00:02:34 +11:00
dpaste/migrations/*
dpaste/tests/*
2019-01-25 23:47:00 +11:00
[coverage:report]
exclude_lines =
pragma: no cover
def __repr__
[coverage:html]
directory = /tmp/coverage_report/dpaste
2019-12-05 19:40:39 +11:00
[tool:pytest]
python_files = tests.py test_*.py *_tests.py
addopts =
--ds=dpaste.settings.tests
--cov=./dpaste
--cov-append
--cov-branch
--nomigrations
--reuse-db