Git Product home page Git Product logo

pymei's Introduction

Installation
============

This project uses distutil to install the package. This should work on python
2.x, but has only been tested on 2.5+. Please let us know if you have problems
with installing the package.

Installation is not required to use it; you can merely run `./pymei` to start 
the program. The description below is verbatim what distutil's documentation
will tell you, see [distutil's manual](http://docs.python.org/install/) for 
more information.

Dependencies
------------
The project depends on two packages:

* [PyGame](http://www.pygame.org)
* [PyYaml](http://www.pyyaml.org)

Some plugins have dependencies:

* For the XKCD-plugin, you need [BeautifulSoup](http://www.crummy.com/software/BeautifulSoup/).
* The LIRC input plugin requires [pylirc](http://pylirc.mccabe.nu/)


Globally
--------
Just run a quick

    sudo python setup.py install

Or omit `sudo` if you're already administrator.


Locally
-------
To install in your home dir instead of globally, use

    python setup.py install --home=~

Or possibly 

    python setup.py install --home=~/pymei

to not clutter your homedir too much.


Configuration
=============

In the source dir, there's a pymei.config. setup.py will install this to
$prefix/etc/pymei.config (/etc/pymei.config for a global installation), and
when you start pymei it will look for it three places. In the current directory
(./pymei.config), in your home directory (~/.pymei/config) or in
/etc/pymei.config. The first file found will be used.

Usually you'll copy /etc/pymei.config to ~/.pymei/config, by doing something
like:

    mkdir ~/.pymei
    cp /etc/pymei.config ~/.pymei/config

Then edit this file using your favorite text editor.

The text file is in [JSON](http://json.org) format, and should be fairly human
readable. For information about the various configuration options, see our 
wiki, specifically [this page](http://code.google.com/p/pymei/wiki/Configuration).


Plugins
=======

Some plugins are installed by default, typically in /usr/lib/python?.?/site-packages/mei/plugins/.
These are the *stock plugins*, but you are encouraged to create your own or use
user-contributed ones. These go into `~/.pymei/plugins/`, and all the plugins in
those two dirs are loaded, but the ones in your `~/.pymei/plugins/` will get
priority.

See the information in Configuration on how to load/use plugins, or possibly
the plugin documentation. :)


Reporting problems
==================

If you experience a bug or a problem, check if anyone has experienced similar
issues [on this page](http://code.google.com/p/pymei/issues/list), and either
add your voice to the ones already crying out by posting a comment to the
existing issue or add a new issue to the tracker.


Contact us
==========
You can find the PyMei homepage at [pymei.org](http://pymei.org) and the Google
Code project is located at [this link](http://code.google.com/p/pymei/).

We accept general email on [[email protected]](mailto:[email protected]),
questions on and contributions of themes to [[email protected]](mailto:[email protected]),
and questions about donations to ([email protected])(mailto:[email protected]].

pymei's People

Stargazers

Tang Zheng'en avatar

Forkers

feitianyiren

pymei's Issues

Prevent the file list to go over screen borders

When using large fonts in a theme, the file list becomes way wider than the
screen resolution is.

Got it working with the following fix:

~/pymei-dev/mei/gui$ svn diff filebrowser.py
Index: filebrowser.py
===================================================================
--- filebrowser.py  (revision 59)
+++ filebrowser.py  (working copy)
@@ -4,7 +4,7 @@

 import pygame

-from mei import dirlist, theme, datafiles
+from mei import dirlist, theme, datafiles, config
 from mei.gui import util, widgets

 class FileBrowser(widgets.Window):
@@ -58,6 +58,12 @@

         height += self._font.get_linesize()
         width += self._scrollbar.size()[0]
+        
+        # prevent the list to go over the screen borders
+        resolutionWidth = config.get('application/resolution')[0]
+       
+        if width > resolutionWidth:
+            width = resolutionWidth

         return (width, height)

Original issue reported on code.google.com by [email protected] on 14 Dec 2008 at 2:12

Themes are horrible

What steps will reproduce the problem?
1. Start pymei with default theme.

What is the expected output? What do you see instead?
You expect a beautiful screen, and see something horrendous.

Original issue reported on code.google.com by [email protected] on 25 Nov 2008 at 7:38

FreeBSD port

Attached is a patch to a FreeBSD port, which can be used by any
freebsd-user to install PyMei. Putting it in the official ports repository
would be an idea, but I don't feel like being responsible for maintaining it :)


Original issue reported on code.google.com by [email protected] on 5 Dec 2008 at 11:52

Attachments:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.