Skip to content

Commit b3ed732

Browse files
committed
Revert "packaging: migrate to latest setuptools standard"
This reverts commit 87132aa.
1 parent 87132aa commit b3ed732

File tree

2 files changed

+46
-55
lines changed

2 files changed

+46
-55
lines changed

pyproject.toml

Lines changed: 4 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,6 @@
11
[build-system]
2-
requires = ["setuptools>=77.0.3"]
3-
build-backend = "setuptools.build_meta"
4-
5-
[project]
6-
name = "motioneye"
7-
dynamic = ["version"]
8-
dependencies = [
9-
"tornado>=6.5.0",
10-
"jinja2",
11-
"pillow",
12-
"pycurl",
13-
"babel",
14-
"boto3",
15-
]
16-
requires-python = ">=3.7"
17-
authors = [
18-
{name = "Calin Crisan", email = "[email protected]"},
19-
{name = "Jean Michault"},
20-
]
21-
maintainers = [
22-
[name = "MichaIng", email = "[email protected]"},
2+
requires = [
3+
"setuptools>=42",
4+
"wheel"
235
]
24-
description = "motioneye, a multilingual web interface for motion."
25-
readme = "README.md"
26-
license = "GPL-3.0-or-later"
27-
license-files = ["LICENSE"]
28-
keywords = ["motion", "video", "surveillance", "frontend"]
29-
classifiers = [
30-
"Operating System :: POSIX :: Linux",
31-
"Programming Language :: Python :: 3",
32-
"Topic :: Multimedia :: Video :: Capture",
33-
]
34-
35-
[project.urls]
36-
Homepage = "https://github.com/motioneye-project/motioneye"
37-
Source = "https://github.com/motioneye-project/motioneye"
38-
Changelog = "https://github.com/motioneye-project/motioneye/releases"
39-
Issue = "https://github.com/motioneye-project/motioneye/issues"
40-
41-
[project.scripts]
42-
meyectl = "motioneye.meyectl:main"
43-
motioneye_init = "motioneye.motioneye_init:main"
44-
45-
[tool.setuptools]
46-
packages = ["motioneye"]
47-
include-package-data = false
48-
49-
[tool.setuptools.package-data]
50-
motioneye = ["extra/*", "static/*.*", "static/*/*", "templates/*", "scripts/*", "controls/*", "handlers/*", "utils/*", "locale/*/LC_MESSAGES/*.mo"]
51-
52-
[tool.setuptools.dynamic]
53-
version = {attr = "motioneye.VERSION"}
54-
55-
[tool.codespell]
56-
ignore-words-list = "ot"
57-
skip = "*.html,*.js,*.json,*.po,*.pot"
6+
build-backend = "setuptools.build_meta"

setup.cfg

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
[metadata]
2+
name = motioneye
3+
version = attr: motioneye.VERSION
4+
author = Calin Crisan, Jean Michault, ...
5+
author_email = [email protected]
6+
description = motioneye, a multilingual web interface for motion.
7+
url = https://github.com/motioneye-project/motioneye
8+
keywords = motion, video, surveillance, frontend
9+
project_urls =
10+
Bug Tracker = https://github.com/motioneye-project/motioneye/issues
11+
classifiers =
12+
Programming Language :: Python :: 3
13+
License :: OSI Approved :: GNU General Public License v3 (GPLv3)
14+
Operating System :: POSIX :: Linux
15+
license = GNU General Public License v3.0
16+
license_files = LICENSE
17+
long_description = file: README.md
18+
long_description_content_type = text/markdown
19+
20+
[options]
21+
packages = motioneye
22+
include_package_data = False
23+
python_requires = >=3.7
24+
install_requires =
25+
tornado
26+
jinja2
27+
pillow
28+
pycurl
29+
babel
30+
boto3
31+
32+
[options.package_data]
33+
motioneye = extra/*, static/*.*, static/*/*, templates/*, scripts/*, controls/*, handlers/*, utils/*, locale/*/LC_MESSAGES/*.mo
34+
35+
[options.entry_points]
36+
console_scripts =
37+
meyectl=motioneye.meyectl:main
38+
motioneye_init=motioneye.motioneye_init:main
39+
40+
[codespell]
41+
ignore-words-list = ot
42+
skip = *.html,*.js,*.json,*.po,*.pot

0 commit comments

Comments
 (0)