Skip to content

Commit

Permalink
noxfiles: Session for building fidesctl python package (#1047)
Browse files Browse the repository at this point in the history
* noxfiles: Session for building fctl python package

* fix a pylint error

Co-authored-by: Thomas <[email protected]>
  • Loading branch information
ssangervasi and ThomasLaPiana authored Sep 6, 2022
1 parent d4961e1 commit 183b2f1
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions noxfiles/ci_nox.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,3 +207,22 @@ def pytest_external(session: nox.Session) -> None:
"external",
)
session.run(*run_command, external=True)


@nox.session()
@nox.parametrize(
"dist",
[
nox.param("sdist", id="source"),
nox.param("bdist_wheel", id="wheel"),
],
)
def python_build(session: nox.Session, dist: str) -> None:
"Build the Python distribution."
session.run(
*RUN_NO_DEPS,
"python",
"setup.py",
dist,
external=True,
)

0 comments on commit 183b2f1

Please sign in to comment.