Skip to content
Snippets Groups Projects
Commit 3d8bb599 authored by Corné Lukken's avatar Corné Lukken
Browse files

L2SS-287: pbr version test

parent 78b62fac
No related branches found
No related tags found
1 merge request!146L2SS-287: implement python packaging
......@@ -2,5 +2,6 @@
# order of appearance. Changing the order has an impact on the overall
# integration process, which may cause wedges in the gate later.
pbr >= 2
GitPython >= 3.1.24 # BSD
snmp>=0.1.7 # GPL3
[metadata]
name = tangostationcontrol
version = attr: tangostationcontrol.__version__
;version = attr: tangostationcontrol.__version__
version = 0.0.1
summary = LOFAR 2.0 Station Control
description_file =
README.md
......@@ -25,6 +26,16 @@ classifier =
[files]
packages=tangostationcontrol
;[options]
;package_dir=
; =tangostationcontrol
;packages=find:
;
;[options.packages.find]
;where=tangostationcontrol
;
;[options.entry_points]
[entry_points]
console_scripts =
l2ss-docker-device = tangostationcontrol.devices.docker_device:main
......
import setuptools
# Requires: setup.cfg
# setuptools.setup(setup_requires=['pbr>=2.0.0'], pbr=True)
setuptools.setup()
setuptools.setup(setup_requires=['pbr>=2.0.0'], pbr=True)
# setuptools.setup()
from tangostationcontrol.common.lofar_git import get_version
# from tangostationcontrol.common.lofar_git import get_version
#
# __version__ = get_version()
__version__ = get_version()
import pbr.version
__version__ = pbr.version.VersionInfo('tangostationcontrol').version_string()
from tangostationcontrol.common.lofar_git import get_version
# version = "v0.0.1"
version_string = get_version()
import pbr.version
version_info = pbr.version.VersionInfo('python-watcher')
version_string = version_info.version_string()
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment