mirror of
https://github.com/gryf/wmdocklib.git
synced 2025-12-18 12:00:20 +01:00
1568639 installation scripts
added the ./setup.py script. added the */__init__.py files. modified the import instruction (import from pywmgeneral).
This commit is contained in:
33
setup.py
Normal file
33
setup.py
Normal file
@@ -0,0 +1,33 @@
|
||||
#!/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('pywmgeneral',
|
||||
libraries = ['Xpm', 'Xext', 'X11'],
|
||||
library_dirs = [XLibDir],
|
||||
include_dirs = [XIncludes],
|
||||
sources = ['pywmgeneral/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://ibo.sourceforge.net",
|
||||
license="(L)GPL",
|
||||
py_modules=['pywmdatetime.pywmdatetime',
|
||||
'pywmgeneral.pywmhelpers',
|
||||
'pywmgeneric.pywmgeneric',
|
||||
'pywmhdmon.pywmhdmon',
|
||||
'pywmseti.pywmseti',
|
||||
'pywmsysmon.pywmsysmon',
|
||||
],
|
||||
ext_modules = [module1])
|
||||
Reference in New Issue
Block a user