kivy3 icon indicating copy to clipboard operation
kivy3 copied to clipboard

2 setup.py ommissions

Open kentborg opened this issue 7 years ago • 3 comments

I think.

Things work better for me if I not only do "sudo python ./setup.py install" but also do:

sudo cp /home/kentborg/python/kivy3-KeeWeeUsr/kivy3/default.glsl /usr/local/lib/python2.7/dist-packages/kivy3-0.1-py2.7.egg/kivy3/default.glsl sudo cp /home/kentborg/python/kivy3-KeeWeeUsr/kivy3/loaders/empty.png /usr/local/lib/python2.7/dist-packages/kivy3-0.1-py2.7.egg/kivy3/loaders

kentborg avatar Jul 02 '17 21:07 kentborg

You can always install pip install --user instead of sudo and it'd be even better. Also, the mentioned files should be included automatically. Works fine for me on Windows with pip.

KeyWeeUsr avatar Jul 03 '17 09:07 KeyWeeUsr

I clearly don't know enough about pip...

In this current investigation I want to be able control what gets installed. For example nskrypnik/kivy3 vs. KeyWeeUsr/kivy3 vs. local copies of either of them, maybe that I have modified (floor() vs. int() vs. nothing).

It looks like "pip wheel" can help me do things locally, but I don't see how "pip install --user" does.

-kb

kentborg avatar Jul 03 '17 17:07 kentborg

It happens to me too that "pip install" not copying these 2 files ("default.glsl" and "empty.png"). I am not aware if other files were ignored. That happens either with sudo (into "/usr/local/lib/python3.5/dist-packages/") or without in user local directory ("~/.local/lib/python3.5/site-packages/"). I ended pip-uninstalling it and copying the whole kivy3 directory manually to "site-packages/", which worked fine.

I am using pip3 with python 3.5.3

khalakhelo avatar Jul 24 '18 09:07 khalakhelo