-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use hatch instead of setuptools to build/deploy
- Loading branch information
1 parent
e84652a
commit 1c0e4c1
Showing
7 changed files
with
57 additions
and
113 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,45 @@ | ||
# pyproject.toml | ||
|
||
[build-system] | ||
requires = ["setuptools>=42", "wheel"] | ||
build-backend = "setuptools.build_meta" | ||
requires = ["hatchling"] | ||
build-backend = "hatchling.build" | ||
|
||
[project] | ||
name = "keysight" | ||
version = "0.3.1" | ||
authors = [{ name = "Matthew Rankin", email = "[email protected]" }] | ||
description = "Package for working with Keysight/Agilent test equipment" | ||
readme = "README.md" | ||
requires-python = ">=3.9" | ||
dependencies = ["numpy>=1.26.0"] | ||
classifiers = [ | ||
'Programming Language :: Python', | ||
'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', | ||
'License :: OSI Approved :: MIT License', | ||
'Development Status :: 5 - Production/Stable', | ||
'Operating System :: OS Independent', | ||
'Intended Audience :: Developers', | ||
'Topic :: Software Development :: Libraries :: Python Modules', | ||
] | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/questrail/keysight" | ||
Issues = "https://github.com/questrail/keysight/issues" | ||
|
||
[tool.black] | ||
line-length = 80 | ||
|
||
[tool.pylint] | ||
max-line-length = 80 | ||
disable = [ | ||
"E0401", # (unable-to-import) | ||
] | ||
[tool.black] | ||
line-length = 80 | ||
|
||
[tool.pyright] | ||
include = ["src"] | ||
exclude = [ | ||
|
@@ -19,12 +51,12 @@ exclude = [ | |
ignore = ["src/oldstuff"] | ||
defineConstant = { DEBUG = true } | ||
stubPath = "src/stubs" | ||
venv = "keysight" | ||
venv = "tektronix" | ||
|
||
reportMissingImports = false | ||
reportMissingTypeStubs = false | ||
|
||
pythonVersion = "3.11" | ||
pythonVersion = "3.6" | ||
pythonPlatform = "Linux" | ||
|
||
executionEnvironments = [ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,5 +14,4 @@ pip-chill==1.0.3 | |
platformdirs==4.2.2 | ||
six==1.17.0 | ||
tomli==2.0.1 | ||
twine==6.0.1 | ||
unipath==1.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.