From: Arthur <ajs...@op...> - 2003-02-17 23:17:35
|
Attached is a zip with 4 files. 1) The setup.py which has been tested under Windows and VC6. It is configured to do the install for which there seems to be some concensus - at least as to Windows, .ie. it creates a directory under site-packages called "visual" in which the cviusal.pyd and supporting .py files are placed and then 2 subdirectories of "visual" - one for demos, one for docs. 2) The Manifest file used for the source distribution 3) A README.txt which I put together if I were to do a separate, VPython distributition off of the www.vpython.org site. 4) And an index.html - slightly modifed from the original. In order for the setup.py to work, a particular organization of the directories is necessary. A "holding" directory for the setup.py, Manifest and readme, and below it a "visual" directory, empty but with 3 separate sub-directories - cvisual (with its subdirectories), demos, and docs. The "docs" directory contains the attached index.html, and a "visual" sub-directory with the rest of the VPython docs. python setup.py bdist_wininst will compile the cvisual.pyd and create a Windows self installing executable containing it and the rest of the files, docs and demos. python setup.py sdist will create a source distribution. python setup.py install will compile and install VPython as described. Feedback appreciated. Art |