Skip to content
This repository was archived by the owner on Nov 13, 2019. It is now read-only.

Commit e34faec

Browse files
committed
FIX: dependencies $ README for version 0.3.5
1 parent 5d633d3 commit e34faec

File tree

4 files changed

+42
-3
lines changed

4 files changed

+42
-3
lines changed

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class events to other calendars (e.g. Google Calendar).
1717
Install `NUAAiCal` python package:
1818

1919
```bash
20-
$ pip install NUAAiCal
20+
$ pip3 install NUAAiCal
2121
```
2222

2323
### Source
@@ -39,6 +39,19 @@ $ nuaaical
3939
You will get the `.ics` file path, you can import it to Google
4040
Calendar etc.
4141

42+
# TroubleShoot
43+
44+
## Command Not Found
45+
46+
> nuaaical: command not found
47+
48+
Maybe your system `PATH` environment variable lacks of the value of `~/
49+
.local/bin` . Try the command following, then run `nuaaical` again:
50+
51+
```bash
52+
$ export PATH=${HOME}/.local/bin:$PATH
53+
```
54+
4255
## TODO
4356

4457
- [x] Get course table data

README_zh-hans.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
安装 `NUAAiCal` python 软件包:
1717

1818
```bash
19-
$ pip install NUAAiCal
19+
$ pip3 install NUAAiCal
2020
```
2121

2222
### 源码安装
@@ -37,6 +37,18 @@ $ nuaaical
3737

3838
你将会看到课程表日历 `.ics` 文件的导出路径, 你可以将其导入至 Google 日历等日历程序。
3939

40+
# 疑难解答
41+
42+
## 未找到命令
43+
44+
> nuaaical: command not found
45+
46+
可能系统环境变量 `PATH` 缺失了值 `~/.local/bin` , 尝试运行下面的命令后再重新运行 `nuaaical` :
47+
48+
```bash
49+
$ export PATH=${HOME}/.local/bin:$PATH
50+
```
51+
4052
## 版权声明
4153

4254
本项目采用 [MIT 许可协议](/LICENSE.md)

requirement.txt

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,25 @@ cached-property==1.3.1
33
certifi==2018.1.18
44
chardet==3.0.4
55
defusedxml==0.5.0
6+
google-api-python-client==1.6.5
7+
httplib2==0.10.3
8+
icalendar==4.0.1
69
idna==2.6
710
isodate==0.6.0
811
lxml==4.1.1
12+
-e git+https://github.com/Triple-Z/NUAA-iCal-Python.git@5d633d3b05a0d852810be3805111749eda0f04eb#egg=NUAAiCal
13+
oauth2client==4.1.2
14+
pkginfo==1.4.1
15+
pyasn1==0.4.2
16+
pyasn1-modules==0.2.1
17+
python-dateutil==2.6.1
918
pytz==2018.3
1019
requests==2.18.4
1120
requests-toolbelt==0.8.0
21+
rsa==3.4.2
1222
six==1.11.0
23+
tqdm==4.19.6
24+
twine==1.9.1
25+
uritemplate==3.0.0
1326
urllib3==1.22
1427
zeep==2.5.0

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
setup(
1212
name='NUAAiCal',
13-
version='0.3.4',
13+
version='0.3.5',
1414
description='Generate NUAA curriculum to iCalendar file.',
1515
url='https://github.com/Triple-Z/NUAA-iCal-Python',
1616
author='TripleZ',
@@ -40,6 +40,7 @@
4040
'lxml==4.1.1',
4141
'pytz==2018.3',
4242
'zeep==2.5.0',
43+
'icalendar==4.0.1',
4344
],
4445
project_urls={
4546
'Bug Reports': 'https://github.com/Triple-Z/NUAA-iCal-Python/issues',

0 commit comments

Comments
 (0)