Skip to content

Commit

Permalink
Added a pyproject file for easy installation
Browse files Browse the repository at this point in the history
  • Loading branch information
mbsantiago committed Jan 25, 2023
1 parent 71d7d53 commit 9a245a0
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
5 changes: 5 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
include LICENSE
include README.md

recursive-include **/static *
recursive-include **/templates *
35 changes: 35 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"

[project]
name = "batdetect2-gui"
version = "0.0.1"
authors = [
{ name="Oisin Mac Aodha", email="[email protected]" },
]
description = "BatDetect2: Audio Annotation Interface"
readme = "README.md"
requires-python = ">=3.7"
dependencies = [
"flask",
"matplotlib",
"numpy",
"Pillow",
]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]

[tool.setuptools]
packages = ["batdetect2_gui"]

[project.urls]
"Homepage" = "https://github.com/macaodha/batdetect2_GUI"
"Bug Tracker" = "https://github.com/macaodha/batdetect2_GUI/issues"

[project.scripts]
batdetect2-gui = "batdetect2_gui.application:main"
batdetect2-clip = "batdetect2_gui.prepare_audio_files:main"

0 comments on commit 9a245a0

Please sign in to comment.