Skip to content
This repository has been archived by the owner on May 15, 2021. It is now read-only.

Commit

Permalink
重命名为cqu-jxgl
Browse files Browse the repository at this point in the history
  • Loading branch information
loopyme committed Sep 4, 2020
1 parent bc02f91 commit 4abc107
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 22 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# cqu-jwc
# cqu-jxgl

[![cqu-tool-bucket](https://img.shields.io/badge/CQU-%E9%87%8D%E5%BA%86%E5%A4%A7%E5%AD%A6%E5%85%A8%E5%AE%B6%E6%A1%B6%E8%AE%A1%E5%88%92-blue)](https://github.com/topics/cqu-tool-bucket)
![Liscence](https://img.shields.io/github/license/CQU-AI/cqu-jwc)
[![pypi](https://img.shields.io/pypi/v/cqu-jwc)](https://pypi.org/project/cqu-jwc/)
![download](https://pepy.tech/badge/cqu-jwc)
![Upload Python Package](https://github.com/CQU-AI/cqu-jwc/workflows/Upload%20Python%20Package/badge.svg)
![Liscence](https://img.shields.io/github/license/CQU-AI/cqu-jxgl)
[![pypi](https://img.shields.io/pypi/v/cqu-jxgl)](https://pypi.org/project/cqu-jxgl/)
![download](https://pepy.tech/badge/cqu-jxgl)
![Upload Python Package](https://github.com/CQU-AI/cqu-jxgl/workflows/Upload%20Python%20Package/badge.svg)

cqu-jwc 是一个基于python3的,重庆大学教务处登录的第三方模块。
cqu-jxgl 是一个基于python3的,重庆大学教务处登录的第三方模块。

## 特性

Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
with (source_root / "requirements.txt").open(encoding="utf8") as f:
requirements = f.readlines()

with (source_root / "src" / "cqu_jwc" / "version.py").open(
with (source_root / "src" / "cqu_jxgl" / "version.py").open(
"w", encoding="utf-8"
) as f:
f.writelines(
Expand All @@ -25,14 +25,14 @@
)

setup(
name="cqu-jwc",
name="cqu-jxgl",
version=version,
description="第三方重庆大学教务处登录模块",
author='maxoyed',
author_email='[email protected]',
maintainer="CQU-AI",
maintainer_email="[email protected]",
url="https://github.com/CQU-AI/cqu-jwc",
url="https://github.com/CQU-AI/cqu-jxgl",
license="GPL License",
packages=find_packages("src"),
package_dir={"": "src"},
Expand Down
5 changes: 0 additions & 5 deletions src/cqu_jwc/__init__.py

This file was deleted.

3 changes: 0 additions & 3 deletions src/cqu_jwc/config/__init__.py

This file was deleted.

5 changes: 5 additions & 0 deletions src/cqu_jxgl/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from cqu_jxgl.student import Student
from cqu_jxgl.utils import check_update

check_update('cqu-jxgl')
main = ['Student']
3 changes: 3 additions & 0 deletions src/cqu_jxgl/config/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from cqu_jxgl.config.config import config, Config

all = ["config", "Config"]
File renamed without changes.
4 changes: 2 additions & 2 deletions src/cqu_jwc/student.py → src/cqu_jxgl/student.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

import requests

from cqu_jwc.config import config
from cqu_jwc.utils import check_user, log, reset_error_count
from cqu_jxgl.config import config
from cqu_jxgl.utils import check_user, log, reset_error_count


class Student(object):
Expand Down
4 changes: 2 additions & 2 deletions src/cqu_jwc/utils.py → src/cqu_jxgl/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

import requests

from cqu_jwc.config.config import config
from cqu_jwc.version import __version__
from cqu_jxgl.config.config import config
from cqu_jxgl.version import __version__

ERROR_COUNT = 0

Expand Down
2 changes: 1 addition & 1 deletion src/cqu_jwc/version.py → src/cqu_jxgl/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
"""This file is auto-generated by setup.py, please do not alter."""
__version__ = "0.1.0"
__version__ = "0.1.1"

0 comments on commit 4abc107

Please sign in to comment.