From 27231577966012ef6920577fd971978df0ef0d47 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 5 May 2019 20:52:53 +0200 Subject: [PATCH] Get version from init --- royalnet/__init__.py | 2 ++ setup.py | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/royalnet/__init__.py b/royalnet/__init__.py index 5f091505..f8fa0291 100644 --- a/royalnet/__init__.py +++ b/royalnet/__init__.py @@ -1,3 +1,5 @@ from . import audio, bots, commands, database, network, utils, error +version = "5.0a4" + __all__ = ["audio", "bots", "commands", "database", "network", "utils", "error"] diff --git a/setup.py b/setup.py index fd29e29e..ece45c2b 100644 --- a/setup.py +++ b/setup.py @@ -1,3 +1,4 @@ +import royalnet import setuptools with open("README.md", "r") as f: @@ -5,7 +6,7 @@ with open("README.md", "r") as f: setuptools.setup( name="royalnet", - version="5.0a3", + version=royalnet.version, author="Stefano Pigozzi", author_email="ste.pigozzi@gmail.com", description="The great bot network of the Royal Games community",