Skip to content

Commit

Permalink
Merge pull request #9 from BurnySc2/update-to-patch-5.0.14
Browse files Browse the repository at this point in the history
Update data.json for patch 5.0.14
  • Loading branch information
BurnySc2 authored Jan 2, 2025
2 parents 0f15015 + c9dbbaa commit 1d7643a
Show file tree
Hide file tree
Showing 10 changed files with 1,241 additions and 1,001 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/pythonactions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ on: [push, pull_request]

jobs:
set_up_environment:
name: Run poetry install
name: Run uv requirement
runs-on: ${{ matrix.os }}
timeout-minutes: 15
strategy:
fail-fast: false
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
python-version: ["3.8", "3.9", "3.10"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]

steps:
- uses: actions/checkout@v3
Expand All @@ -25,5 +25,5 @@ jobs:

- name: Install dependencies
run: |
pip install poetry
poetry install
pip install uv
uv sync
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ generated/
# Misc

sc2
.env*
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,17 @@ This repository contains Python scripts for data generation.
# Development

- Install StarCraft II (and for linux set environment variables) [similar to the instructions here](https://github.com/BurnySc2/python-sc2#installation)
- Install python3.8 or newer
- Install `poetry` via `pip install poetry`
- Install python3.9 or newer
- Install `uv` via `pip install uv`

The Python code to generate new data is the directory `generate`.

You can run
```py
poetry run python run.py

```py
uv run --env-file=.env python run.py
```

to generate a new `/data/data.json`.

# Missing data? Invalid data? Other issues?
Expand Down
2 changes: 1 addition & 1 deletion data/data.json

Large diffs are not rendered by default.

Loading

0 comments on commit 1d7643a

Please sign in to comment.