Skip to content

Commit

Permalink
bump version + add release checklist 📖
Browse files Browse the repository at this point in the history
  • Loading branch information
Mayukhdeb committed Jun 14, 2023
1 parent 7d6a238 commit de6b2bd
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
15 changes: 14 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,22 @@
with open("requirements.txt") as f:
required = f.read().splitlines()

"""
release checklist:
1. update version on `setup.py`
2. update `__version__` on `torch_dreams/__init__.py`
3. run tests with this command `pytest torch_dreams/tests/`
4. commit changes (`setup.py`, `torch_dreams/__init__.py`) and push
5. make release on PyPI. Run the following commands:
5.1 `python3 setup.py sdist bdist_wheel`
5.2 (optional) `python3 -m pip install --user --upgrade twine`
5.3 `python3 -m twine upload dist/*`
6. make a new release on github with the latest version
"""

setuptools.setup(
name="torch-dreams",
version="3.0.0",
version="4.0.0",
author="Mayukh Deb",
author_email="mayukhmainak2000@gmail.com",
description="Making neural networks more interpretable, for research and art",
Expand Down
2 changes: 1 addition & 1 deletion torch_dreams/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from .auto_image_param import AutoImageParam
from .custom_image_param import CustomImageParam

__version__ = "3.0.0"
__version__ = "4.0.0"

__all__ = [
"dreamer",
Expand Down

0 comments on commit de6b2bd

Please sign in to comment.