Skip to content

Commit

Permalink
Add CHANGELOG.md
Browse files Browse the repository at this point in the history
Signed-off-by: Tsuyoshi Hombashi <tsuyoshi.hombashi@gmail.com>
  • Loading branch information
thombashi committed Apr 27, 2024
1 parent 8b1139e commit bb71cfa
Show file tree
Hide file tree
Showing 4 changed files with 69 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ dmypy.json

# User settings
_sandbox/
bin/
*_profile
Untitled.ipynb

56 changes: 56 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
<a name="v0.1.4"></a>
# [v0.1.4](https://github.com/thombashi/tcolorpy/releases/tag/v0.1.4) - 16 Sep 2023

- Improve type annotations
- Modify to use `pypa/build` for package build
- Remove deprecated `setup.py` calls
- Update `[build-system]`

**Full Changelog**: https://github.com/thombashi/tcolorpy/compare/v0.1.3...v0.1.4

[Changes][v0.1.4]


<a name="v0.1.3"></a>
# [v0.1.3](https://github.com/thombashi/tcolorpy/releases/tag/v0.1.3) - 05 May 2023

- Add support for Python 3.11
- Drop support for Python 3.6
- Update a help message of CLI


[Changes][v0.1.3]


<a name="v0.1.2"></a>
# [v0.1.2](https://github.com/thombashi/tcolorpy/releases/tag/v0.1.2) - 26 Feb 2022

## What's Changed
* Use extras in tox instead of self-referencing the package in deps by [@hroncok](https://github.com/hroncok) in https://github.com/thombashi/tcolorpy/pull/1
* Removed shebang from __main__.py by [@hegjon](https://github.com/hegjon) in https://github.com/thombashi/tcolorpy/pull/3

## New Contributors
* [@hroncok](https://github.com/hroncok) made their first contribution in https://github.com/thombashi/tcolorpy/pull/1
* [@hegjon](https://github.com/hegjon) made their first contribution in https://github.com/thombashi/tcolorpy/pull/3

**Full Changelog**: https://github.com/thombashi/tcolorpy/compare/v0.1.1...v0.1.2

[Changes][v0.1.2]


<a name="v0.1.0"></a>
# [v0.1.0](https://github.com/thombashi/tcolorpy/releases/tag/v0.1.0) - 12 Jun 2021

- Add `hsv` property to `Color` class
- Drop support for Python 3.5


[Changes][v0.1.0]


[v0.1.4]: https://github.com/thombashi/tcolorpy/compare/v0.1.3...v0.1.4
[v0.1.3]: https://github.com/thombashi/tcolorpy/compare/v0.1.2...v0.1.3
[v0.1.2]: https://github.com/thombashi/tcolorpy/compare/v0.1.0...v0.1.2
[v0.1.0]: https://github.com/thombashi/tcolorpy/tree/v0.1.0

<!-- Generated by https://github.com/rhysd/changelog-from-release v3.7.2 -->
13 changes: 11 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
AUTHOR := thombashi
PACKAGE := tcolorpy

BIN_DIR := $(shell pwd)/bin
BUILD_WORK_DIR := _work
PKG_BUILD_DIR := $(BUILD_WORK_DIR)/$(PACKAGE)

PYTHON := python3
BIN_CHANGELOG_FROM_RELEASE := $(BIN_DIR)/changelog-from-release

$(BIN_CHANGELOG_FROM_RELEASE):
GOBIN=$(BIN_DIR) go install github.com/rhysd/changelog-from-release/v3@latest

.PHONY: build
build: clean
Expand All @@ -20,14 +25,18 @@ build-remote: clean
tox -e build
ls -lh $(PKG_BUILD_DIR)/dist/*

.PHONY: changelog
changelog: $(BIN_CHANGELOG_FROM_RELEASE)
$(BIN_CHANGELOG_FROM_RELEASE) > CHANGELOG.md

.PHONY: check
check:
@$(PYTHON) -m tox -e lint

.PHONY: clean
clean:
@rm -rf $(BUILD_WORK_DIR)
@$(PYTHON) -m tox -e clean
rm -rf $(BIN_DIR) $(BUILD_WORK_DIR)
$(PYTHON) -m tox -e clean

.PHONY: fmt
fmt:
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ def get_release_command_class() -> Dict[str, Type[setuptools.Command]]:
packages=setuptools.find_packages(exclude=["test*"]),
package_data={MODULE_NAME: ["py.typed"]},
project_urls={
"Changlog": f"{REPOSITORY_URL:s}/blob/master/CHANGELOG.md",
"Source": REPOSITORY_URL,
"Tracker": f"{REPOSITORY_URL:s}/issues",
},
Expand Down

0 comments on commit bb71cfa

Please sign in to comment.