[issue9322] bdist_rpm ext_modules absolute source path fail
New submission from Dan OD dj...@cam.ac.uk: Setting absolute paths for C source code files in setup.py breaks bdist_rpm ext_modules=[Extension('foo', [os.path.abspath('src/foo.c')])], results in bdist_rpm not including src/foo.c in the RPM, however ext_modules=[Extension('foo', ['src/foo.c'])], works just fine. -- assignee: tarek components: Distutils messages: 111058 nosy: indiedan, tarek priority: normal severity: normal status: open title: bdist_rpm ext_modules absolute source path fail type: behavior versions: Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9322 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9322] bdist_rpm ext_modules absolute source path fail
Éric Araujo mer...@netwok.org added the comment: Examples in the documentation only use relative paths, so in my opinion the bug here is the silent failure. Do absolute paths work for sdist or other bdists? -- nosy: +merwok ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9322 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9322] bdist_rpm ext_modules absolute source path fail
Dan OD dj...@cam.ac.uk added the comment: I'm still ironing out the crinkles, but this has been working for sdist build (/install) bdist_dumb unfortunately I don't have access to a Windows machine to test the other two. A non-silent warning/error would keep me happy. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9322 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com