Skip to content

Commit

Permalink
Merge pull request #3 from prateekt/hatchling_build
Browse files Browse the repository at this point in the history
hatch build
  • Loading branch information
prateekt authored Sep 7, 2023
2 parents 983260d + 443489d commit 876ea5a
Show file tree
Hide file tree
Showing 7 changed files with 39 additions and 44 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-package-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
with:
activate-environment: pogo_video_analysis_env
environment-file: conda.yaml
python-version: 3.9.16
python-version: 3.11.4
auto-activate-base: false
- name: Install linux dependencies
run: |
Expand Down
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 876ea5a

Please sign in to comment.