PyInventory/pyproject.toml

95 wiersze
3.6 KiB
TOML
Czysty Zwykły widok Historia

[tool.poetry]
name = "PyInventory"
2020-11-13 08:10:00 +00:00
version = "0.4.2"
description = "Web based management to catalog things including state and location etc. using Python/Django."
authors = ["JensDiemer <git@jensdiemer.de>"]
packages = [
2020-11-13 20:52:19 +00:00
{ include = "inventory", from = "src" },
{ include = "inventory_project", from = "src" },
]
keywords=['inventory','django']
classifiers = [
# http://pypi.python.org/pypi?%3Aaction=list_classifiers
2020-11-01 15:40:08 +00:00
"Development Status :: 4 - Beta",
#"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Intended Audience :: End Users/Desktop",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3 :: Only",
'Framework :: Django',
"Topic :: Database :: Front-Ends",
"Topic :: Documentation",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Internet :: WWW/HTTP :: Site Management",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
"Operating System :: OS Independent",
]
2020-11-13 20:52:19 +00:00
include = ['AUTHORS', 'LICENSE', 'README.creole']
# Will be generated from README.creole with: 'poetry run update_rst_readme'
2020-11-13 20:52:19 +00:00
readme='README.rst'
[tool.poetry.dependencies]
2020-10-16 15:57:36 +00:00
python = ">=3.7,<4.0.0"
colorama = "*" # Console colors under windows: https://pypi.org/project/colorama/
colorlog = "*" # https://github.com/borntyping/python-colorlog
uWSGI = "*"
#
# https://www.djangoproject.com/download/#supported-versions
# v2.2 LTS - extended support until April 2022
django = "2.2.*"
django-processinfo = "*" # https://github.com/jedie/django-processinfo/
django-debug-toolbar = "*" # http://django-debug-toolbar.readthedocs.io/en/stable/changes.html
django-import-export = "*" # https://github.com/django-import-export/django-import-export
django-dbbackup = "*" # https://github.com/django-dbbackup/django-dbbackup
2020-10-16 15:54:34 +00:00
django-tools = "*" # https://github.com/jedie/django-tools/
django-reversion-compare = "*" # https://github.com/jedie/django-reversion-compare/
django-ckeditor = "*" # https://github.com/django-ckeditor/django-ckeditor
2020-11-11 16:36:09 +00:00
# We can't install v5 until https://github.com/python-poetry/poetry/issues/3320 is fixed!
bx_py_utils = "!=5" # https://github.com/boxine/bx_py_utils
django-tagulous = "*" # https://github.com/radiac/django-tagulous
2020-10-17 16:34:05 +00:00
django-admin-sortable2 = "*" # https://github.com/jrief/django-admin-sortable2
django-axes = "*" # https://github.com/jazzband/django-axes
2020-10-17 16:34:05 +00:00
requests = "*" # https://github.com/psf/requests
2020-10-20 15:38:08 +00:00
docker-compose = { version = "*", optional = true } # install via: poetry install --extras "docker"
psycopg2-binary = { version = "*", optional = true } # install via: poetry install --extras "postgres"
2020-11-11 16:36:09 +00:00
pillow = "*"
2020-10-20 15:38:08 +00:00
[tool.poetry.extras]
docker = ["docker-compose"]
postgres = ["psycopg2-binary"]
[tool.poetry.dev-dependencies]
poetry-publish = "*" # https://github.com/jedie/poetry-publish
2020-10-17 19:30:19 +00:00
python-creole = "*" # https://github.com/jedie/python-creole
tox = "*"
pytest = "*"
pytest-randomly = "*"
pytest-cov = "*"
pytest-django = "*"
coveralls = "*"
isort = "*"
flake8 = "*"
flynt = "*"
autopep8 = "*"
pyupgrade = "*"
model_bakery = "*" # https://github.com/model-bakers/model_bakery
[tool.poetry.scripts]
2020-10-16 15:54:34 +00:00
manage = "inventory_project.manage:main"
update_rst_readme = "inventory_project.publish:update_readme"
publish = "inventory_project.publish:publish"
[tool.autopep8]
# https://github.com/hhatto/autopep8#pyprojecttoml
max_line_length = 120
exclude = "*/migrations/*"
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"