setup.py: fix for making pip install work

This commit is contained in:
Mathieu Virbel 2011-02-02 00:40:17 +01:00
parent 0b2e01f75c
commit 38acd2da10
1 changed files with 2 additions and 0 deletions

View File

@ -135,6 +135,8 @@ if True:
pyxl = pyx.split(sep)
while pyxl[0] != 'kivy':
pyxl.pop(0)
if pyxl[1] == 'kivy':
pyxl.pop(0)
return '.'.join(pyxl)
# simple extensions