Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build a proper Python package #254

Merged
merged 8 commits into from
Jun 10, 2022
Merged

Build a proper Python package #254

merged 8 commits into from
Jun 10, 2022

Conversation

dhdaines
Copy link
Contributor

@dhdaines dhdaines commented Jun 9, 2022

Use the very helpful https://github.com/diegoferigo/cmake-build-extension to make a proper Python package, instead of just some random .py and .so files like CMake wants to give you by default. Currently includes no batteries (models, etc) but this could change. Also needs the various helpful improvements from SoundSwallower.

Since the "pocketsphinx" namespace is highly polluted on PyPI, I've grudgingly decided to call it "pocketsphinx5".

@dhdaines dhdaines requested a review from lenzo-ka June 9, 2022 20:50
# This does something, not sure what
set_property(TARGET bindings PROPERTY SWIG_USE_TARGET_INCLUDE_DIRECTORIES TRUE)
# Enable parsing the doxygen comments (FIXME: does this work?)
set_property(TARGET bindings PROPERTY SWIG_COMPILE_OPTIONS -doxygen)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The answer is "no", for macos anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants