Skip to content

Commit

Permalink
[v1.0.43] Add pyproject.toml properties for PyPi (#38)
Browse files Browse the repository at this point in the history
* Add pyproject.toml properties for pypi

* Fixes the version

* Fix the tests failing because of README path
  • Loading branch information
Snir Shechter authored and camparibot committed Aug 26, 2021
1 parent bed610e commit fa8e20d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion sdk/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,5 @@ def install_with_constraints(session: Session, *args: str, **kwargs: Any):
def tests(session: Session) -> None:
"""Run the test suite."""
install_with_constraints(session, "pytest", "tensorflow", "xgboost", "lightgbm", "scikit-learn")
session.install(".", "--upgrade")
session.install(".", "--upgrade", "--use-feature=in-tree-build")
session.run("pytest", *session.posargs)
9 changes: 6 additions & 3 deletions sdk/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
[tool.poetry]
name = "mlnotify"
version = "v1.0.42"
description = "ML Notify - A useful tool that notifies you when your model is finished training"
authors = ['Aporia']
description = "No need to keep checking your training. Add just 1 import line and MLNotify will let you know the second it's done."
homepage = 'https://mlnotify.aporia.com'
license = '../LICENSE'
name = "mlnotify"
readme = '../README.md'
repository = "https://github.com/aporia-ai/mlnotify"
version = "v1.0.43"

[tool.poetry.dependencies]
python = "^3.6"
Expand Down

0 comments on commit fa8e20d

Please sign in to comment.