Updated readme, tested with Rainmeter

This commit is contained in:
glitchassassin 2017-02-09 13:27:09 -05:00
parent e09135adda
commit 72f762cbb2
2 changed files with 15 additions and 11 deletions

View File

@ -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

View File

@ -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)