Skip to content

Commit

Permalink
Python packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
psychogenic committed Jun 9, 2023
1 parent adeffbf commit c08f070
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 2 deletions.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,16 @@ If you use something else and would like to have it supported in the library, yo
inspiration or [get in touch with me](https://psychogenic.com/contact/) with questions or for consulting.


## Install

From the top level dir, you can build packages and install the usual way, e.g. with

```
$ python3 -m build
$ pip install ./dist/psytestbench-*-py3-none-any.whl
```

## Sample

A bit of interaction with the signal gen and scope
Expand Down Expand Up @@ -241,7 +251,6 @@ Control instruments manually
## todo


* Make a nice package for python installation.
* Add documentation.
* Clean up the giant mess of importing my UTHID project into this testbench.
* More tools.
Expand Down
2 changes: 1 addition & 1 deletion psytestbench/psytb/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@

MAJOR=1
MINOR=0
PATCH=0
PATCH=2

VERSION=f'{MAJOR}.{MINOR}.{PATCH}'
24 changes: 24 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"

[project]
name = "psytestbench"
version = "1.0.2"
authors = [
{ name="Pat Deegan", email="[email protected]" },
]
description = ""
readme = "README.md"
requires-python = ">=3.7"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
"Classifier: Development Status :: 4 - Beta",
"Topic :: Scientific/Engineering",
]

[project.urls]
"Homepage" = "https://github.com/psychogenic/psytestbench"
"Bug Tracker" = "https://github.com/psychogenic/psytestbench/issues"

0 comments on commit c08f070

Please sign in to comment.