Skip to content

Commit 8d47c46

Browse files
authored
Re-add MANIFEST and edit entrypoints (#33)
* 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
1 parent 7d0de45 commit 8d47c46

File tree

3 files changed

+19
-5
lines changed

3 files changed

+19
-5
lines changed

.github/workflows/readme.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ jobs:
1515
python-version: ['3.10']
1616
os: [ubuntu-latest]
1717
steps:
18-
- uses: actions/checkout@v1
18+
- uses: actions/checkout@v4
1919
- name: Set up Python ${{ matrix.python-version }}
20-
uses: actions/setup-python@v2
20+
uses: actions/setup-python@v5
2121
with:
2222
python-version: ${{ matrix.python-version }}
2323
- name: Install package and dependencies

MANIFEST.in

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
include AUTHORS.rst
2+
include CONTRIBUTING.rst
3+
include HISTORY.md
4+
include LICENSE
5+
include README.md
6+
7+
recursive-include sigllm *.json
8+
9+
recursive-include tests *
10+
recursive-exclude * __pycache__
11+
recursive-exclude * *.py[co]
12+
13+
recursive-include docs *.md *.rst conf.py Makefile make.bat *.jpg *.png *.gif

pyproject.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,9 @@ dev = [
8585
[project.urls]
8686
homepage = 'https://github.com/sintel-dev/sigllm/'
8787

88-
[project.entry-points]
89-
mlblocks = { primitives = 'sigllm:MLBLOCKS_PRIMITIVES', pipelines = 'sigllm:MLBLOCKS_PIPELINES' }
88+
[project.entry-points.mlblocks]
89+
pipelines = 'sigllm:MLBLOCKS_PIPELINES'
90+
primitives = 'sigllm:MLBLOCKS_PRIMITIVES'
9091

9192
[build-system]
9293
requires = ['setuptools', 'wheel']
@@ -101,7 +102,7 @@ include = ['sigllm', 'sigllm.*']
101102
namespaces = false
102103

103104
[tool.setuptools.package-data]
104-
"*" = ["*.*"]
105+
'*' = ['*.*']
105106

106107
[tool.setuptools.exclude-package-data]
107108
'*' = [

0 commit comments

Comments
 (0)