Skip to content

Commit

Permalink
update setup.py , add install_requires chardet #303
Browse files Browse the repository at this point in the history
  • Loading branch information
itaa committed Sep 13, 2022
1 parent 69abac3 commit 66f8b73
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/pythonpackage.yml
Expand Up @@ -2,6 +2,7 @@
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
# 2020.3.25 create by David Yi;
# 2021.5.26 edit by David Yi, add python 3.9 support
# 2022.9.13 python 3.10

name: Python package

Expand All @@ -13,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.5, 3.6, 3.7, 3.8, 3.9]
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.txt
@@ -1,6 +1,6 @@
MIT License

Copyright (c) [2016-2021] [fish_base]
Copyright (c) [2016-2022] [fish_base]

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
7 changes: 6 additions & 1 deletion README.rst
Expand Up @@ -14,7 +14,7 @@ fishbase 简介

fishbase 是由我们开发和整理的一套 Python基础函数库,将我们平时在开发 Python项目时候的各类工具函数汇聚到一起,方便集中管理和使用。希望对你也有所帮助,也适合初学 Python 的朋友通过代码来学习。

fishbase 最新版本为 v1.5,支持 Python 3.5-3.9,绝大部分函数也能工作在 Python 2.7下,但是我们不推荐使用 Python 2.7。
fishbase 最新版本为 v1.6,支持 Python 3.5-3.10,绝大部分函数也能工作在 Python 2.7下,但是我们不推荐使用 Python 2.7。

fishbase 主要有以下功能模块:

Expand Down Expand Up @@ -113,6 +113,11 @@ fishbase 功能举例
更新记录
==========

2022.9.13 v1.6
------------------
- `#303 <https://github.com/chinapnr/fishbase/issues/303>`_ , update setup.py, add install_requires `chardet`
- `#302 <https://github.com/chinapnr/fishbase/pull/302>`_ , update fish_common.py, modify yaml load method.

2021.7.20 v1.5
------------------
- `#300 <https://github.com/chinapnr/fishbase/issues/300>`_ , fish_logger 中的 log 文件默认后缀修改为 .log,日期移到文件名开头;
Expand Down
5 changes: 5 additions & 0 deletions docs/change_log.rst
@@ -1,6 +1,11 @@
更新记录
===========================

2022.9.13 v1.6
------------------
- `#303 <https://github.com/chinapnr/fishbase/issues/303>`_ , update setup.py, add install_requires `chardet`
- `#302 <https://github.com/chinapnr/fishbase/pull/302>`_ , update fish_common.py, modify yaml load method.

2021.7.20 v1.5
------------------
- `#300 <https://github.com/chinapnr/fishbase/issues/300>`_ , fish_logger 中的 log 文件默认后缀修改为 .log,日期移到文件名开头;
Expand Down
13 changes: 12 additions & 1 deletion docs/index.rst
Expand Up @@ -19,7 +19,7 @@ fishbase 简介

fishbase 是由我们开发和整理的一套 Python基础函数库,将我们平时在开发 Python项目时候的各类工具函数汇聚到一起,方便集中管理和使用。希望对你也有所帮助,也适合初学 Python 的朋友通过代码来学习。

fishbase 最新版本为 v1.4,支持 Python 3.5-3.9,绝大部分函数也能工作在 Python 2.7下,但是我们不推荐使用 Python 2.7。
fishbase 最新版本为 v1.6,支持 Python 3.5-3.10,绝大部分函数也能工作在 Python 2.7下,但是我们不推荐使用 Python 2.7。

fishbase 主要有以下功能模块:

Expand Down Expand Up @@ -118,6 +118,17 @@ fishbase 功能举例
更新记录
==========

2022.9.13 v1.6
------------------
- `#303 <https://github.com/chinapnr/fishbase/issues/303>`_ , update setup.py, add install_requires `chardet`
- `#302 <https://github.com/chinapnr/fishbase/pull/302>`_ , update fish_common.py, modify yaml load method.

2021.7.20 v1.5
------------------
- `#300 <https://github.com/chinapnr/fishbase/issues/300>`_ , fish_logger 中的 log 文件默认后缀修改为 .log,日期移到文件名开头;
- 修改文档描述


2021.6.23 v1.4
------------------
- `#288 <https://github.com/chinapnr/fishbase/issues/288>`_ , fish_date 中的 GetRandomTime 修改为 RandomTime,其中函数名称修改为 get_random_datetime_this_month() get_random_datetime_this_year() get_random_date_by_year() get_random_date_by_range();
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Expand Up @@ -14,7 +14,8 @@
name='fishbase',
version=version,
install_requires=['python-dateutil',
'pyyaml'],
'pyyaml',
'chardet'],

url='https://github.com/chinapnr/fishbase',
license='MIT',
Expand Down

0 comments on commit 66f8b73

Please sign in to comment.