python-install

Python setuptools/distutils custom build for the `extra` package with Makefile

丶灬走出姿态 提交于 2019-11-30 06:41:45
Preamble: Python setuptools are used for the package distribution. I have a Python package (let us call it my_package ), that has several extra_require packages to it. Everything works just find (installation and build of the package, as well as extras, if were requested), as all extra_require were python packages themselves and pip correctly resolved everything. A simple pip install my_package worked like a charm. Setup: Now, for one of the extras (let us call it extra1 ) I need to call a binary of a non-python library X . Module X itself (source code) was added to the my_package codebase and