Skip to content

Commit

Permalink
Re-add MANIFEST and edit entrypoints (#33)
Browse files Browse the repository at this point in the history
* add print statements to test

* change entrypoint

* revert readme

* change python spec

* manually add pipeline path

* add primitives manually too

* add paths in tasks.py

* add Path function

* print pipeline paths

* adding import

* test

* remove print

* copy json path

* print contents

* print contents

* print contents

* keep manifest

* restore original tests

* keep manifest and defaults for package-data

* update tasks.py

* test on master only
  • Loading branch information
sarahmish authored Feb 5, 2025
1 parent 7d0de45 commit 8d47c46
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/readme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
python-version: ['3.10']
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install package and dependencies
Expand Down
13 changes: 13 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
include AUTHORS.rst
include CONTRIBUTING.rst
include HISTORY.md
include LICENSE
include README.md

recursive-include sigllm *.json

recursive-include tests *
recursive-exclude * __pycache__
recursive-exclude * *.py[co]

recursive-include docs *.md *.rst conf.py Makefile make.bat *.jpg *.png *.gif
7 changes: 4 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,9 @@ dev = [
[project.urls]
homepage = 'https://github.com/sintel-dev/sigllm/'

[project.entry-points]
mlblocks = { primitives = 'sigllm:MLBLOCKS_PRIMITIVES', pipelines = 'sigllm:MLBLOCKS_PIPELINES' }
[project.entry-points.mlblocks]
pipelines = 'sigllm:MLBLOCKS_PIPELINES'
primitives = 'sigllm:MLBLOCKS_PRIMITIVES'

[build-system]
requires = ['setuptools', 'wheel']
Expand All @@ -101,7 +102,7 @@ include = ['sigllm', 'sigllm.*']
namespaces = false

[tool.setuptools.package-data]
"*" = ["*.*"]
'*' = ['*.*']

[tool.setuptools.exclude-package-data]
'*' = [
Expand Down

0 comments on commit 8d47c46

Please sign in to comment.