[Distutils] Distutils question

Sophie Coon sophiec@scripps.edu
Wed Jul 18 19:20:01 2001


I want to distribute the library wrapped (gle) for Python for different
platform. We already have the .py and glecmodule.so for the different
platform can I use the following setup.py and MANIFEST.in and then do a
python2.0 setup.py sdist instead of listing the c extensions and c files
to build the libraries 

gle/
   setup.py:
	#!/usr/bin/env python2.0

	from distutils.core import setup, Extension
	import os, sys, string

	setup( name = "gle",
       	       version = "3.0",
               description = "GLE Tubing and Extrusion Library",
               author = "Linas Vepstas",
               author_email = "linas@linas.org",
               url = "http://www.linas.org/gle/",
               packages = ['']
       
             )
   MANIFEST.in
	include glecmodule.so 


Any information or suggestions will be great !

Thanks Sophie
	
-- 
############################################################
Sophie COON	              The Scripps Research Institute
Research Programmer III       Molecular Graphics Laboratory
			      10550 North Torrey Pines Road
Phone: (858) 784-9556                    La Jolla, CA 92037 
Fax  : (858) 784-2860
############################################################