Skip to content

Commit c0fc714

Browse files
committed
Placeholder release
0 parents  commit c0fc714

File tree

7 files changed

+81
-0
lines changed

7 files changed

+81
-0
lines changed

.github/workflows/publish.yml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
name: Publish Python Package
2+
3+
on:
4+
release:
5+
types: [created]
6+
7+
permissions:
8+
contents: read
9+
10+
jobs:
11+
#call-test:
12+
# uses: ./.github/workflows/test.yml
13+
14+
build:
15+
runs-on: ubuntu-latest
16+
#needs: [call-test]
17+
steps:
18+
- uses: actions/checkout@v4
19+
- name: Install uv
20+
uses: astral-sh/setup-uv@v2
21+
with:
22+
enable-cache: true
23+
#cache-dependency-glob: "uv.lock"
24+
- name: Set up Python 3.12
25+
uses: actions/setup-python@v5
26+
with:
27+
python-version: "3.12"
28+
- name: Install dependencies
29+
run: uv sync --dev --python 3.12 --python-preference only-system
30+
- name: Build
31+
run: |
32+
uv build
33+
- name: Store the distribution packages
34+
uses: actions/upload-artifact@v4
35+
with:
36+
name: python-package-distribution
37+
path: dist/
38+
39+
deploy:
40+
runs-on: ubuntu-latest
41+
needs:
42+
- build
43+
environment: release
44+
permissions:
45+
id-token: write
46+
steps:
47+
- name: Download dist
48+
uses: actions/download-artifact@v4
49+
with:
50+
name: python-package-distribution
51+
path: dist/
52+
- name: Publish to PyPI
53+
uses: pypa/gh-action-pypi-publish@release/v1

.gitignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Python-generated files
2+
__pycache__/
3+
*.py[oc]
4+
build/
5+
dist/
6+
wheels/
7+
*.egg-info
8+
9+
# Virtual environments
10+
.venv

.python-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.10

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# langchain-mcp
2+
3+
Placeholder

pyproject.toml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
[project]
2+
name = "langchain-mcp"
3+
version = "0.0.0"
4+
description = "Placholder, coming soon"
5+
readme = "README.md"
6+
authors = [
7+
{ name = "Andrew Wason", email = "[email protected]" }
8+
]
9+
requires-python = ">=3.10"
10+
dependencies = []
11+
12+
[build-system]
13+
requires = ["hatchling"]
14+
build-backend = "hatchling.build"

src/langchain_mcp/__init__.py

Whitespace-only changes.

src/langchain_mcp/py.typed

Whitespace-only changes.

0 commit comments

Comments
 (0)