-
Notifications
You must be signed in to change notification settings - Fork 216
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Overhaul the build system to be per modern conventions (#1175)
* Remove setup.py and cfg, relying on pyproject.toml * Update CONTRIBUTING.md, fixed readme path
- Loading branch information
1 parent
4706af6
commit 16b0c05
Showing
8 changed files
with
78 additions
and
216 deletions.
There are no files selected for viewing
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 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 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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
include openhtf/output/proto/*.proto | ||
|
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,3 +1,53 @@ | ||
[build-system] | ||
requires = ["setuptools>=40.8.0", "wheel>=0.29.0"] | ||
requires = ["setuptools", "setuptools-protobuf"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "openhtf" | ||
version = "1.6.0" | ||
authors = [ | ||
{ name="The OpenHTF Authors"}, | ||
] | ||
description = "OpenHTF, the open hardware testing framework." | ||
readme = "README.md" | ||
requires-python = ">=3.9" | ||
dependencies = [ | ||
"attrs>=19.3.0", | ||
"colorama>=0.4.6", | ||
"contextlib2>=21.6.0", | ||
"inflection>=0.5.1", | ||
"google-auth>=1.34.0", | ||
"mutablerecords>=0.4.1", | ||
"protobuf>=5.28.2", | ||
"PyYAML>=6.0.2", | ||
"pyOpenSSL>=17.1.0", | ||
"requests>=2.27.1", | ||
"sockjs_tornado>=1.0.7", | ||
"tornado>=4.3,<5.0", | ||
"typing_extensions>=4.12.2", | ||
] | ||
license = {file = "LICENSE"} | ||
|
||
[project.optional-dependencies] | ||
usb_plugs = [ | ||
"libusb1>=3.1.0", | ||
"M2Crypto>=0.42.0", | ||
] | ||
update_units = ["xlrd>=1.0.0"] | ||
serial_collection_plug = ["pyserial>=3.5"] | ||
examples = ["pandas>=2.2.3"] | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/google/openhtf" | ||
|
||
[tool.setuptools.packages] | ||
find = {} | ||
|
||
[tool.setuptools-protobuf] | ||
protobufs = [ | ||
"openhtf/output/proto/assembly_event.proto", | ||
"openhtf/output/proto/guzzle.proto", | ||
"openhtf/output/proto/mfg_event.proto", | ||
"openhtf/output/proto/test_runs.proto", | ||
] | ||
|
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 |
---|---|---|
|
@@ -9,7 +9,6 @@ python = | |
|
||
[testenv] | ||
deps = | ||
-r{toxinidir}/test_reqs.txt | ||
absl-py>=0.10.0 | ||
pandas>=0.22.0 | ||
numpy | ||
|