MCPcopy Create free account
hub / github.com/catboost/catboost / build_extension

Method build_extension

library/python/hnsw/setup.py:8–10  ·  view source on GitHub ↗
(self, ext)

Source from the content-addressed store, hash-verified

6
7class CopyBuild(build_ext):
8 def build_extension(self, ext):
9 mkpath(self.build_lib)
10 copy_file(ext.sources[0], self.get_ext_fullpath(ext.name))
11
12# How to build and upload package to Yandex PyPI can be found here: https://wiki.yandex-team.ru/pypi/
13# Before building and uploading _hnsw.so should be built from 'hnsw' folder like this:

Callers

nothing calls this directly

Calls 2

mkpathFunction · 0.50
copy_fileFunction · 0.50

Tested by

no test coverage detected