Skip to content
Snippets Groups Projects
Commit 189f298b authored by Rajmund Hruška's avatar Rajmund Hruška
Browse files

Set the version number in the __init__.py

parent f0197394
No related branches found
No related tags found
1 merge request!1CI/CD
__version__ = "0.9"
...@@ -15,6 +15,14 @@ from setuptools import setup, find_packages ...@@ -15,6 +15,14 @@ from setuptools import setup, find_packages
from codecs import open from codecs import open
from os import path from os import path
import sys
#
# Import local version of pynspect library, so that we can insert correct version
# number into documentation.
#
sys.path.insert(0, path.abspath('.'))
import pydgets
here = path.abspath(path.dirname(__file__)) here = path.abspath(path.dirname(__file__))
# Get the long description from the README file # Get the long description from the README file
...@@ -23,7 +31,7 @@ with open(path.join(here, 'README.rst'), encoding='utf-8') as f: ...@@ -23,7 +31,7 @@ with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
setup( setup(
name = 'pydgets', name = 'pydgets',
version = '0.9', version = pydgets.__version__,
description = 'Console widget library for Python 3', description = 'Console widget library for Python 3',
long_description = long_description, long_description = long_description,
classifiers = [ classifiers = [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment