Skip to content

Commit 5932ae2

Browse files
authored
Merge pull request #14 from zoj613/release
2 parents 120c1b6 + bba72f6 commit 5932ae2

File tree

4 files changed

+27
-2
lines changed

4 files changed

+27
-2
lines changed

poetry.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyloras/__init__.py

+2
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
from ._loras import LORAS
2+
3+
__version__ = '0.1.0-beta.2'

pyproject.toml

+16-1
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,30 @@
11
[tool.poetry]
22
name = "pyloras"
3-
version = "0.1.0"
3+
version = "0.1.0-beta.2"
44
description = "LoRAS: An oversampling approach for imbalanced datasets"
55
authors = ["Zolisa Bleki <[email protected]>"]
66
license = "BSD-3-Clause"
77
readme = 'README.md'
88
keywords = [
9+
'loras',
910
'imbalanced datasets',
1011
'oversampling',
1112
'machine learning',
1213
'localized affine random shadowsampling'
1314
]
15+
classifiers = [
16+
"Intended Audience :: Science/Research",
17+
"Topic :: Scientific/Engineering :: Machine Learning :: Data Science",
18+
"License :: OSI Approved :: BSD License",
19+
"Programming Language :: Python",
20+
"Programming Language :: Python :: 3 :: Only",
21+
"Operating System :: POSIX :: Linux",
22+
"Operating System :: Microsoft :: Windows :: Windows 10",
23+
"Operating System :: MacOS :: MacOS X",
24+
]
25+
include = [
26+
"LICENSE",
27+
]
1428

1529
[tool.poetry.dependencies]
1630
python = "^3.6"
@@ -19,6 +33,7 @@ imbalanced-learn = "^0.7.0"
1933
[tool.poetry.dev-dependencies]
2034
imbalanced-learn = "^0.7.0"
2135
pytest-cov = "*"
36+
toml = "^0.10.2"
2237

2338
[build-system]
2439
requires = ["poetry-core>=1.0.0"]

tests/test_version.py

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import toml
2+
3+
from pyloras import __version__
4+
5+
6+
def test_version():
7+
setup = toml.load('./pyproject.toml')
8+
assert __version__ == setup['tool']['poetry']['version']

0 commit comments

Comments
 (0)