Hello Rob,
This is fantastic!
I can't get it to work though. I am running the soundspace.py example in the examples. I copy the two windows dlls into my soundspace dir (I don't know if I use the 64 cause I am on a 64 bit windows, or the 32 because I am using a 32 bit of python, so I did both).
With just copying the dlls into the dir, I do
python soundspace.py
and nothing happens. I need to force-close the command prompt.
I tried putting it into a bin folder and it said it didn't find it. I tried using one at a time and I still got errors. I tried renaming the 64 to just avbin.dll, but got a windows error. *Note* I did all the examples with and without the line of code you said to place in the file.

I then went into my site-packages and copied the 2 dlls into the media folder. I ran the program and I got the no avbin error. Then I added the line you said to add and still got the error.

I then went into my python27 folder and copied both the dlls and ran it. I got the same result as I did with the dlls being copied into the same dir as the .py file. It ran, but there was nothing and I had to force-close the command prompt.
So I think there may be something wrong with the soundspace.py example.

Also, what does the license say? That any program that uses AvBin must be open-source?

Thank you,

Brandon Keith Biggs <http://www.brandonkeithbiggs.com/>
On 3/8/2015 11:06 AM, Rob wrote:
Hi,

I created a redistributable package at https://bitbucket.org/pyglet/pyglet/downloads/avbin_10_pyglet.tar.gz

@Nathan: I included the license file and also pointed to it in the readme. Would that be ok?

@Brandon: Please see the readme inside and let me know if this works for you.

Rob

Op zaterdag 7 maart 2015 21:21:43 UTC+1 schreef Nathan:

    AVbin consists of a single library file per platform.  Feel free
    to repackage them however you want, as long as you abide by the
    license it is under.

    AVbin still needs help.  See
    https://groups.google.com/forum/#!topic/pyglet-users/HxJVKUPcwgE
    <https://groups.google.com/forum/#%21topic/pyglet-users/HxJVKUPcwgE>

    Now that Pyglet seems to have been resurrected, perhaps someone
    would like to take the reins for Pyglet from me (see above link
    for more details).

    I would be happy to add committers.  I would be even happier to
    transfer control of the entire project.  I'm really no longer
    involved except for as a distant observer wishing you guys well
    and cheering you on.

    ~ Nathan

    On Sat, Mar 7, 2015 at 9:48 AM, Brandon Keith Biggs
    <brandonk...@gmail.com <javascript:>> wrote:

        Hello,
        If you could do that, it would really be amazing!
        Right now it is AVbin keeping me from changing the back-end of
        my game library to pyglet. Once I can get the cross-platform
        AVbin package, I can update my distributions!
        Thank you,

        Brandon Keith Biggs <http://www.brandonkeithbiggs.com/>
        On 3/7/2015 5:28 PM, Rob wrote:
        Hi,

        I am not sure if it works for every platform, but usually
        putting the library in the same directory as the module
        importing it makes it being found. So then you do not need to
        put it in os specific places. As I can see from the source
        code it tries the default first. So putting it in
        pyglet/media should work. I did not try yet.

        I am in favor of creating a 'dist' friendly package of avbin.
        I am currently working on pyglet.media, so maybe I'll try to
        pry the files out of the installers (or build them myself).

        Rob

        Op zaterdag 7 maart 2015 13:59:51 UTC+1 schreef Brandon Keith
        Biggs:

            Hello,
            Most of my stuff is zipped with CX_Freeze or pyinstaller,
            so I can include it in one of those scripts.
            I just don't know where to download or put the binaries.
            Thanks,

            Brandon Keith Biggs <http://www.brandonkeithbiggs.com/>
            On 3/7/2015 12:09 PM, Rob wrote:
            It would be nice if AVbin would provide a package
            containing the libraries for each platform, instead of
            just platform installers. That would be kind of a 'dist'
            package. Maybe even add a nice script to install based
            on the platform?

            Rob

            Op zaterdag 7 maart 2015 09:10:26 UTC+1 schreef Brandon
            Keith Biggs:

                Hello,
                I am looking at using pyglet as my primary
                development environment for games. I have a question
                though:
                Is there a folder I can include in every development
                system that has the correct AVbin  binary for each OS?
                For example, if I have a pyinstaller.spec file, it
                will check the os, then copy the proper AVbin file
                into the dist so I have something like:

                dist/AVbin.dll
                dist/game.exe

                Then I just rename my dist file and give it to
                people for that os.
                Is this possible?
                thanks,

-- Brandon Keith Biggs <http://www.brandonkeithbiggs.com/>

-- You received this message because you are subscribed to
            the Google Groups "pyglet-users" group.
            To unsubscribe from this group and stop receiving emails
            from it, send an email to pyglet-users...@googlegroups.com.
            To post to this group, send email to
            pyglet...@googlegroups.com.
            Visit this group at
            http://groups.google.com/group/pyglet-users
            <http://groups.google.com/group/pyglet-users>.
            For more options, visit
            https://groups.google.com/d/optout
            <https://groups.google.com/d/optout>.

-- You received this message because you are subscribed to the
        Google Groups "pyglet-users" group.
        To unsubscribe from this group and stop receiving emails from
        it, send an email to pyglet-users...@googlegroups.com
        <javascript:>.
        To post to this group, send email to
        pyglet...@googlegroups.com <javascript:>.
        Visit this group at
        http://groups.google.com/group/pyglet-users
        <http://groups.google.com/group/pyglet-users>.
        For more options, visit https://groups.google.com/d/optout
        <https://groups.google.com/d/optout>.

-- You received this message because you are subscribed to the
        Google Groups "pyglet-users" group.
        To unsubscribe from this group and stop receiving emails from
        it, send an email to pyglet-users...@googlegroups.com
        <javascript:>.
        To post to this group, send email to
        pyglet...@googlegroups.com <javascript:>.
        Visit this group at
        http://groups.google.com/group/pyglet-users
        <http://groups.google.com/group/pyglet-users>.
        For more options, visit https://groups.google.com/d/optout
        <https://groups.google.com/d/optout>.


--
You received this message because you are subscribed to the Google Groups "pyglet-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to pyglet-users+unsubscr...@googlegroups.com <mailto:pyglet-users+unsubscr...@googlegroups.com>. To post to this group, send email to pyglet-users@googlegroups.com <mailto:pyglet-users@googlegroups.com>.
Visit this group at http://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to pyglet-users+unsubscr...@googlegroups.com.
To post to this group, send email to pyglet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to