Skip to content

Commit 5dcc145

Browse files
committed
Prepare for pypi
1 parent b571e47 commit 5dcc145

File tree

3 files changed

+58
-2
lines changed

3 files changed

+58
-2
lines changed

ml_scheduler/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
33
A lightweight machine learning experiments scheduler in a few lines of simple Python
44
"""
5-
__version__ = "0.0.1"
5+
__version__ = "1.0.0"
66
import coloredlogs
77

88
coloredlogs.install()

pyproject.toml

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "ml_scheduler"
3-
version = "0.0.1"
3+
version = "1.0.0"
44
description = "A lightweight machine learning experiments scheduler in a few lines of simple Python"
55
authors = [
66
{name = "Yiwen Hu", email = "[email protected]"},
@@ -36,3 +36,25 @@ line-length = 100
3636

3737
[tool.isort]
3838
profile = "hug"
39+
40+
[tool.bumpver]
41+
current_version = "1.0.0"
42+
version_pattern = "MAJOR.MINOR.PATCH"
43+
commit_message = "Bump version {old_version} -> {new_version}"
44+
tag_message = "{new_version}"
45+
tag_scope = "default"
46+
pre_commit_hook = ""
47+
post_commit_hook = ""
48+
commit = true
49+
tag = true
50+
push = false
51+
52+
[tool.bumpver.file_patterns]
53+
"pyproject.toml" = [
54+
'current_version = "{version}"',
55+
]
56+
"README.md" = [
57+
"{version}",
58+
"{pep440_version}",
59+
]
60+

requirements.txt

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
#
2+
# This file is autogenerated by pip-compile with Python 3.8
3+
# by the following command:
4+
#
5+
# pip-compile pyproject.toml
6+
#
7+
cachetools==5.3.3
8+
# via nvitop
9+
coloredlogs==15.0.1
10+
# via ml_scheduler (pyproject.toml)
11+
humanfriendly==10.0
12+
# via coloredlogs
13+
numpy==1.24.4
14+
# via pandas
15+
nvidia-ml-py==12.535.161
16+
# via nvitop
17+
nvitop==1.3.2
18+
# via ml_scheduler (pyproject.toml)
19+
pandas==2.0.3
20+
# via ml_scheduler (pyproject.toml)
21+
psutil==6.0.0
22+
# via nvitop
23+
python-dateutil==2.9.0.post0
24+
# via pandas
25+
pytz==2024.1
26+
# via pandas
27+
six==1.16.0
28+
# via python-dateutil
29+
termcolor==2.4.0
30+
# via nvitop
31+
typing-extensions==4.12.2
32+
# via ml_scheduler (pyproject.toml)
33+
tzdata==2024.1
34+
# via pandas

0 commit comments

Comments
 (0)