-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
111 additions
and
48 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Build Test | ||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
name: Build Distribution | ||
runs-on: ubuntu-latest | ||
environment: | ||
name: build | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v4 | ||
- name: Set up Python 3.12 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: 3.12 | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install --upgrade setuptools wheel | ||
python -m pip install build --user | ||
- name: Build a binary wheel and a source tarball | ||
run: python -m build | ||
- name: Store the distribution packages | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: python-package-distributions | ||
path: dist/ |
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
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,38 @@ | ||
[build-system] | ||
requires = [ | ||
"setuptools", | ||
"wheel" | ||
] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "netbox-lifecycle" | ||
authors = [ | ||
{name = "Daniel Sheppard", email = "[email protected]"} | ||
] | ||
maintainers = [ | ||
{name = "Daniel Sheppard", email = "[email protected]"}, | ||
] | ||
description = "NetBox Support Contract and EOL/EOS management" | ||
readme = "README.md" | ||
requires-python = ">=3.10" | ||
keywords = ["netbox-plugin", ] | ||
version = "1.1.3-beta1" | ||
license = {file = "LICENSE"} | ||
classifiers = [ | ||
"Programming Language :: Python :: 3", | ||
] | ||
dependencies = [ | ||
'django-polymorphic', | ||
] | ||
|
||
[project.urls] | ||
Documentation = "https://github.com/dansheps/netbox-lifecycle/blob/main/README.md" | ||
Source = "https://github.com/dansheps/netbox-lifecycle" | ||
Tracker = "https://github.com/dansheps/netbox-lifecycle/issues" | ||
|
||
[tool.setuptools.packages.find] | ||
exclude=["netbox_lifecycle.tests"] | ||
|
||
[tool.black] | ||
skip-string-normalization = 1 |