Skip to content

Commit 7659d74

Browse files
committed
Update project configuration and remove obsolete files
- Updated `pyproject.toml` to include `hatch-vcs` in build requirements and set dynamic versioning. - Removed obsolete GitHub Actions workflow file from `.github/workflows`. - Removed Examples folder
1 parent 35a020d commit 7659d74

File tree

6 files changed

+42
-14
lines changed

6 files changed

+42
-14
lines changed

.github/workflows/doc-publish.yml

Whitespace-only changes.

.github/workflows/doc-standalone.yml

Whitespace-only changes.

.github/workflows/main.yml

-11
This file was deleted.

.github/workflows/pypi-publish.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Publish Releaseto PyPI
2+
on:
3+
push:
4+
tags:
5+
- 'v*'
6+
jobs:
7+
uv-build-publish:
8+
name: Build with UV and Publish to PyPI
9+
runs-on: ubuntu-latest
10+
environment:
11+
name: pypi
12+
url: https://pypi.org/project/pyllments/
13+
permissions:
14+
id-token: write
15+
contents: read
16+
17+
steps:
18+
- uses: actions/checkout@v4
19+
with:
20+
fetch-depth: 0
21+
22+
- name: Install UV
23+
uses: astral-sh/setup-uv@v5
24+
25+
- name: Build Package
26+
run: uv build --no-sources
27+
28+
- name: Publish package distributions to PyPI
29+
run: uv publish
30+
# retrieve your distributions here
31+
# - name: Publish package distributions to PyPI
32+
# uses: pypa/gh-action-pypi-publish@release/v1

examples/data/2112.01488v3.pdf

-1.03 MB
Binary file not shown.

pyproject.toml

+10-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[build-system]
2-
requires = ["hatchling"]
2+
requires = ["hatchling", "hatch-vcs"]
33
build-backend = "hatchling.build"
44

55
[project]
66
name = "pyllments"
7-
version = "0.0.1"
7+
dynamic = ["version"]
88
url = "https://github.com/Prudent-Patterns/pyllments"
99
author = "Dmitriy Leybel"
1010
author_email = "dmleybel@gmail.com"
@@ -65,5 +65,12 @@ exclude = [
6565
".cursorrules",
6666
".cursorignore",
6767
".gitignore",
68-
".gitattributes"
68+
".gitattributes",
69+
".venv",
70+
".env",
71+
"*.py[cod]",
72+
"__pycache__/*"
6973
]
74+
75+
[tool.hatch.version]
76+
source = "vcs"

0 commit comments

Comments
 (0)