Skip to content

rework the build/installation script so that it's possible to load the setup.py and fetch dependencies before using them #707

Open
ghost opened this Issue Oct 1, 2012 · 4 comments

5 participants

@ghost
ghost commented Oct 1, 2012

Right now, the installation/build script try to import cython and then create the build functions to populate distutils setup() function, it may be possible to delay the import until the build step so that installation tools like pip can use the setup.py to resolve dependencies and then build the package.

This shouldn't not be too difficult to do, but is required to have proper python dependency resolution working (jnius ? and maybe others).

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@ghost
ghost commented Oct 1, 2012

Please document required dependencies so that they can be added to install_required once it's possible to use it.

@buchuki
buchuki commented Oct 26, 2012

I'd really like to see setup.py more user friendly, probably using distribute/setuptools. I don't think this is a comprehensive list, but the script I set up for creating a virtualenv under Arch summarizes the deps I've needed to get things working:

https://bitbucket.org/dusty/kivyvenv/src/335cf5818916e8b9e30a9946cc2e5ecc77cafca3/kivyvenv.sh?at=master

@tito
Kivy member
tito commented Oct 26, 2012

You could try, but i tried on my side and it didnt work out, and another user tried too in a code party on Europython, and he got exactly the same result. Also be careful, by not using the default, you will broke kivy-ios and python-for-android, because both are using the distutils within Python (no external dependencies needed). I'll be happy to merge a solution that will work with pip AND python-for-android+kivy-ios, without changing the last 2 projects.

@tito
Kivy member
tito commented Oct 26, 2012

Also @buchuki , you can install pygame with:
pip install hg+http://bitbucket.org/pygame/pygame

I don't see the point of the last one, if cython is already installed, you should'nt need to "fix" kivy right ?

@tshirtman tshirtman modified the milestone: 1.9.1, 1.9.0 Sep 14, 2014
@akshayaurora akshayaurora modified the milestone: 1.9.2, 1.9.1 Aug 15, 2015
@dessant dessant added distribution and removed packaging labels Mar 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.