[Distutils] Equivalent of config.h?
Denis Jasselette
dionysos_13 at yahoo.fr
Wed Jun 16 17:19:06 CEST 2010
> What OS are you using and which set of commands did you exactly use ?
I am using Ubuntu 10.04 (python 2.6). And here is what I did:
$ ll
-rwxr-xr-x 1 denis denis 396 2010-06-16 14:39 setup.py
-rwxr-xr-x 1 denis denis 10K 2010-06-16 14:13 teqhtml
-rw-r--r-- 1 denis denis 203 2010-06-16 14:11 teqhtml_config.py
$ ./setup.py build
[...]
$ sudo ./setup.py install
[...]
$ ll /usr/local/bin/
-rwxr-xr-x 1 root root 10K 2010-06-16 17:06 teqhtml
$ ll /usr/local/lib/python2.6/dist-packages/
-rw------- 1 root staff 281 2010-06-16 17:06
teqhtml-0.5.egg-info
-rw------- 1 root staff 203 2010-06-16 14:11 teqhtml_config.py
-rw------- 1 root staff 562 2010-06-16 17:06 teqhtml_config.pyc
Actually, install doesn't change permissions, they are set while
building. It looks like the umask is taken into account for py_modules
but permissions are explicitly changed for scripts. If I set my umask to
0000 for instance, I don't have that problem.
More information about the Distutils-SIG
mailing list