Skip to content

Commit

Permalink
migrate to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
MainRo committed Mar 1, 2023
1 parent a8952ff commit 5274050
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 44 deletions.
File renamed without changes.
44 changes: 44 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
[project]
name = "ebm2onnx"
version = "2.0.0"
description = "EBM model serialization to ONNX"
readme = "README.rst"
requires-python = ">=3.6"
license = {file = "LICENSE.txt"}
keywords = ["ebm2onnx", "interpretml", "machine-learning", "onnx"]
authors = [
{email = "romain.picard@softathome.com"},
{name = "Romain Picard"}
]
classifiers = [
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
]

dependencies = [
'onnx~=1.8',
'interpret-core[required,ebm]~=0.3',
]

[project.optional-dependencies]
test = [
"pytest",
]

[project.urls]
repository = "https://github.com/interpretml/ebm2onnx.git"

[options]
packages = ["ebm2onnx"]

[tool.setuptools.packages.find]
where = ["./"]
include = ["ebm2onnx"]
namespaces = false
6 changes: 3 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ current_version = 2.0.0
commit = True
tag = True

[bumpversion:file:setup.py]
search = version='{current_version}'
replace = version='{new_version}'
[bumpversion:file:pyproject.toml]
search = version = '{current_version}'
replace = version = '{new_version}'

[bumpversion:file:ebm2onnx/__init__.py]
search = __version__ = '{current_version}'
Expand Down
41 changes: 0 additions & 41 deletions setup.py

This file was deleted.

0 comments on commit 5274050

Please sign in to comment.