Skip to content

Commit

Permalink
prepare for release
Browse files Browse the repository at this point in the history
  • Loading branch information
lanpa committed Dec 31, 2019
1 parent e614f38 commit d72ca9f
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
8 changes: 8 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
History
=======
2.0 (2019-12-31)
-----------------
* Now you can tag Hparams trials with custom name instead of the default epoch time
* Fixed a bug that add_hparams are rendered incorrectly with non-string values
* Supports logging to Amazon S3 or Google Cloud Storage
* Bug fixes and error message for add_embedding function
* Draw openvino format with add_openvino_graph

1.9 (2019-10-04)
-----------------
* Use new JIT backend for pytorch. This works better with pytorch 1.2 and 1.3
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Write TensorBoard events with simple function call.

## Install

Tested on anaconda2 / anaconda3, with PyTorch 1.3.0 / torchvision 0.4.1 / tensorboard 1.13.0
Tested on anaconda2 / anaconda3, with PyTorch 1.3.1 / torchvision 0.4.1 / tensorboard 2.0.0

`pip install tensorboardX`

Expand Down
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def run(self):
history = history_file.read()

preparing_PyPI_package = False
version_git = version = '1.9'
version_git = version = '2.0'

if not preparing_PyPI_package:
if os.path.exists('.git'):
Expand Down Expand Up @@ -88,10 +88,11 @@ def run(self):


# checklist: update History.rst readme.md
# change preparing_PyPI_package to True, and version_git
# change preparing_PyPI_package to True, and update version_git to new version
# remove __version__ = "1.old" in __init__.py, update the version number
# python setup.py sdist bdist_wheel --universal
# check the generated tar.gz file
# git add [files]
# git commit -m 'prepare for release'
# add tag
# twine upload dist/*
Expand Down
2 changes: 1 addition & 1 deletion tensorboardX/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
from .torchvis import TorchVis
from .writer import FileWriter, SummaryWriter

__version__ = "1.9" # will be overwritten if run setup.py
__version__ = "2.0" # will be overwritten if run setup.py

0 comments on commit d72ca9f

Please sign in to comment.