Skip to content
This repository has been archived by the owner on Dec 18, 2023. It is now read-only.

Commit

Permalink
Fix sdist builds by including headers (#1309)
Browse files Browse the repository at this point in the history
Summary:
### Motivation
Fixes #1307

### Changes proposed

Includes headers in sdist

Pull Request resolved: #1309

Test Plan:
See `deploy.yml` changes

### Types of changes
- [ ] Docs change / refactoring / dependency upgrade
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)

### Checklist
- [x] My code follows the code style of this project.
- [ ] My change requires a change to the documentation.
- [ ] I have updated the documentation accordingly.
- [x] I have read the **[CONTRIBUTING](https://github.com/facebookresearch/beanmachine/blob/main/CONTRIBUTING.md)** document.
- [x] I have added tests to cover my changes.
- [ ] All new and existing tests passed.
- [ ] The title of my pull request is a short description of the requested changes.

Reviewed By: wtaha

Differential Revision: D33587287

Pulled By: feynmanliang

fbshipit-source-id: 825dc3c60b9ea9d76955cbd8e97645bacdae54a2
  • Loading branch information
Feynman Tsing-Yang Liang authored and facebook-github-bot committed Jan 20, 2022
1 parent d21a879 commit 8a4fe84
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ jobs:
if: matrix.os == 'macos-latest'
run: python -m build --sdist

- name: Install from sdist
if: matrix.os == 'macos-latest'
run: pip install dist/*.tar.gz

- name: Install built Bean Machine dist
run: pip install dist/*.whl

Expand Down
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
recursive-include src/beanmachine/graph *.h

0 comments on commit 8a4fe84

Please sign in to comment.