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

Missing the __version__ attribute #3

Open
BDonnot opened this issue Jan 6, 2025 · 1 comment
Open

Missing the __version__ attribute #3

BDonnot opened this issue Jan 6, 2025 · 1 comment

Comments

@BDonnot
Copy link
Contributor

BDonnot commented Jan 6, 2025

I think, if possible, the __version__ attribute should be exported in the main package, for example in the file pypowsybl2grid/__init__.py :

# Copyright (c) 2024, RTE (http://www.rte-france.com)
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# SPDX-License-Identifier: MPL-2.0

from .pypowsybl_backend import PyPowSyBlBackend
from .util import write_obs_json
__version__ = "0.1.0"
@BDonnot
Copy link
Contributor Author

BDonnot commented Jan 6, 2025

(I can do a PR if you prefer)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant