Skip to content

Commit e678429

Browse files
authored
chore: polish some project structure and release (#134)
1 parent 0f462bb commit e678429

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
- 依据国务院公告,见 `https://www.gov.cn/zhengce/content/202511/content_7047090.htm`
66

77
## Version 1.10.0
8-
> on 2025-11-13
8+
> on 2024-11-13
99
1010
* **FEAT**: 支持 2025年 的节假日
1111

Makefile

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,26 @@ install:
55
.PHONY: fmt
66
fmt:
77
PYTHONPATH=$$(pwd) python chinese_calendar/scripts/__init__.py
8-
isort .
9-
black -l 120 .
8+
pipenv run isort .
9+
pipenv run black -l 120 .
1010

1111
.PHONY: test
1212
test:
13-
flake8
14-
isort --check .
15-
black --check -l 120 .
13+
pipenv run flake8
14+
pipenv run isort --check .
15+
pipenv run black --check -l 120 .
1616
$(Make) pytest
1717

1818
.PHONY: pytest
1919
pytest:
20-
pytest
20+
pipenv run pytest
2121

2222

2323
.PHONY: release
2424
release:
25+
pipenv run pip install twine wheel
2526
rm -rf dist
26-
python setup.py release
27-
twine upload -r pypi dist/*
27+
pipenv run python setup.py release
2828
sed -i 's/chinesecalendar/chinese_calendar/g' setup.py
29-
python setup.py release
30-
twine upload -r pypi dist/*
29+
pipenv run python setup.py release
30+
pipenv run twine upload -r pypi dist/*

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# 中国节假日
22

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

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
author_email="liriansu@gmail.com",
1717
url="https://github.com/LKI/chinese-calendar",
1818
license="MIT License",
19+
license_files=[],
1920
packages=["chinese_calendar"],
2021
install_requires=[],
2122
classifiers=[

0 commit comments

Comments
 (0)