From 72f762cbb2577511b71573b460a5ca2c1e703d15 Mon Sep 17 00:00:00 2001 From: glitchassassin Date: Thu, 9 Feb 2017 13:27:09 -0500 Subject: [PATCH] Updated readme, tested with Rainmeter --- README.md | 18 ++++++++++-------- appveyor.yml | 8 +++++--- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 09f0d68..62ef273 100644 --- a/README.md +++ b/README.md @@ -1,25 +1,27 @@ rainmeter-python ================ +Originally created by [jblume](https://github.com/jblume), now maintained by [glitchassassin](https://github.com/glitchassassin) + Plugin for Rainmeter enabling Python 3 scripting Installation ------------ -Binaries: [x86-32](http://www.jblume.com/rainmeter-python/x86/Python.dll) and [x86-64](http://www.jblume.com/rainmeter-python/x64/Python.dll) +All Releases: [![Github All Releases](https://img.shields.io/github/downloads/glitchassassin/rainmeter-python/total.svg)](https://github.com/glitchassassin/rainmeter-python/releases) -Simply copy the appropriate file to the 'Plugins' folder of your Rainmeter installation. +Unzip the DLL for your Python version and copy it to the 'Plugins' folder of your Rainmeter installation. -For this plugin to function, you need to install the Python 3.3 distribution matching your Rainmeter's architecture. -The corresponding 'python33.dll' needs to be in your DLL search path; all standard installers of Python 3.3 automatically put the DLL into your System32 directory, so this should normally be the case. +For this plugin to function, you'll need to install the Python distribution matching your Rainmeter's architecture (Win32 or x64). If in doubt, use Python x64. +The corresponding 'python3x.dll' needs to be in your DLL search path; all standard installers of Python 3 automatically put the DLL into your System32 directory, so this should normally be the case. If you see an "Error 126" in Rainmeter's logs while trying to load the plugin, this is probably your issue. Example (Simple) ------- ```ini [Measure] Measure=Plugin -Plugin=Plugins\Python.dll -PythonHome=c:\Python33 +Plugin=Python +PythonHome=c:\Python35-x64 ScriptPath=default.py ClassName=Measure UpdateDivider=1 @@ -49,9 +51,9 @@ Example (IMAP Unread Mail Count) ```ini [Measure] Measure=Plugin -Plugin=Plugins\Python.dll +Plugin=Python ScriptPath=IMAP.py -PythonHome=c:\Python33 +PythonHome=c:\Python35-x64 ClassName=Measure UpdateDivider=60 Username=username diff --git a/appveyor.yml b/appveyor.yml index 646f1c5..01c0e14 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,3 +1,5 @@ +version: '1.0.{build}' + environment: matrix: - PYTHON: "C:\\Python34" @@ -49,11 +51,11 @@ build_script: deploy: release: Rainmeter-Python-v$(appveyor_build_version) - description: 'Test release' + description: 'Automated Build Release' provider: GitHub auth_token: secure: olbMvHpayGgqvdAdimUIJQ5W33juPyQ3jU+UgIEr81pZq8qt5S+U+crMr1kmEWD6 - artifact: RainmeterPython-v$(appveyor_build_version)-$(PYTHON_VERSION) + artifact: RainmeterPython-v$(appveyor_build_version)-Python$(PYTHON_VERSION) artifacts: - path: release-dlls - name: RainmeterPython-v$(appveyor_build_version)-$(PYTHON_VERSION) + name: RainmeterPython-v$(appveyor_build_version)-Python$(PYTHON_VERSION)