python3 support

571 views
Skip to first unread message

Nitneroc

unread,
Sep 20, 2012, 5:06:24 AM9/20/12
to cocos-...@googlegroups.com
Now that pyglet has python3 support, I was wondering if we could hope such support in cocos2d.

By the way, I realised pip and easy_install try to install cocos2d-0.5.5-docs.zip instead of cocos2d-0.5.5.zip

claudio canepa

unread,
Sep 20, 2012, 7:24:05 AM9/20/12
to cocos-...@googlegroups.com
On Thu, Sep 20, 2012 at 6:06 AM, Nitneroc <corent...@gmail.com> wrote:
Now that pyglet has python3 support, I was wondering if we could hope such support in cocos2d.


Yes. Testing has been improved in the last cocos, which will allow to move to 3 with some confidence.
I'm with little free time, but it will be done. 

 
By the way, I realised pip and easy_install try to install cocos2d-0.5.5-docs.zip instead of cocos2d-0.5.5.zip

I think this is a flaw in pip - easy-install, but will see if theres some way to fix that.
What was the exact command line you used with pip and easy-install ?

 

Nitneroc

unread,
Sep 20, 2012, 8:20:04 AM9/20/12
to cocos-...@googlegroups.com
Thank you claudio !

I'd be glad to help, but I'm not sure I'm good enough for this... Maybe I could have a look, but I've actually never used python3 before, and I don't really know how hard having compatible code could be.

I tried to replicate my easy_install problem, but since I already have cocos installed, it does not happen. I'm pretty sure what I did was "easy_install cocos2d" or "pip install cocos2d". Sorry for not being clearer...

Richard Jones

unread,
Sep 20, 2012, 8:29:15 AM9/20/12
to cocos-...@googlegroups.com
On 20 September 2012 21:24, claudio canepa <ccan...@gmail.com> wrote:
> On Thu, Sep 20, 2012 at 6:06 AM, Nitneroc <corent...@gmail.com> wrote:
>> By the way, I realised pip and easy_install try to install
>> cocos2d-0.5.5-docs.zip instead of cocos2d-0.5.5.zip
>
>
> I think this is a flaw in pip - easy-install, but will see if theres some
> way to fix that.

I believe the simplest solution is to label the docs cocos2d-docs-0.5.5.zip


Richard

claudio canepa

unread,
Sep 21, 2012, 11:27:49 PM9/21/12
to cocos-...@googlegroups.com

--
 


From a win xp + python 2.6 machine with setuptools and not pip
    easy_install cocos2d
worked fine, whereas in a win 7 + 2.6 in a virtualenv with pip + distribute
    pip install cocos2d
failed in the way mentioned by Nitneroc 

After following Richard's suggestion both systems performed right. (Thanks Richard !)
Yay with the distutils + setuptools + pip + distribute mess !




Nitneroc

unread,
Sep 22, 2012, 3:58:20 PM9/22/12
to cocos-...@googlegroups.com
Good news, thank you !

Eko Suprapto Wibowo

unread,
Dec 15, 2013, 1:37:47 AM12/15/13
to cocos-...@googlegroups.com
Do Python 3.3 already supported by Cocos2d?
I would love to start Cocos2d using Python 3.3 support

I only manage to install the latest pyglet into python 3.3
But failed to do so with Cocos2d

claudio canepa

unread,
Dec 15, 2013, 2:18:49 PM12/15/13
to cocos2d discuss



On Sun, Dec 15, 2013 at 3:37 AM, Eko Suprapto Wibowo <swdev...@gmail.com> wrote:
Do Python 3.3 already supported by Cocos2d?
I would love to start Cocos2d using Python 3.3 support

I only manage to install the latest pyglet into python 3.3
But failed to do so with Cocos2d


Current cocos does not support python 3.
The next release probably will, but not earlier than april 2014.


Reply all
Reply to author
Forward
0 new messages