Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix #23

Merged
Merged

fix #23

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading