From: Arthur <aj...@ix...> - 2003-02-25 17:31:23
|
As per Arnd's suggestion, we are probably not facing anything that others haven't faced and othercome. And its probably a good idea to see how others are handling these issues. On that score: It might be worthwhile to download the pygame source distro - http://pygame.org/ - to see how a complex - I think more than VPython faces - situation with a host of dependencies is handled. There is a generic config.py script that calls platform specific config scripts, which then finally configures the workable setup.py. More bads news: On the start menu, icon issue for Windows - I see that while pygame accomplishes it with a pure Python script, the script working is dependent on having win32all installed. Art ----- Original Message ----- From: "Bruce Sherwood" <bas...@un...> To: "Arthur" <ajs...@op...>; "vpusers" <vis...@li...> Sent: Tuesday, February 25, 2003 11:57 AM Subject: Re: [Visualpython-users] distutils > There's quite a large number of detailed issues. To give a simple example, a > machine (my Mac OSX 10.2 is an example) may not have gtk-config to be driven > to identify the gtk library environment. And gtk-config only applies to GTK > 1, not GTK 2. Etc. As Jonathan Brandmeyer has pointed out to me, distutils > doesn't address a large number of the configuration/environment issues that > are handled by the autoconfig machinery used for example in the compilation > of Python itself from source. Sometime last year I complimented Guido on the > fact that the source compilation of Python worked flawlessly on many > different Unix-like platforms, and he said that there had been a huge amount > of work on the autoconfig aspects over a couple of years to reach this point > of universality. > > So while distutils may have some uses with respect to VPython (including as > Arthur has shown a nice way to produce an executable installer on Windows), > it does seem alas that eventually we'll have to bite the bullet of learning > to use autoconfig to address the many nagging problems that people have > experienced on diverse Linux/Unix platforms. > > The problems will be eased by Jonathan's intention to try to simplify the > Visual environment using newer schemes such as Boost, which Arthur made us > aware of. > > Bruce Sherwood > > ----- Original Message ----- > From: "Arthur" <ajs...@op...> > To: "Bruce Sherwood" <bas...@un...>; "vpusers" > <vis...@li...> > Sent: Tuesday, February 25, 2003 9:03 AM > Subject: Re: [Visualpython-users] distutils > > > > I am running into some isues as well. > > > > I am not sure it even solves the most substantial issues, but thinking > about > > it, is there any reason the Windows and non-Windows setup.py's cannot be > > separate scripts? > > > > Would also be interested in what you are running into. Are the issues > > intra-Linux, Linux/Mac? > > > > Since I have only one Linux and no Mac to test, I suspect issues, but > cannot > > actually see them. > > > > Art > > > > Art > > ----- Original Message ----- > > From: "Bruce Sherwood" <bas...@un...> > > To: "vpusers" <vis...@li...> > > Sent: Tuesday, February 25, 2003 8:51 AM > > Subject: [Visualpython-users] distutils > > > > > > > Prompted by Arthur Siegel's suggestions, Jonathan Brandmeyer and I have > > been > > > doing some experimenting with distutils as a mechanism for building > > VPython > > > installers. The situation is not as simple as one would like. > Dynamically > > > supporting all of our platforms and different compilers with a single > > script > > > will be difficult at best. We'll keep at this. > > > > > > Bruce Sherwood > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Visualpython-users mailing list > > > Vis...@li... > > > https://lists.sourceforge.net/lists/listinfo/visualpython-users > > > > > > > |