Skip to content
Snippets Groups Projects
Commit c098ca98 authored by Sebastian Lobinger's avatar Sebastian Lobinger
Browse files

change the version approach so that the build works - use version.py

parent d76da77d
Branches
Tags
1 merge request!14Resolve "Python Paketierung ermöglichen"
Pipeline #
from .sams_hub import SAMSHub from .sams_hub import SAMSHub
from .sams_app import SAMSApp from .sams_app import SAMSApp
from .sams_proxy import SAMSProxy from .sams_proxy import SAMSProxy
import os from .version import __version__
\ No newline at end of file
version_file = open('sams_classes/version')
__version__ = version_file.read().strip()
\ No newline at end of file
1.0.0
\ No newline at end of file
__version__ = '1.0.0'
\ No newline at end of file
from distutils.core import setup from distutils.core import setup
import os import os
version_file = open( exec(open('sams_classes/version.py').read())
os.path.join('sams_classes', 'version'))
version = version_file.read().strip()
setup( setup(
name = 'sams_classes', name = 'sams_classes',
packages = ['sams_classes'], packages = ['sams_classes'],
version = version, version = __version__,
description = 'SAMS helper classes for Self-(Web)services', description = 'SAMS helper classes for Self-(Web)services',
author = 'Sebastian Lobinger', author = 'Sebastian Lobinger',
classifiers = [ classifiers = [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment