-
Notifications
You must be signed in to change notification settings - Fork 21
/
pyproject.toml
109 lines (101 loc) · 2.37 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "dj-places"
dynamic = ["version"]
description = "A django app for store places using Google Maps API"
readme = "README.md"
license = "MIT"
requires-python = ">=3.6"
authors = [
{ name = "Oscar Cortez", email = "[email protected]" },
]
keywords = [
"django",
"geocomplete",
"google",
"maps",
"places",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Framework :: Django",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
]
dependencies = [
"Django>=3.0",
]
[project.urls]
Funding = "https://donate.pypi.org"
Homepage = "http://oscarmcm.github.io/django-places/"
Source = "https://github.com/oscarmcm/django-places/"
Tracker = "https://github.com/oscarmcm/django-places/issues"
[tool.hatch.version]
path = "places/__init__.py"
[tool.hatch.build.targets.sdist]
include = [
"/places",
"README.md",
"AUTHORS.md",
"CHANGELOG.md",
"LICENSE",
"pyproject.toml",
]
[tool.hatch.build.targets.wheel]
include = [
"/places",
"README.md",
"AUTHORS.md",
"CHANGELOG.md",
"LICENSE",
"pyproject.toml",
]
[tool.hatch.envs.default]
dependencies = [
"bumpversion==0.5.3",
"wheel==0.34.2",
"black",
]
[tool.hatch.envs.default.scripts]
clean = ["clean-build", "clean-pyc"]
clean-build = [
"rm -fr build/",
"rm -fr dist/",
"rm -fr *.egg-info",
]
clean-pyc = [
"find . -name '*.pyc' -exec rm -f {{}} +",
"find . -name '*.pyo' -exec rm -f {{}} +",
"find . -name '*~' -exec rm -f {{}} +",
]
lint = "flake8 djplaces tests"
test = "python runtests.py tests"
cov = [
"coverage run --source djplaces runtests.py tests",
"coverage report -m",
"coverage html",
"open htmlcov/index.html",
]
docs = [
"rm -f docs/dj-places.rst",
"rm -f docs/modules.rst",
"sphinx-apidoc -o docs/ djplaces",
"$(MAKE) -C docs clean",
"$(MAKE) -C docs html",
"open docs/_build/html/index.html",
]
server = "python example/manage.py runserver"
[tool.hatch.envs.test]
dependencies = [
"Django>=3.0",
"coverage>=5.1",
"mock>=4.0.2",
"flake8>=3.7.9",
]