Skip to content

Commit 9312cb2

Browse files
authored
Merge pull request #50 from scottrbrtsn/pyproject-poetry-init
Issue partial fix for #44: init pyproject.toml and poetry.lock
2 parents 5e67dfb + 7bf1413 commit 9312cb2

4 files changed

Lines changed: 78 additions & 23 deletions

File tree

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,7 @@ pdoc --html --html-dir docs opendis
4747
```
4848

4949
The docs will be generated in the `docs/opendis` folder.
50+
51+
## Poetry setup
52+
1. `poetry install` or `poetry update`
53+
1. `poetry run python examples/dis_receiver.py` or `poetry shell` && `python examples/dis_receiver.py`

poetry.lock

Lines changed: 51 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
[tool.poetry]
2+
name = "opendis"
3+
version = "1.0"
4+
description='implementation of DIS, IEEE-1278.1'
5+
authors = ["Don McGregor <mcgredo@nps.edu>"]
6+
readme = "README.md"
7+
repository = 'https://github.com/open-dis/open-dis-python'
8+
documentation = "https://open-dis.org/"
9+
classifiers=[
10+
"Programming Language :: Python :: 3",
11+
"License :: OSI Approved :: BSD License",
12+
"Operating System :: OS Independent",
13+
"Topic :: Scientific/Engineering :: Interface Engine/Protocol Translator"
14+
]
15+
16+
[tool.poetry.dependencies]
17+
python = "^3.9"
18+
numpy = "^1.26.4"
19+
20+
21+
[build-system]
22+
requires = ["poetry-core"]
23+
build-backend = "poetry.core.masonry.api"

setup.py

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)