Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename package #9

Merged
merged 2 commits into from
Jan 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/shadertoy_blink.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from shadertoy import Shadertoy
from wgpu_shadertoy import Shadertoy

shader_code = """

Expand Down
2 changes: 1 addition & 1 deletion examples/shadertoy_circuits.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from shadertoy import Shadertoy
from wgpu_shadertoy import Shadertoy

shader_code = """

Expand Down
2 changes: 1 addition & 1 deletion examples/shadertoy_flyby.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from shadertoy import Shadertoy
from wgpu_shadertoy import Shadertoy

shader_code = """

Expand Down
2 changes: 1 addition & 1 deletion examples/shadertoy_gen_art.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from shadertoy import Shadertoy
from wgpu_shadertoy import Shadertoy

shader_code = """

Expand Down
2 changes: 1 addition & 1 deletion examples/shadertoy_glsl_clock.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from shadertoy import Shadertoy
from wgpu_shadertoy import Shadertoy

shader_code = """
// source: https://www.shadertoy.com/view/MdVcRd
Expand Down
2 changes: 1 addition & 1 deletion examples/shadertoy_glsl_flame.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from shadertoy import Shadertoy
from wgpu_shadertoy import Shadertoy

shader_code = """

Expand Down
2 changes: 1 addition & 1 deletion examples/shadertoy_glsl_fuji.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from shadertoy import Shadertoy
from wgpu_shadertoy import Shadertoy

shader_code = """

Expand Down
2 changes: 1 addition & 1 deletion examples/shadertoy_glsl_inercia.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from shadertoy import Shadertoy
from wgpu_shadertoy import Shadertoy

shader_code = """

Expand Down
2 changes: 1 addition & 1 deletion examples/shadertoy_glsl_mouse_event.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from shadertoy import Shadertoy
from wgpu_shadertoy import Shadertoy

shader_code = """

Expand Down
2 changes: 1 addition & 1 deletion examples/shadertoy_glsl_sdf.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from shadertoy import Shadertoy
from wgpu_shadertoy import Shadertoy

shader_code = """

Expand Down
2 changes: 1 addition & 1 deletion examples/shadertoy_glsl_sea.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from shadertoy import Shadertoy
from wgpu_shadertoy import Shadertoy

shader_code = """

Expand Down
2 changes: 1 addition & 1 deletion examples/shadertoy_glsl_stone.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from shadertoy import Shadertoy
from wgpu_shadertoy import Shadertoy

shader_code = """

Expand Down
2 changes: 1 addition & 1 deletion examples/shadertoy_glsl_textures.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from shadertoy import Shadertoy, ShadertoyChannel
from wgpu_shadertoy import Shadertoy, ShadertoyChannel

shader_code = """
void mainImage( out vec4 fragColor, in vec2 fragCoord )
Expand Down
2 changes: 1 addition & 1 deletion examples/shadertoy_liberation.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from shadertoy import Shadertoy
from wgpu_shadertoy import Shadertoy

shader_code = """

Expand Down
2 changes: 1 addition & 1 deletion examples/shadertoy_matrix.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from shadertoy import Shadertoy
from wgpu_shadertoy import Shadertoy

shader_code = """

Expand Down
2 changes: 1 addition & 1 deletion examples/shadertoy_riders.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from shadertoy import Shadertoy
from wgpu_shadertoy import Shadertoy

shader_code = """

Expand Down
2 changes: 1 addition & 1 deletion examples/shadertoy_sea.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from shadertoy import Shadertoy
from wgpu_shadertoy import Shadertoy

shader_code = """

Expand Down
2 changes: 1 addition & 1 deletion examples/shadertoy_star.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# test_example = true
from shadertoy import Shadertoy
from wgpu_shadertoy import Shadertoy

shader_code = """

Expand Down
2 changes: 1 addition & 1 deletion examples/shadertoy_textures.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from shadertoy import Shadertoy, ShadertoyChannel
from wgpu_shadertoy import Shadertoy, ShadertoyChannel

shader_code_wgsl = """
fn shader_main(frag_coord: vec2<f32>) -> vec4<f32>{
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ requires = [
build-backend = "setuptools.build_meta"

[project]
name = "shadertoy"
name = "wgpu-shadertoy"
dynamic = ["version", "readme"]
dependencies = [
"wgpu>=0.13.2,<0.14.0",
Expand Down Expand Up @@ -39,5 +39,5 @@ dev = [
]

[tool.setuptools.dynamic]
version = {attr = "shadertoy.__version__"}
version = {attr = "wgpu_shadertoy.__version__"}
readme = {file = ["README.md"]}
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ extend-ignore = E501, E203, B006, B007, D

per-file-ignores =
examples/*.py: F821,F722
shadertoy/__init__.py: F401
wgpu_shadertoy/__init__.py: F401


[coverage:report]
Expand Down
8 changes: 4 additions & 4 deletions tests/test_util_shadertoy.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def force_offscreen():

def test_shadertoy_wgsl():
# Import here, because it imports the wgpu.gui.auto
from shadertoy import Shadertoy # noqa
from wgpu_shadertoy import Shadertoy # noqa

shader_code = """
fn shader_main(frag_coord: vec2<f32>) -> vec4<f32> {
Expand All @@ -44,7 +44,7 @@ def test_shadertoy_wgsl():

def test_shadertoy_glsl():
# Import here, because it imports the wgpu.gui.auto
from shadertoy import Shadertoy # noqa
from wgpu_shadertoy import Shadertoy # noqa

shader_code = """
void shader_main(out vec4 fragColor, vec2 frag_coord) {
Expand All @@ -69,7 +69,7 @@ def test_shadertoy_glsl():

def test_shadertoy_offscreen():
# Import here, because it imports the wgpu.gui.auto
from shadertoy import Shadertoy # noqa
from wgpu_shadertoy import Shadertoy # noqa

shader_code = """
void shader_main(out vec4 fragColor, vec2 frag_coord) {
Expand All @@ -93,7 +93,7 @@ def test_shadertoy_offscreen():

def test_shadertoy_snapshot():
# Import here, because it imports the wgpu.gui.auto
from shadertoy import Shadertoy # noqa
from wgpu_shadertoy import Shadertoy # noqa

shader_code = """
void shader_main(out vec4 fragColor, vec2 frag_coord) {
Expand Down
File renamed without changes.
File renamed without changes.
Loading