Skip to content

Commit

Permalink
feat: packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyoucao577 committed Apr 4, 2024
1 parent 639512c commit e249cf1
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 0 deletions.
1 change: 1 addition & 0 deletions plot-av/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# This file is empty, but it tells the Python interpreter that this directory is a Python package.
38 changes: 38 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
[build-system]
requires = ["hatchling", "hatch_vcs"]
build-backend = "hatchling.build"

[tool.hatch.version]
source = "vcs"

[tool.hatch.build.targets.wheel]
packages = ["plot-av"]

[project]
name = "plot-av"
dynamic = ["version"]
dependencies = [
"pyav",
"matplotlib",
]
authors = [
{ name="Jay Zhang", email="wangyoucao577@gmail.com" },
]
description = "Plot Audio/Video streams for better insights"
readme = "README.md"
license = {file = "LICENSE"}
requires-python = ">=3.8"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Framework :: Matplotlib",
]

[project.scripts]
plot-av = "plot-av:main"


[project.urls]
Homepage = "https://github.com/wangyoucao577/plot-av"
Issues = "https://github.com/wangyoucao577/plot-av/issues"
Empty file added tests/.gitignore
Empty file.

0 comments on commit e249cf1

Please sign in to comment.