1
0
mirror of https://github.com/gryf/wmdocklib.git synced 2025-12-18 12:00:20 +01:00
Files
wmdocklib/setup.py
mfrasca db4f53d257 1575762: initialization of pixmask
removed the definition of defaultRGBFiles from the examples: it is now
hosted in the library.

removed function parseColors from examples.  this is done during initPixmap.

added wmdocklib.defaultRGBFileList

removed wmdocklib.setColor (superseded by wmdocklib.initPixmap)

extended wmdocklib.initPixmap:
 basic 16 colour palette [basic_colours] from rgb.txt (not hard coded)
 alter_palette to (re)define an indexed colour in the xpm.
 bg/fg can be a single character or a number [0..15]
 ' ' as transparent colour.
 some debugging 'if 0:' code.

extended wmdocklib.getColorCode:
 it reads either the given rgb file or the first accessible file from
 defaultRGBFileList

corrected url in setup.py: it used to point to ibo!
2006-10-13 11:58:17 +00:00

34 lines
1.0 KiB
Python

#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Set these so they match your system.
XLibDir = '/usr/X11R6/lib'
XIncludes = '/usr/X11R6/include'
from distutils.core import setup, Extension
module1 = Extension('wmdocklib.pywmgeneral',
libraries = ['Xpm', 'Xext', 'X11'],
library_dirs = [XLibDir],
include_dirs = [XIncludes],
sources = ['wmdocklib/pywmgeneral.c'])
setup(name="pywmdockapps",
version = "$Revision$"[11:-2],
description='''
read the whole story at http://pywmdockapps.sourceforge.net/''',
author="Kristoffer Erlandsson & al.",
author_email="mfrasca@zonnet.nl",
url="http://pywmdockapps.sourceforge.net",
license="(L)GPL",
packages=['wmdocklib',
],
scripts=['examples/pywmdatetime.py',
'examples/pywmhdmon.py',
'examples/pywmseti.py',
'examples/pywmsysmon.py',
'examples/pywmgeneric.py'],
ext_modules = [module1])