"""
If you need help, run "python setup.py --help" and "python setup.py --help-commands"
for windows 2k (with Cygwin gcc), you need
"python setup.py build --compiler=mingw32"
for all other UNIX building, simply "python setup.py build" will suffice
this builds various packages
python setup.py bdist tar.gz file
python setup.py bdist_wininst win 2k install wizard exe
python setup.py bdist_dumb a tar.gz file to be untarred from /
python setup.py bdist_rpm two RPMs for Linux
"""
import sys
from distutils import sysconfig
from distutils.core import setup
from distutils.extension import Extension
"""
If you need help, run "python setup.py --help" and "python setup.py --help-commands"
for windows 2k (with Cygwin gcc), you need
"python setup.py build --compiler=mingw32"
for all other UNIX building, simply "python setup.py build" will suffice
this builds various packages
python setup.py bdist tar.gz file
python setup.py bdist_wininst win 2k install wizard exe
python setup.py bdist_dumb a tar.gz file to be untarred from /
python setup.py bdist_rpm two RPMs for Linux
"""
import sys
from distutils import sysconfig
from distutils.core import setup
from distutils.extension import Extension
prefix = sysconfig.PREFIX
inc_dirs = [prefix + "/include"]
lib_dirs = [prefix + "/lib"]
libs = ["pvm3","pvmtrc","fpvm3","gpvm3"]
setup(name="pypvm",
version="0.92",
description="Python Wrapper for PVM",
author="X",
author_email="x@x.org",
url="http://pypvm.sourceforge.net/",
py_modules = ['pypvm'],
ext_modules = [Extension(name="pypvm_core",
sources =["pypvm_coremodule.c"],
include_dirs = inc_dirs,
libraries = libs,
library_dirs = lib_dirs)]
)
The spacing is off but I think you get the idea..
I contributed this setup.py because I was having
trouble getting pypvm_core.so compiled properly.
-Sam