Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #14417
| From | stefanor@debian.org |
|---|---|
| Newsgroups | linux.debian.maint.python |
| Subject | Re: PYTHONPATH with cmake build |
| Date | 2022-08-31 11:40 +0200 |
| Message-ID | <F0smt-4j1f-1@gated-at.bofh.it> (permalink) |
| References | (2 earlier) <F0bOF-48hk-1@gated-at.bofh.it> <F0bOF-48hk-15@gated-at.bofh.it> <F0chI-48FT-1@gated-at.bofh.it> <F0hKp-4bVc-1@gated-at.bofh.it> <F0scN-4iWY-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi PICCA (2022.08.31_09:05:43_+0000)
> export PYBUILD_AFTER_BUILD=make -C {build_dir}/lib
I didn't do anything to support parallel, there. It may be nice to
(makes a huge difference to this package's build time).
> export PYBUILD_BEFORE_TEST=cp {build_dir}/lib/lib/*.so {build_dir}
> export PYBUILD_BEFORE_INSTALL=cp {build_dir}/lib/lib/*.so {build_dir}; rm -rf {build_dir}/lib
> it seem to work but I am am not really confident with the 'rm -rf {build_dir}/lib' during the install
I'd suggest an && instead of ; of course :)
And maybe logically, that should all happen in AFTER_BUILD...
> If I do not remove these files, they got installed by pybuild.
What's actually happening there is that they're getting installed by
setuptools. If we could install them into the right spot with cmake,
maybe we could reduce the copying and deleting. I didn't experiment with
that very much, just got to the point it worked...
SR
--
Stefano Rivera
http://tumbleweed.org.za/
+1 415 683 3272
Back to linux.debian.maint.python | Previous | Next — Previous in thread | Find similar | Unroll thread
PYTHONPATH with cmake build PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2022-08-30 16:30 +0200
Re: PYTHONPATH with cmake build Andrey Rahmatullin <wrar@debian.org> - 2022-08-30 16:40 +0200
Re: PYTHONPATH with cmake build PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2022-08-30 18:00 +0200
Re: PYTHONPATH with cmake build Andrey Rahmatullin <wrar@debian.org> - 2022-08-30 18:00 +0200
Re: PYTHONPATH with cmake build PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2022-08-30 18:30 +0200
Re: PYTHONPATH with cmake build Andrey Rahmatullin <wrar@debian.org> - 2022-08-30 19:00 +0200
Re: PYTHONPATH with cmake build PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2022-08-30 19:20 +0200
Re: PYTHONPATH with cmake build Neil Williams <codehelp@debian.org> - 2022-08-30 20:10 +0200
Re: PYTHONPATH with cmake build PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2022-08-30 19:30 +0200
Re: PYTHONPATH with cmake build Stefano Rivera <stefanor@debian.org> - 2022-08-31 00:20 +0200
Re: PYTHONPATH with cmake build PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2022-08-31 11:30 +0200
Re: PYTHONPATH with cmake build stefanor@debian.org - 2022-08-31 11:40 +0200
csiph-web