Project

General

Profile

Actions

Bug #1240

closed

Can't write plugins solely with `--enable-python-plugins`

Added by Francis Deslauriers about 4 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Francis Deslauriers
Category:
Build system
Start date:
02/21/2020
Due date:
% Done:

0%

Estimated time:

Description

If the user builds and install the project:

./configure --enable-python-plugins
make
make install

They won't be able to do the import bt2 necessary to start defining their BT2 plugin.
To write a Python plugin , the user needs to use the Python bindings as well.

The user gets this:

>>> import bt2
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'bt2'

We could either:
  1. turn on `--enable-python-bindings` whenever `--enable-python-plugins` is enabled,
  2. error out during the ./configure if `--enable-python-bindings` is not provided.
Actions

Also available in: Atom PDF