diff --git a/CHANGELOG.md b/CHANGELOG.md index 85ce0e1..d769932 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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年 的节假日 diff --git a/Makefile b/Makefile index 691c31b..beb1bcb 100644 --- a/Makefile +++ b/Makefile @@ -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/* diff --git a/README.md b/README.md index a4f82a3..ffd6fc2 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/setup.py b/setup.py index d8fe661..49f6d2c 100644 --- a/setup.py +++ b/setup.py @@ -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=[