diff options
author | Victor Popov <v.popov@corp.mail.ru> | 2020-04-06 17:00:27 +0300 |
---|---|---|
committer | Tatiana Yan <tatiana.kondakova@gmail.com> | 2020-06-03 16:37:10 +0300 |
commit | acaff34093dd9a9ff98bed216939fad1c8bc9011 (patch) | |
tree | 0ec108c956e14545c33bc890b63854625c583892 /search | |
parent | d8eb38738d771ac4bf77b1503cd41a624e5ebd12 (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.py | 12 |
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) |