Updating version definition

This commit is contained in:
Ryan Summers 2021-08-05 15:43:00 +02:00
parent 55c211631b
commit 1b1a5052c2
3 changed files with 13 additions and 4 deletions

View File

@ -1,4 +1,3 @@
#!/usr/bin/python3 #!/usr/bin/python3
from .miniconf import Miniconf from .miniconf import Miniconf
from .version import __version__
__version__ = '1.0.0'

View File

@ -0,0 +1,3 @@
#!/usr/bin/python3
__version__ = '1.0.0'

View File

@ -1,9 +1,16 @@
#!/usr/bin/python3
"""
Author: Vertigo Designs, Ryan Summers
Description: Setup file for Miniconf packaging.
"""
from setuptools import setup, find_packages from setuptools import setup, find_packages
import miniconf # Load the version string from the version file.
execfile('miniconf/version.py')
setup(name='miniconf', setup(name='miniconf',
version=miniconf.__version__, version=__version__,
author='Ryan Summers, Robert Jördens', author='Ryan Summers, Robert Jördens',
description='Utilities for configuring Miniconf-configurable devices', description='Utilities for configuring Miniconf-configurable devices',
url='https://github.com/quartiq/miniconf', url='https://github.com/quartiq/miniconf',