Skip to content

Commit ec33e9b

Browse files
authored
Better support for Windows (#275)
* ruffed one file * bump to pyplatic 1.4.3; hopefully with better windows support
1 parent 8eaf396 commit ec33e9b

File tree

6 files changed

+27
-34
lines changed

6 files changed

+27
-34
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,18 +50,11 @@ jobs:
5050
pytest -v tests --tb=short
5151
5252
- name: Test worldengine command
53-
if: runner.os != 'Windows'
5453
working-directory: worldengine
5554
run: |
5655
worldengine --help
5756
worldengine world -s 42 -n test_world -x 512 -y 512
5857
59-
- name: Test worldengine command (Windows - no world generation)
60-
if: runner.os == 'Windows'
61-
working-directory: worldengine
62-
run: |
63-
worldengine --help
64-
6558
lint:
6659
name: Lint and Type Check
6760
runs-on: ubuntu-latest

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ classifiers = [
2929
"Topic :: Scientific/Engineering",
3030
]
3131
dependencies = [
32-
"PyPlatec==1.4.2",
32+
"PyPlatec==1.4.3",
3333
"pypng>=0.20220715.0",
3434
"numpy>=1.24.0",
3535
"noise==1.2.2",

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"entry_points": {
3333
"console_scripts": ["worldengine=worldengine.cli.main:main"],
3434
},
35-
"install_requires": ["PyPlatec==1.4.2", "pypng>=0.20220715.0", "numpy>=1.24.0", "noise==1.2.2", "protobuf>=4.21.0"],
35+
"install_requires": ["PyPlatec==1.4.3", "pypng>=0.20220715.0", "numpy>=1.24.0", "noise==1.2.2", "protobuf>=4.21.0"],
3636
"python_requires": ">=3.9",
3737
"classifiers": [
3838
"Development Status :: 4 - Beta",

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ uv_seed = true
1111
deps =
1212
Cython>=3.0.0
1313
numpy>=1.24.0
14-
PyPlatec==1.4.2
14+
PyPlatec==1.4.3
1515
protobuf>=4.21.0
1616
pypng>=0.20220715.0
1717
noise==1.2.2

uv.lock

Lines changed: 23 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

worldengine/cli/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ def main():
392392
"--ocean_level",
393393
dest="ocean_level",
394394
type=float,
395-
help='elevation cut off for sea level " +' "[default = %(default)s]",
395+
help='elevation cut off for sea level " +[default = %(default)s]',
396396
metavar="N",
397397
default=1.0,
398398
)

0 commit comments

Comments
 (0)