How do I get vcpkg installed library directory to include them in build script

Hi,
I have a simple question about using vcpkg, I know how I can integrate it with vs but I wanted to include the installed libraries in build script of my code to install it using python install command. So far I could manually get the directory of E:\vcpkg\installed\x86-windows\include and add this directory to include path of my code and it works. But is there any environment variable so I can check to find where is installed directory of vcpkg? or even is it safe to use this directory directly?

@am2222, you can use '${VCPKG_ROOT_DIR}\installed${TRIPLET}\include' instead, but you should specify VCPKG_ROOT_DIR and TRIPLET.

@PhoebeHui Hi, Is that a kind of system environment? or it is CMAKE variable?

@am2222, it's environment variable that we used in portfile.cmake, it's not a system environment.

@PhoebeHui So I can not access it using python setup.py environment, right?

Yes

call env ... msvc cmd
set include=%include%;e:\vcpkg....\include
set lib=%lib%;e:\vcpkg....\lib
python setup.py build

@Voskrese thanks so much.
I have one question related to lib environment variable. If I set it I don't need to define it in setup.py anymore? Since I have a problem with my library, despite that I define the directory of vcpkg in setup.py it still raises link error.
ext_modules = [
    Extension(
        include_dirs=[],
        # extra_link_args=[r'"/LIBPATH:E:\Personal\SideWorks\vcpkg\installed\x86-windows\lib"'],
        libraries =['gdal','geos','geos_c'],
        library_dirs =['E:\Personal\SideWorks\vcpkg\installed\x86-windows\lib'],
        language='c++'
    ),
]

This is a part of my setup.py, I asked a detailed question about it in stackoverflow but I am not sure whether my problem is with wrong use of vcpkg or somewhere else.
https://stackoverflow.com/questions/58365268/link-library-lib-using-setup-py

python env in distutils.cfg
python3\Lib\distutils\distutils.cfg - global
site.cfg - local
https://github.com/Voskrese/vcpkg/blob/master/ports/python3-setuptools/distutils-rel.cfg.in

@Voskrese thanks very much


📦 ci(renovate): move Renovate conf to project level rather than runner level

Includes stopping to run Renovate on java8 branch

@jbwheatley not sure if related to your changes but the PR has a "build" expected check that doesn't exist anymore. I can't merge the PR.


Don't start sentence with so -- false positives

Describe The Bug
write-good and ttd-lite styles don't actually test to see if something starts with the word. They are only testing to see if the word exists anywhere in the text.

This is happening because ignorecase: true is passed in here and here.


Implement support for MIPS64

This adds OSFiber support for mips64 with N64 ABI.
It has been tested on a Loongson MIPS64 Little Endian machine,
All unittests green.

Thank you very much @FlyGoat for your PR!
This looks great to me, but I admit my mips64 knowledge is somewhat lacking
I've asked around my colleagues to see if anyone here knows the ISA / ABI to give a quick review.
In the likely case that I cannot find someone in the next few working days, I'll happy land this as you've given your word it is tested and works.

You can get a brief look at Wikipedia.

You say this conforms to the N64 ABI. Do you know if this is different from other mips64 ABIs? If this is non-standard, is there any way we can detect and conditionally compile for this ABI (is there a N64 preprocessor define or something)?

_MIPS_SIM == _ABI64 is indicating N64 ABI. Another MIPS64 ABI is N32, just like x32 in x86 world. Rarely get used, so we don't consider it.
I'm just trying to bring MIPS64 support back to Chromium again :-). Most of the code is lying in Chromium for years without maintenance.
Thanks for your quick response!