Can I use other licenses(e.g. MIT) for a library that
- has the same API as a GPL library, but
- does not import the GPL nor a snippet of code from it
What I am actually doing
I will use Blender python API(mainly bpy) as an example.
I am using bpy to develop my addons. but since this is an API, it will only work in a launched blender, making it difficult to use the IDEs.
So I am planning to make a fake-bpy module written in blender.
For example, bpy.ops.objects.add_primitive_cube
will add a cube in the real bpy while this will simply print("cube added")
This has nothing to do with the actual code in blender, just happens to have the same modules, functions and so on.
Being a GPL program is a GPL too. But what about my fake-bpy?