Skip to content

Commit 95906cf

Browse files
committed
билдинг
1 parent 4469e90 commit 95906cf

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed

.github/workflows/release.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Build and Release
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*'
7+
8+
permissions:
9+
contents: write
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v3
16+
- name: Build package
17+
run: |
18+
pip install build
19+
python -m build --wheel
20+
- name: Upload to GitHub Releases
21+
uses: softprops/action-gh-release@v1
22+
with:
23+
files: dist/*.whl

setup.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
from setuptools import setup, find_packages
2+
3+
setup(
4+
name="date_hour",
5+
version="1.0.0",
6+
url="https://github.com/Sam-Strand/date_hour",
7+
author="Садовский М.К.",
8+
author_email="[email protected]",
9+
packages=find_packages(),
10+
install_requires=[
11+
"pydantic>=2.5.0",
12+
],
13+
classifiers=[
14+
"License :: OSI Approved :: Apache Software License",
15+
],
16+
)

0 commit comments

Comments
 (0)