Skip to content

Commit

Permalink
hatch build
Browse files Browse the repository at this point in the history
  • Loading branch information
prateekt committed Sep 7, 2023
1 parent 983260d commit 6caaddb
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 43 deletions.
2 changes: 0 additions & 2 deletions MANIFEST.in

This file was deleted.

3 changes: 0 additions & 3 deletions conda.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,5 @@ name: pogo_video_analysis_env
channels:
- defaults
dependencies:
- python=3.9.16
- pip:
- ocr-ops
- ezplotly
- nose2
8 changes: 4 additions & 4 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ conda_dev:
conda env create -f conda.yaml

build:
python setup.py sdist bdist_wheel
hatch build

deploy:
twine upload dist/*
publish:
hatch publish

clean:
rm -rf build dist *.egg-info
rm -rf dist
rm -rf .pytest_cache
rm -rf test_op_output
rm -rf test_output
40 changes: 34 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,36 @@
[build-system]
requires = [
"setuptools>=42",
"wheel",
"ocr-ops",
"ezplotly",
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "pokemon-go-video-analysis"
version = "0.0.0.0.5.4"
authors = [
{ name="Prateek Tandon", email="[email protected]" },
]
build-backend = "setuptools.build_meta"
description = "Pokemon Go Video Analysis"
readme = "README.md"
requires-python = ">=3.11.4"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
"algo-ops",
"easyocr",
"pytesseract",
"pyspellchecker",
"shapely",
"Pillow==9.5.0",
]

[tool.hatch.build.targets.sdist]
exclude = [
"/.github",
"/.gitignore",
]

[project.urls]
"Homepage" = "https://github.com/prateekt/pokemon-go-video-analysis"
"Bug Tracker" = "https://github.com/prateekt/pokemon-go-video-analysis/issues"
3 changes: 0 additions & 3 deletions requirements.txt

This file was deleted.

25 changes: 0 additions & 25 deletions setup.py

This file was deleted.

0 comments on commit 6caaddb

Please sign in to comment.