g0dsgif1 / python-for-android

Automatically exported from code.google.com/p/python-for-android
Apache License 2.0
0 stars 0 forks source link

Broken distutils #25

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. standard setup.py script (for ex. in /data/data/xxx/files)
2. run setup.py install

What is the expected output? What do you see instead?

error: invalid Python installation: unable to open 
/data/data/com.googlecode.pythonforandroid/files/python/lib/python2.6/config/Mak
efile (No such file or directory)

What version of the product are you using? On what operating system?

python_r16, python_extras_r13, Android 2.2

Please provide any additional information below.

distutils on posix platform presuppose that Makefile and pyconfig.h are 
available: see distutils/sysconfig.py.
Besides, os.name returns posix whereas Android is not really posix.

Original issue reported on code.google.com by philippe...@gmail.com on 3 Sep 2011 at 2:41

GoogleCodeExporter commented 8 years ago

Original comment by rjmatthews62 on 3 Apr 2012 at 2:26