Skip to content

Commit 338a207

Browse files
committed
Replace setup.py with poetry
1 parent f4c66c7 commit 338a207

File tree

4 files changed

+35
-38
lines changed

4 files changed

+35
-38
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,5 @@ README.rst
5353
pip-selfcheck.json
5454
tags
5555
pip-wheel-metadata
56+
57+
poetry.lock

pyproject.toml

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,40 @@
1+
[tool.poetry]
2+
name = "django-pgviews-redux"
3+
version = "0.9.5"
4+
description = "Create and manage Postgres SQL Views in Django"
5+
authors = ["Mikuláš Poul <[email protected]>"]
6+
readme = "README.md"
7+
packages = [{include = "django_pgviews"}]
8+
classifiers = [
9+
"Development Status :: 5 - Production/Stable",
10+
"Programming Language :: Python",
11+
"Programming Language :: Python :: 3",
12+
"Programming Language :: Python :: 3.8",
13+
"Programming Language :: Python :: 3.9",
14+
"Programming Language :: Python :: 3.10",
15+
"Programming Language :: Python :: 3.11",
16+
"Programming Language :: Python :: 3.12",
17+
"Framework :: Django",
18+
"Framework :: Django :: 4.2",
19+
"Framework :: Django :: 5.0",
20+
"License :: Public Domain",
21+
"License :: OSI Approved :: The Unlicense (Unlicense)",
22+
]
23+
include = ["UNLICENSE"]
24+
repository = "https://github.com/xelixdev/django-pgviews-redux"
25+
keywords = ["django", "views", "materialized views", "postgres"]
26+
27+
[build-system]
28+
requires = ["poetry-core"]
29+
build-backend = "poetry.core.masonry.api"
30+
31+
[tool.poetry.dependencies]
32+
python = ">=3.6"
33+
134
[tool.ruff]
235
line-length = 120
336
target-version = "py38"
437

5-
638
[tool.ruff.lint]
739
select = [
840
# https://github.com/charliermarsh/ruff#pyflakes-f

setup.cfg

Lines changed: 0 additions & 2 deletions
This file was deleted.

setup.py

Lines changed: 0 additions & 35 deletions
This file was deleted.

0 commit comments

Comments
 (0)