Skip to content

Add proper Python packaging#54

Open
adeebshihadeh wants to merge 5 commits intomasterfrom
fix_packages
Open

Add proper Python packaging#54
adeebshihadeh wants to merge 5 commits intomasterfrom
fix_packages

Conversation

@adeebshihadeh
Copy link
Copy Markdown
Contributor

Summary

  • Replace setup.py with modern pyproject.toml (setuptools backend)
  • Add MANIFEST.in for proper source distribution of C++/Cython files
  • Export BASEDIR, HELPERS_PATH, TEMPLATE_DIR, INCLUDE_PATH from init.py for consumers

Test plan

  • pip install -e . works
  • python -c "import rednose; print(rednose.HELPERS_PATH)" works

🤖 Generated with Claude Code

Replace setup.py with pyproject.toml, add MANIFEST.in for source
distribution, and export path constants from __init__.py for consumers.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
adeebshihadeh and others added 4 commits February 21, 2026 10:48
Add setup.py with Extension definition for ekf_sym_pyx Cython
extension so it compiles during `pip install -e .`.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add rednose/ and rednose/helpers/ to include_dirs so the C++ compiler
can find logger/logger.h and local headers during pip install.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Copy rednose_filter.py into rednose/site_scons/ subpackage so it's
  available when installed as a pip package
- Add SITE_SCONS_TOOLS path constant to __init__.py
- Detect Eigen3 include path for macOS (via Homebrew) and Linux

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add __init__.py to rednose/logger so it is recognized as a Python
package, add package-data entry in pyproject.toml, and update
MANIFEST.in so logger.h is included in source distributions.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant