[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: PYTHONPATH with cmake build



On Tue, Aug 30, 2022 at 06:02:01PM +0200, PICCA Frederic-Emmanuel wrote:
> > When trying to run tests you should look how does the upstream intend to
> run them.
> 
> 
> Yes they are building inplace the module like this
> 
> from https://github.com/dials/dxtbx/blob/main/.azure-pipelines/unix-build.yml
> 
> 
> # Build dxtbx
> - bash: |
>     set -e
>     . conda_base/bin/activate
>     set -ux
>     mkdir build
>     cd build
>     cmake ../modules/dxtbx
>     cmake --build . --target install
>     pip install ../modules/dxtbx
Oh. In this case setting PYTHONPATH (if it works, and I'm not 100% sure it
will) sounds like a better option.
So, the cmake build path is, as far as I know, defined in
/usr/share/perl5/Debian/Debhelper/Buildsystem.pm to be just
"obj-$DEB_HOST_GNU_TYPE".


-- 
WBR, wRAR

Attachment: signature.asc
Description: PGP signature


Reply to: