python_module!() { /* proc-macro */ }
Expand description

Macro taking two parameters. The first is the name of the module, the second is the path to load it from.

use std::module_path;

python_module!(py_mod);