python-for-android
python-for-android copied to clipboard
Enhancement request: cleanup recipe names
Description
Having worked to get requirements correct, users find the recipe names are different for no apparent reason. WTF?!
And scrolling the recipes directory, looking for a clue, is a challenge because there are also libraries and misnamed items in there.
Its confusing.
Cleanup the names, and in p4a implement a lookup table for backwards compatibility. Or create alias recipes like pil.
Wrong name wrt Pypi
dateutil is python-dateutil
mysqldb is mysql-python - this claims to only support Python2
ndghttpsclient is ndg-httpsclient
opencv is opencv-python
opencv_extras is opencv-contrib-python
protobuf_cpp is protobuf-python
pyleveldb is leveldb
spine is spine-cython
Conflicting Pypi name:
av recipe is not av package, correct name is pyav , av is a different package
Some oddballs, not clear how a user would know what these are (or how to use them)
audiostream
cymunk
pil
vlc
Libs that are not named libXXXX (perhaps all the libs could be in a different directory?)
freetype
harfbuzz
ifaddrs
jepd
openal
openssl
sqlite3
av recipe is not av package, correct name is pyav , av is a different package
https://pypi.org/project/av/ isn't the same we support under the av recipe?
Sorry, my error. You are correct.
Current status:
✅ dateutil -> python-dateutil (Removed, as not needed anymore, via https://github.com/kivy/python-for-android/pull/2829)
✅ mysqldb -> mysql-python (Removed, as Python2.x only, via https://github.com/kivy/python-for-android/pull/2828)
🟡 ndghttpsclient -> ndg-httpsclient
🟡opencv -> opencv-python
🟡opencv_extras -> opencv-contrib-python
🟡protobuf_cpp -> protobuf-python (See: https://github.com/protocolbuffers/protobuf/tree/main/python#implementation-backends)
🟡pyleveldb -> leveldb
🟡spine -> spine-cython