Skip to content

Pip packaging #3

@reginaldl

Description

@reginaldl

Hi,

First of all, thank you for tkrzw. I love it!!!

I would like to add proper python packaging for this awesome library.
So whenever someone needs tkrzw-python, they could simply do: pip install tkrzw

I am wondering how we could ship the original tkrzw library (estraier/tkrzw) as part of this python package?
(So we wouldn't have to compile+install tkrzw before installing the python wrapper)

I'm sending a first diff that updates setup.py a little bit in order to allow easy packaging.
I think there are probably 2 ways to include the original tkrzw:

  • Compile the python wrapper with the static version of tkrzw. This only requires to change a few compile flags I assume.
  • Add the tkrzw.(so|dylib) to the python package (although I'd have to look up how to correctly update ldconfig for python). This is doable by adding packages and packages_data to the setup function.

I'd appreciate some input, thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions