Skip to content

Commit 11e6cde

Browse files
committed
add some more publish details for pypi
1 parent 4083a3f commit 11e6cde

File tree

2 files changed

+32
-6
lines changed

2 files changed

+32
-6
lines changed

.github/workflows/publish-to-pypi.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,22 @@ jobs:
2525
- name: Install dependencies
2626
run: |
2727
python -m pip install --upgrade pip
28-
python -m pip install uv toml
28+
python -m pip install uv twine toml
2929
30-
- name: Build and publish
30+
- name: Build package
31+
run: |
32+
rm -rf dist/
33+
uv build --no-sources
34+
35+
- name: Check distribution with twine
36+
run: |
37+
twine check dist/*
38+
39+
- name: Publish to PyPI
3140
env:
3241
PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
3342
run: |
34-
uv build --no-sources
35-
uv publish --token $PYPI_API_TOKEN
43+
twine upload dist/* -u __token__ -p $PYPI_API_TOKEN
3644
3745
- name: Extract package version
3846
id: get_version

pyproject.toml

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,31 @@ description = "Integrates CodeLogic's powerful codebase knowledge graphs with a
55
readme = "README.md"
66
license = "MPL-2.0"
77
requires-python = ">=3.13"
8-
dependencies = [ "debugpy>=1.8.12", "httpx>=0.28.1", "mcp[cli]>=1.3.0", "pip-licenses>=5.0.0", "python-dotenv>=1.0.1", "tenacity>=9.0.0", "toml>=0.10.2",]
8+
dependencies = [ "debugpy>=1.8.12", "httpx>=0.28.1", "mcp[cli]>=1.3.0", "pip-licenses>=5.0.0", "python-dotenv>=1.0.1", "tenacity>=9.0.0", "toml>=0.10.2" ]
9+
keywords = ["codelogic", "mcp", "code-analysis", "knowledge-graph", "static-analysis"]
10+
classifiers = [
11+
"Development Status :: 4 - Beta",
12+
"Intended Audience :: Developers",
13+
"Operating System :: OS Independent",
14+
"Programming Language :: Python :: 3",
15+
"Programming Language :: Python :: 3.13",
16+
"Topic :: Software Development",
17+
"Topic :: Software Development :: Libraries :: Python Modules",
18+
"Topic :: Software Development :: Code Generators",
19+
"Environment :: Console"
20+
]
21+
922
[[project.authors]]
1023
name = "garrmark"
1124
1225

26+
[project.urls]
27+
"Homepage" = "https://github.com/codelogictech/codelogic-mcp-server"
28+
"Bug Tracker" = "https://github.com/codelogictech/codelogic-mcp-server/issues"
29+
"Documentation" = "https://github.com/codelogictech/codelogic-mcp-server#readme"
30+
1331
[build-system]
14-
requires = [ "hatchling",]
32+
requires = ["hatchling"]
1533
build-backend = "hatchling.build"
1634

1735
[project.scripts]

0 commit comments

Comments
 (0)