Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move version declaration to basyx.aas module #193

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions basyx/aas/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@
in 'adapter', you can find JSON and XML adapters to translate between BaSyx Python SDK objects and JSON/XML schemas;
and in 'util', some helpful functionality to actually use the AAS meta-model you created with 'model' is located.
"""

__version__ = "1.0.0"
3 changes: 2 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@


sys.path.insert(0, os.path.abspath('../..'))
from basyx.aas import __version__


# -- Project information -----------------------------------------------------
Expand All @@ -25,7 +26,7 @@
author = 'The Eclipse BaSyx Authors'

# The full version, including alpha/beta/rc tags
release = '0.2.0'
release = __version__


# -- General configuration ---------------------------------------------------
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@
# SPDX-License-Identifier: MIT

import setuptools
from basyx.aas import __version__

with open("README.md", "r", encoding='utf-8') as fh:
long_description = fh.read()

setuptools.setup(
name="basyx-python-sdk",
version="1.0.0",
version=__version__,
author="The Eclipse BaSyx Authors",
description="The Eclipse BaSyx Python SDK, an implementation of the Asset Administration Shell for Industry 4.0 "
"systems",
Expand Down