Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setup fixes for python 3.5 #200

Merged
merged 3 commits into from
Feb 15, 2016
Merged

setup fixes for python 3.5 #200

merged 3 commits into from
Feb 15, 2016

Conversation

danielepantaleone
Copy link
Contributor

This PR fixes an issue that arises when building under python 3.5.

@danielepantaleone
Copy link
Contributor Author

Any chance for this to get merged?

inclement added a commit that referenced this pull request Feb 15, 2016
@inclement inclement merged commit 707cc93 into kivy:master Feb 15, 2016
@inclement
Copy link
Member

Thanks, and sorry for the delay. I've added pyjnius to my notifications to try and catch these things, so hopefully there won't be such a delay in the future.

@danielepantaleone
Copy link
Contributor Author

No worries 😄 I just wanted to know if it was going to be refused because I'm currently installing PyJNIus from my custom fork and it's a pain to rebase every time something new gets included in the official repo 👍

@tychovk
Copy link

tychovk commented Jun 3, 2016

Necroing, but: does/should it work for python 3.5 now? If so, are there any additional instructions?

@inclement
Copy link
Member

Yes, it should just work.

@tychovk
Copy link

tychovk commented Jun 3, 2016

hmm so from the bottom up, these are my steps:
https://kivy.org/docs/installation/installation.html#ubuntu (which btw still states that `In addition, you need a Python 2.x (2.7 <= x < 3.0) or 3.x (3.3 <= x) interpreter.)

sudo apt-get install python-setuptools python-pygame python-opengl \
python-gst0.10 python-enchant gstreamer0.10-plugins-good python-dev \
build-essential libgl1-mesa-dev libgles2-mesa-dev zlib1g-dev python-pip

then:
pip3 install kivy
It says:

successfully built kivy

Yay!

Strange however, if I do a pip3 list, those dependencies don't show up.

So.. I tried to install the dependencies individually for python3, e.g. pygame:

https://pypi.python.org/pypi/setuptools/3.5#installation-instructions

wget https://bootstrap.pypa.io/ez_setup.py -O - | sudo python3

http://www.pygame.org/wiki/CompileUbuntu?parent=Compilation

sudo apt-get install mercurial python3-dev python3-numpy libav-tools \
libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev libsmpeg-dev \
libsdl1.2-dev  libportmidi-dev libswscale-dev libavformat-dev libavcodec-dev
sudo apt-get install python3-opengl

So far so good.. I guess.
This one also worked:

sudo apt-get python3-enchant

Hoping it's fine now. For now I'm going to try testing 2.7 next to 3.5, just so I don't go crazy...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants