Skip to content

Commit f74d083

Browse files
committed
Release gpustat as a package (at version 0.1)
1 parent 44e391d commit f74d083

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

gpustat.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
import locale
2020
import platform
2121

22+
__version__ = '0.1'
23+
2224

2325
class ANSIColors:
2426
RESET = '\033[0m'

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
from setuptools import setup
2+
import gpustat
23

34
def read_readme():
45
with open('README.md') as f:
56
return f.read()
67

78
setup(
89
name='gpustat',
9-
version='0.1',
10+
version=gpustat.__version__,
1011
license='MIT',
1112
description='An utility to monitor NVIDIA GPU status (wrapper of nvidia-smi)',
1213
long_description=read_readme(),

0 commit comments

Comments
 (0)