Skip to content

Commit

Permalink
Merge pull request #91 from realratchet/master
Browse files Browse the repository at this point in the history
Fix publishing script (again)
  • Loading branch information
realratchet authored Oct 5, 2023
2 parents ac7e086 + efea721 commit d3e840d
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,20 +60,20 @@ jobs:
- name: Set Environment Variables
uses: allenevans/set-env@v2.0.0
with:
NIMLITE_DIR: '_nimlite'
NIMLITE_DIR: 'tablite/_nimlite'
NIM_PACKAGE_NAME: 'nimlite'
- name: Cache Restore Unix
uses: actions/download-artifact@v3
with:
name: nimlite-unix
path: |
${{ env.NIMLITE_DIR }}/${{ env.NIM_PACKAGE_NAME }}.so
${{ env.NIMLITE_DIR }}
- name: Cache Restore Windows
uses: actions/download-artifact@v3
with:
name: nimlite-windows
path: |
${{ env.NIMLITE_DIR }}/${{ env.NIM_PACKAGE_NAME }}.pyd
${{ env.NIMLITE_DIR }}
- name: install python
run: |
python3 -m pip install --upgrade build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,4 @@ jobs:
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
run: |
python -m pytest tests
python -m pytest tests
6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ docs/

# personal notes
*scratch*.py
_nimlite/nimlite
_nimlite/*.so
_nimlite/*.pyd
*/_nimlite/nimlite
*/_nimlite/*.so
*/_nimlite/*.pyd
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
keywords=keywords,
packages=["tablite", "tablite/_nimlite"],
package_data={
"tablite": ["**/_nimlite/nimlite.so", "**/_nimlite/nimlite.pyd", "**/*.pyi"], # pack builds
"tablite": ["**/*.so", "**/*.pyd", "**/*.pyi"], # pack builds
},
python_requires=">=3.8",
include_package_data=True,
Expand Down
Binary file removed tablite/_nimlite/nimlite
Binary file not shown.
Binary file removed tablite/_nimlite/nimlite.so
Binary file not shown.
2 changes: 1 addition & 1 deletion tablite/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
major, minor, patch = 2023, 8, "dev2"
major, minor, patch = 2023, 8, "dev3"
__version_info__ = (major, minor, patch)
__version__ = ".".join(str(i) for i in __version_info__)

0 comments on commit d3e840d

Please sign in to comment.