Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/search
diff options
context:
space:
mode:
authorVictor Popov <v.popov@corp.mail.ru>2020-04-06 17:00:27 +0300
committerTatiana Yan <tatiana.kondakova@gmail.com>2020-06-03 16:37:10 +0300
commitacaff34093dd9a9ff98bed216939fad1c8bc9011 (patch)
tree0ec108c956e14545c33bc890b63854625c583892 /search
parentd8eb38738d771ac4bf77b1503cd41a624e5ebd12 (diff)
[pybindings] setup.py for building pybindings with ease
- build boost_python from our bundled boost - configure omim, build single binding - build all bindings in one run - install, create wheels
Diffstat (limited to 'search')
-rw-r--r--search/pysearch/setup.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/search/pysearch/setup.py b/search/pysearch/setup.py
new file mode 100644
index 0000000000..5e4b4f01c5
--- /dev/null
+++ b/search/pysearch/setup.py
@@ -0,0 +1,12 @@
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+import os
+import sys
+module_dir = os.path.abspath(os.path.dirname(__file__))
+sys.path.insert(0, os.path.join(module_dir, '..', '..'))
+
+from pyhelpers.setup import setup_omim_pybinding
+
+NAME = "pysearch"
+
+setup_omim_pybinding(name=NAME)