updated from distutils to setupools
This commit is contained in:
parent
e9386776e8
commit
9ed8c863ec
32
setup.py
32
setup.py
@ -1,37 +1,27 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
# -*- coding: utf-8 -*-
|
|
||||||
|
|
||||||
# Set these so they match your system.
|
# Set these so they match your system.
|
||||||
XLibDir = '/usr/X11R6/lib'
|
from __future__ import absolute_import
|
||||||
XIncludes = '/usr/X11R6/include'
|
XLibDir = '/usr/lib/x11'
|
||||||
|
XIncludes = '/usr/include/x11'
|
||||||
|
|
||||||
from distutils.core import setup, Extension
|
from setuptools import setup, Extension
|
||||||
|
|
||||||
module1 = Extension('wmdocklib.pywmgeneral',
|
pywmgeneral = 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: 1.21 $"[11:-2],
|
version = "$Revision: 1.21 $"[11:-2],
|
||||||
|
description="This helper functions for windowmaker dockapps\nRead the whole story at http://pywmdockapps.sourceforge.net/",
|
||||||
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'],
|
||||||
],
|
|
||||||
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']},
|
package_data={'wmdocklib': ['*.xpm']},
|
||||||
ext_modules = [module1])
|
ext_modules=[pywmgeneral],
|
||||||
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user