[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] eggs. windows, and osx eggs?



ah,

With a setup.cfg in the same directory we can do this...
[easy_install]
find_links=http://rene.f0o.com/~rene/stuff/macosx/


However that won't work if someone just types:
easy_install pygame

hrmm.  Must be someway to pass find_links in another way?


Another reason to try and remove the dependency on pyobjc in the next
release.  eek.





On Feb 12, 2008 4:02 PM, René Dudfield <renesd@xxxxxxxxx> wrote:
> I added it to the install_requires, and now the dependency seems to
> work... however currently pyobjc is broken on the cheeseshop.  arg.
> hehe
>
> It seems they have recently deleted it or something.  Argle.
>
> Is there a way to specify backup urls to check if it's not on the main page?
>
>
>
>
>
> On Feb 12, 2008 3:33 PM, Brian Fisher <brian@xxxxxxxxxxxxxxxxxxx> wrote:
> > I would be very surprised if bdist_mpkg is required to run pygame on OS X -
> > but I am too apathetic to test that out myself.
> >
> > with respect to the dependency thing, the setuptools docs say
> > "install_requires" is also required to make the dependencies auto install...
> >
> > from here:
> > http://peak.telecommunity.com/DevCenter/setuptools#new-and-changed-setup-keywords
> >
> > says this:
> > "setup_requires
> >
> > A string or list of strings specifying what other distributions need to be
> > present in order for the setup script to run. setuptools will attempt to
> > obtain these (even going so far as to download them using EasyInstall)
> > before processing the rest of the setup script or commands. This argument is
> > needed if you are using distutils extensions as part of your build process;
> > for example, extensions that process setup() arguments and turn them into
> > EGG-INFO metadata files.
> >
> > (Note: projects listed in setup_requires will NOT be automatically installed
> > on the system where the setup script is being run. They are simply
> > downloaded to the setup directory if they're not locally available already.
> > If you want them to be installed, as well as being available when the setup
> > script is run, you should add them to install_requires and setup_requires.)"
> >
> >
> > On Feb 11, 2008 8:25 PM, René Dudfield <renesd@xxxxxxxxx> wrote:
> >
> > > thanks.
> > >
> > > Yeah, I think it is.
> > >
> > >
> > > hrmm.  Well my addition doesn't seem to make easy_install install
> > > pyobjc for me.  I tried to put PyObjc there too - but no goodness.
> > >
> > > I tested that by manually removing the PyObjC like so first:
> > > sudo rm -rf
> > /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/PyObjC*
> > >
> > > Then installing from the egg, and trying to import pygame (which gives
> > > me the pyobjc required message).
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > On Feb 12, 2008 3:10 PM, Brian Fisher <brian@xxxxxxxxxxxxxxxxxxx> wrote:
> > > > I just used "easy_install <eggfile>"
> > > >
> > > > .. not that installing bdist_mpkg would be bad - but is it actually a
> > > > dependency?
> > > >
> > > >
> > > >
> > > > On Feb 11, 2008 7:50 PM, René Dudfield <renesd@xxxxxxxxx> wrote:
> > > >
> > > > > cool, thanks.
> > > > >
> > > > > I guess we need to tell the egg (setuptools) somehow that it depends
> > > > > on pyobjc 1.4.x on macs.  Any eggsperts? har har
> > > > > http://google.com/search?q=egg+joke
> > > > >
> > > > > I added this to the setup.py file... line 61ish.
> > > > >        'setup_requires': ['bdist_mpkg>=0.4.2', 'pyobjc>=1.1'],
> > > > >
> > > > > I think that'll add the dependency to the egg.
> > > > >
> > > > > ...and here's an updated egg.
> > > > >
> > > > >
> > http://rene.f0o.com/~rene/stuff/pygame-1.8.0rc3-py2.5-macosx-10.3-fat.egg
> > > > >
> > > > > What commands did you use to install it from the egg?
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > On Feb 12, 2008 1:27 PM, Brian Fisher <brian@xxxxxxxxxxxxxxxxxxx>
> > wrote:
> > > > > > On Feb 11, 2008 5:30 PM, René Dudfield <renesd@xxxxxxxxx> wrote:
> > > > > >
> > > > > > > Is anyone able to test this macosx binary egg?  Brian?
> > > > > > >
> > > >
> > http://rene.f0o.com/~rene/stuff/pygame-1.8.0rc3-py2.5-macosx-10.3-fat.egg
> > > > > > >
> > > > > > >
> > > > > > It installs and runs things fine with a user-installed build of
> > python
> > > > 2.5
> > > > > > with objC 1.4 installed on Leopard
> > > > > >
> > > > > >
> > > > > > ...I'd love to try it on my system python as well, but I can't see
> > to
> > > > find
> > > > > > easy_install for the apple-installed python... it's not in
> > > > > > System/Library/Frameworks/Python.framework/Current/bin and not in
> > > > > > /Library/Python/2.5/site-packges either... and finder doesn't seem
> > to
> > > > want
> > > > > > to try to help me find it either - anybody got any tips?
> > > > > >
> > > > >
> > > >
> > > >
> > >
> >
> >
>