Skip to content

Commit 36abe29

Browse files
committed
pyproject.toml
1 parent 23cb26c commit 36abe29

File tree

4 files changed

+86
-106
lines changed

4 files changed

+86
-106
lines changed

.dockerignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
.git
2+
*tests
3+
**/tests
4+
*.pyc
5+
**/*.pyc
6+
docker*
Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,6 @@
1-
[metadata]
2-
license_file = LICENSE
3-
4-
[bdist_wheel]
5-
universal=1
6-
71
[flake8]
82
ignore = E203, E266, E501, W503, E302
93
max-line-length = 110
104
max-complexity = 18
115
select = B,C,E,F,W,T4,B9
126
exclude = .git,.ropeproject,.tox,build,env,venv,__pycache__
13-
14-
[tool:pytest]
15-
DJANGO_SETTINGS_MODULE=tests.settings
16-
addopts = -v --tb=short

pyproject.toml

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
[build-system]
2+
requires = ["setuptools>=61.0"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "django-elasticsearch-metrics"
7+
description="Django app for storing time-series metrics in Elasticsearch."
8+
requires-python = ">=3.7"
9+
license = { file = "LICENSE" }
10+
readme = "README.md"
11+
dependencies = [
12+
"elasticsearch-dsl>=6.3,<7",
13+
]
14+
keywords = [
15+
"django",
16+
"elastic",
17+
"elasticsearch",
18+
"elasticsearch-dsl",
19+
"time-series",
20+
"metrics",
21+
"statistics",
22+
]
23+
classifiers = [
24+
"Operating System :: OS Independent",
25+
"Programming Language :: Python",
26+
"Programming Language :: Python :: 3",
27+
"Programming Language :: Python :: 3.7",
28+
"Programming Language :: Python :: 3.8",
29+
"Programming Language :: Python :: 3.9",
30+
"Programming Language :: Python :: 3.10",
31+
"Framework :: Django",
32+
"Framework :: Django :: 1.11",
33+
"Framework :: Django :: 2.0",
34+
"Framework :: Django :: 2.1",
35+
"Framework :: Django :: 2.2",
36+
"Framework :: Django :: 3.0",
37+
"Framework :: Django :: 3.1",
38+
"Framework :: Django :: 3.2",
39+
"Framework :: Django :: 4.0",
40+
"Framework :: Django :: 4.1",
41+
"Environment :: Web Environment",
42+
"Intended Audience :: Developers",
43+
"Topic :: Internet :: WWW/HTTP",
44+
"Topic :: Software Development :: Libraries :: Python Modules",
45+
]
46+
authors = [
47+
{ name = "Steven Loria", email = "steve@cos.io" },
48+
{ name = "Dawn Pattison", email = "pattison.dawn@cos.io" },
49+
]
50+
maintainers = [
51+
{ name = "Abram Booth", email = "abram@cos.io" },
52+
]
53+
dynamic = ["version"]
54+
55+
[project.urls]
56+
Issues = "https://github.com/CenterForOpenScience/django-elasticsearch-metrics/issues"
57+
Changelog = "https://github.com/CenterForOpenScience/django-elasticsearch-metrics/blob/master/CHANGELOG.md"
58+
59+
[project.optional-dependencies]
60+
dev = [
61+
"pytest",
62+
"mock",
63+
"pytest-django==3.10.0",
64+
"factory-boy==2.11.1",
65+
"flake8==5.0.4",
66+
"flake8-bugbear==18.8.0",
67+
"pre-commit==2.17.0",
68+
"konch>=3.0",
69+
"tox",
70+
]
71+
72+
[tool.setuptools.dynamic]
73+
version = { attr = "elasticsearch_metrics.__version__" }
74+
75+
[tool.setuptools.packages.find]
76+
exclude = ["tests*"]
77+
78+
[tool.pytest.ini_options]
79+
DJANGO_SETTINGS_MODULE = "tests.settings"
80+
addopts = "-v --tb=short"

setup.py

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

0 commit comments

Comments
 (0)