From ee667dc04f4b21c39b6cbece84df2b79b1e9d869 Mon Sep 17 00:00:00 2001 From: Paul Vincent Craven Date: Thu, 1 Nov 2018 19:15:53 -0500 Subject: [PATCH] Work out a 1.3.7 release for fix of Issue #275. --- README.rst | 2 +- arcade/draw_commands.py | 4 ++-- arcade/sound.py | 7 +++++-- arcade/version.py | 2 +- doc/conf.py | 2 +- doc/release_notes.rst | 8 ++++++++ make.bat | 14 ++++++++++++++ setup.py | 2 +- 8 files changed, 33 insertions(+), 8 deletions(-) diff --git a/README.rst b/README.rst index 18e173e29..87fe688f4 100644 --- a/README.rst +++ b/README.rst @@ -35,7 +35,7 @@ Documentation Latest Release -------------- -Latest version is 1.3.6 released on 2018-10-10. +Latest version is 1.3.7 released on 2018-10-28. Release notes: http://arcade.academy/release_notes.html diff --git a/arcade/draw_commands.py b/arcade/draw_commands.py index 71509ebdc..4cddb573a 100644 --- a/arcade/draw_commands.py +++ b/arcade/draw_commands.py @@ -214,7 +214,7 @@ def load_textures(file_name: str, gl.GL_REPEAT) gl.glTexParameteri(gl.GL_TEXTURE_2D, gl.GL_TEXTURE_MAG_FILTER, - gl.GL_LINEAR) + gl.GL_NEAREST) gl.glTexParameteri(gl.GL_TEXTURE_2D, gl.GL_TEXTURE_MIN_FILTER, gl.GL_LINEAR_MIPMAP_LINEAR) glu.gluBuild2DMipmaps(gl.GL_TEXTURE_2D, gl.GL_RGBA, @@ -331,7 +331,7 @@ def load_texture(file_name: str, x: float=0, y: float=0, gl.GL_REPEAT) gl.glTexParameteri(gl.GL_TEXTURE_2D, gl.GL_TEXTURE_MAG_FILTER, - gl.GL_LINEAR) + gl.GL_NEAREST) gl.glTexParameteri(gl.GL_TEXTURE_2D, gl.GL_TEXTURE_MIN_FILTER, gl.GL_LINEAR_MIPMAP_LINEAR) glu.gluBuild2DMipmaps(gl.GL_TEXTURE_2D, gl.GL_RGBA, diff --git a/arcade/sound.py b/arcade/sound.py index 97efb1a3e..519627a1b 100644 --- a/arcade/sound.py +++ b/arcade/sound.py @@ -30,6 +30,8 @@ def _load_sound_library(): import platform system = platform.system() + path_user = None + if system == 'Windows': import sys @@ -72,8 +74,9 @@ def _load_sound_library(): pyglet.have_avbin = False try: - pyglet.lib.load_library(path_user) - pyglet.have_avbin = True + if path_user is not None: + pyglet.lib.load_library(path_user) + pyglet.have_avbin = True except ImportError: pass diff --git a/arcade/version.py b/arcade/version.py index 849e8f06b..45418e1f8 100644 --- a/arcade/version.py +++ b/arcade/version.py @@ -1,6 +1,6 @@ #!/usr/bin/env python BUILD = 0 -VERSION = "1.3.6" +VERSION = "1.3.7" RELEASE = VERSION diff --git a/doc/conf.py b/doc/conf.py index 722635cfc..471bfa449 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -10,7 +10,7 @@ runpy.run_path('generate_example_thumbnails.py', run_name='__main__') BUILD = 0 -VERSION = "1.3.6" +VERSION = "1.3.7" RELEASE = VERSION diff --git a/doc/release_notes.rst b/doc/release_notes.rst index 41c8bfe0d..25282f471 100644 --- a/doc/release_notes.rst +++ b/doc/release_notes.rst @@ -5,6 +5,14 @@ Release Notes ============= +Version 1.3.7 +------------- + +Released 2018-10-28 + +* Fix for `Issue 275 `_ where sprites can get blurry. + + Version 1.3.6 ------------- diff --git a/make.bat b/make.bat index c92670e86..65df47e72 100644 --- a/make.bat +++ b/make.bat @@ -3,6 +3,7 @@ rem Build script for Windows IF "%~1"=="" GOTO printdoc +IF "%~1"=="dist" GOTO makedist IF "%~1"=="full" GOTO makefull IF "%~1"=="fast" GOTO makefast IF "%~1"=="doc" GOTO makedoc @@ -11,6 +12,18 @@ IF "%~1"=="deploy_pypi" GOTO deploy_pypi IF "%~1"=="deploy_docs" GOTO deploy_docs GOTO printdoc +:makedist + +rmdir /s /q "doc\build" +del /q dist\*.* +python setup.py clean + +rem Build the python +python setup.py build +python setup.py bdist_wheel + +GOTO end + :makefull rem -- This builds the project, installs it, and runs unit tests @@ -89,6 +102,7 @@ rem -- Print documentation :printdoc +echo make dist - Builds the distributable file echo make full - Builds the project, installs it, builds echo documentation, runs unit tests. echo make doc Builds the documentation. Documentation diff --git a/setup.py b/setup.py index 4b2e6a665..ffafe8d73 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ #!/usr/bin/env python BUILD = 0 -VERSION = "1.3.6" +VERSION = "1.3.7" RELEASE = VERSION from os import path