Skip to content
This repository was archived by the owner on Sep 1, 2026. It is now read-only.
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: 1 addition & 1 deletion .python-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.13
3.14+gil
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# python-mscl

# ARCHIVED: There is now an official mscl library: [`pymscl`](https://pypi.org/project/pymscl). Please use that library instead.

Comment on lines 1 to +4
[![PyPI Downloads](https://static.pepy.tech/badge/python-mscl/week)](https://pepy.tech/projects/python-mscl)

Unofficial Python package for the [Microstrain Communication Library](https://github.com/LORD-MicroStrain/MSCL/tree/master).
Expand Down
17 changes: 8 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@
[project]
name = "python-mscl"
version = "67.1.0.0"
version = "67.1.0.1"
description = "Easy to install python wrapper for the MSCL library."
readme = "README.md"
authors = [
{ name = "Harshil", email = "37377066+harshil21@users.noreply.github.com" }
]
requires-python = ">=3.9"
requires-python = ">=3.11"
classifiers = [
Comment on lines 7 to 10
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Scientific/Engineering",
"Intended Audience :: Developers",
]
Expand All @@ -29,11 +28,11 @@ dev = [
"pygithub>=2.5.0",
]

[tool.hatch.build.targets.wheel]
packages = ["src/python_mscl"]
# [tool.hatch.build.targets.wheel]
# packages = ["src/python_mscl"]

[tool.hatch.build.hooks.custom]
path = "hatch_build.py"
# [tool.hatch.build.hooks.custom]
# path = "hatch_build.py"
Comment on lines +31 to +35

[tool.hatch.build.targets.sdist]
exclude = ["mscl_release_assets/", "uv.lock", "main.py", "src/python_mscl/_mscl.so",
Expand All @@ -52,7 +51,7 @@ build-backend = "hatchling.build"
# RUFF:
[tool.ruff]
line-length = 100
target-version = "py39"
target-version = "py311"
show-fixes = true
exclude = ["mscl_release_assets/"]

Expand Down
12 changes: 10 additions & 2 deletions src/python_mscl/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
from . import mscl
from warnings import warn

# from . import mscl

warn(
"The 'python_mscl' package is archived, please use the official `pymscl` package instead.",
DeprecationWarning,
stacklevel=2
)

# Intentionally make the user can do `from python_mscl import mscl` instead of `import mscl` which
# can be done by doing a from .mscl import * here.
__all__ = ["mscl"]
# __all__ = ["mscl"]
Comment on lines 11 to +13
Loading
Loading