Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
- 依据国务院公告,见 `https://www.gov.cn/zhengce/content/202511/content_7047090.htm`

## Version 1.10.0
> on 2025-11-13
> on 2024-11-13

* **FEAT**: 支持 2025年 的节假日

Expand Down
20 changes: 10 additions & 10 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,26 @@ install:
.PHONY: fmt
fmt:
PYTHONPATH=$$(pwd) python chinese_calendar/scripts/__init__.py
isort .
black -l 120 .
pipenv run isort .
pipenv run black -l 120 .

.PHONY: test
test:
flake8
isort --check .
black --check -l 120 .
pipenv run flake8
pipenv run isort --check .
pipenv run black --check -l 120 .
$(Make) pytest

.PHONY: pytest
pytest:
pytest
pipenv run pytest


.PHONY: release
release:
pipenv run pip install twine wheel
rm -rf dist
python setup.py release
twine upload -r pypi dist/*
pipenv run python setup.py release
sed -i 's/chinesecalendar/chinese_calendar/g' setup.py
python setup.py release
twine upload -r pypi dist/*
pipenv run python setup.py release
pipenv run twine upload -r pypi dist/*
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# 中国节假日

[![Package](https://img.shields.io/pypi/v/chinesecalendar.svg)](https://pypi.python.org/pypi/chinesecalendar)
[![Travis](https://img.shields.io/travis/LKI/chinese-calendar.svg)](https://travis-ci.org/LKI/chinese-calendar)
[![License](https://img.shields.io/github/license/LKI/chinese-calendar.svg)](https://github.com/LKI/chinese-calendar/blob/master/LICENSE)
[![README](https://img.shields.io/badge/README-English-brightgreen.svg)](https://github.com/LKI/chinese-calendar/blob/master/README.en.md)

Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
author_email="liriansu@gmail.com",
url="https://github.com/LKI/chinese-calendar",
license="MIT License",
license_files=[],
packages=["chinese_calendar"],
install_requires=[],
classifiers=[
Expand Down