Skip to content

Commit

Permalink
fix (#23)
Browse files Browse the repository at this point in the history
Пытка починки релиза
  • Loading branch information
themanyfaceddemon authored Oct 2, 2024
1 parent 6903e69 commit 343f48d
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 4 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,21 @@ jobs:

steps:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.x'
python-version: '3.12'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
pip install -r requirements.txt
- name: Build package
run: python -m build

- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
Expand Down
2 changes: 1 addition & 1 deletion DMBotNetwork/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
from .main.utils.cl_unit import ClUnit
from .main.utils.decorator import require_access
from .main.utils.server_db import ServerDB
from .version import __version__

__all__ = ["Client", "Server", "ClUnit", "require_access", "ServerDB"]
__version__ = "0.3.1"
1 change: 1 addition & 0 deletions DMBotNetwork/version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__version__ = "0.3.1"
9 changes: 7 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
from setuptools import find_packages, setup

from DMBotNetwork import __version__

with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()

setup(
name="DMBotNetwork",
version="0.3.1",
version=__version__,
packages=find_packages(),
install_requires=["aiosqlite", "aiofiles", "bcrypt", "msgpack"],
author="Angels And Demons dev team",
author_email="[email protected]",
description="Нэткод для проектов DMBot",
long_description=open("README.md").read(),
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/AngelsAndDemonsDM/DM-Bot-network",
classifiers=[
Expand Down

0 comments on commit 343f48d

Please sign in to comment.