Skip to content

Commit e249cf1

Browse files
committed
feat: packaging
1 parent 639512c commit e249cf1

File tree

3 files changed

+39
-0
lines changed

3 files changed

+39
-0
lines changed

plot-av/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# This file is empty, but it tells the Python interpreter that this directory is a Python package.

pyproject.toml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
[build-system]
2+
requires = ["hatchling", "hatch_vcs"]
3+
build-backend = "hatchling.build"
4+
5+
[tool.hatch.version]
6+
source = "vcs"
7+
8+
[tool.hatch.build.targets.wheel]
9+
packages = ["plot-av"]
10+
11+
[project]
12+
name = "plot-av"
13+
dynamic = ["version"]
14+
dependencies = [
15+
"pyav",
16+
"matplotlib",
17+
]
18+
authors = [
19+
{ name="Jay Zhang", email="wangyoucao577@gmail.com" },
20+
]
21+
description = "Plot Audio/Video streams for better insights"
22+
readme = "README.md"
23+
license = {file = "LICENSE"}
24+
requires-python = ">=3.8"
25+
classifiers = [
26+
"Programming Language :: Python :: 3",
27+
"License :: OSI Approved :: Apache Software License",
28+
"Operating System :: OS Independent",
29+
"Framework :: Matplotlib",
30+
]
31+
32+
[project.scripts]
33+
plot-av = "plot-av:main"
34+
35+
36+
[project.urls]
37+
Homepage = "https://github.com/wangyoucao577/plot-av"
38+
Issues = "https://github.com/wangyoucao577/plot-av/issues"

tests/.gitignore

Whitespace-only changes.

0 commit comments

Comments
 (0)