mirror of
https://github.com/gryf/wmdocklib.git
synced 2025-12-18 20:10:23 +01:00
Clean up setup.py
This commit is contained in:
40
setup.py
40
setup.py
@@ -1,37 +1,23 @@
|
|||||||
#!/usr/bin/env python
|
from distutils.core import Extension
|
||||||
# -*- coding: utf-8 -*-
|
from distutils.core import setup
|
||||||
|
|
||||||
# Set these so they match your system.
|
# Set these so they match your system.
|
||||||
XLibDir = '/usr/X11R6/lib'
|
XLIBDIR = '/usr/X11R6/lib'
|
||||||
XIncludes = '/usr/X11R6/include'
|
XINCLUDES = '/usr/X11R6/include'
|
||||||
|
|
||||||
from distutils.core import setup, Extension
|
|
||||||
|
|
||||||
module1 = Extension('wmdocklib.pywmgeneral',
|
MODULE1 = Extension('wmdocklib.pywmgeneral',
|
||||||
libraries = ['Xpm', 'Xext', 'X11'],
|
libraries=['Xpm', 'Xext', 'X11'],
|
||||||
library_dirs = [XLibDir],
|
library_dirs=[XLIBDIR],
|
||||||
include_dirs = [XIncludes],
|
include_dirs=[XINCLUDES],
|
||||||
sources = ['wmdocklib/pywmgeneral.c'])
|
sources=['wmdocklib/pywmgeneral.c'])
|
||||||
|
|
||||||
setup(name="pywmdockapps",
|
setup(name="pywmdockapps",
|
||||||
version = "$Revision$"[11:-2],
|
version="1.23",
|
||||||
|
description="Library for creating dockapps for Window Maker/AfterStep",
|
||||||
description='''
|
|
||||||
read the whole story at http://pywmdockapps.sourceforge.net/''',
|
|
||||||
|
|
||||||
author="Kristoffer Erlandsson & al.",
|
author="Kristoffer Erlandsson & al.",
|
||||||
author_email="mfrasca@zonnet.nl",
|
author_email="mfrasca@zonnet.nl",
|
||||||
url="http://pywmdockapps.sourceforge.net",
|
url="http://pywmdockapps.sourceforge.net",
|
||||||
license="(L)GPL",
|
license="(L)GPL",
|
||||||
packages=['wmdocklib',
|
packages=['wmdocklib'],
|
||||||
],
|
ext_modules=[MODULE1])
|
||||||
scripts=['examples/pywmdatetime.py',
|
|
||||||
'examples/pywmhdmon.py',
|
|
||||||
'examples/pywmseti.py',
|
|
||||||
'examples/pywmsysmon.py',
|
|
||||||
'examples/pywmphoto.py',
|
|
||||||
'examples/pywmwet.py',
|
|
||||||
'examples/pywmradio.py',
|
|
||||||
'examples/pywmgeneric.py'],
|
|
||||||
package_data={'wmdocklib': ['*.xpm']},
|
|
||||||
ext_modules = [module1])
|
|
||||||
|
|||||||
Reference in New Issue
Block a user