Skip to content

Commit 87b5431

Browse files
committed
Major: Refactor to packages
1 parent 05525eb commit 87b5431

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+11290
-241
lines changed

.idea/bypy.iml

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/inspectionProfiles/Project_Default.xml

+17
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

+3-10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/workspace.xml

+240-49
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.travis.yml

+3-6
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,9 @@ install:
1919
- pip install coveralls
2020
# command to run tests, e.g. python setup.py test
2121
script:
22-
- pyflakes bypy.py
23-
- pyflakes setup.py
24-
- pyflakes bypygui.pyw
25-
- python setup.py test
26-
- python -m doctest -v bypy.py
27-
- cd test && coverage run test.py
22+
- pyflakes bypy
23+
- echo "[disabled] python -m doctest -v bypy.py"
24+
- python -m coverage run -m bypy
2825
notifications:
2926
email:
3027
on_success: change # default: change

CONTRIBUTING.rst

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
First of all, thank you very much for submitting codes / pull requests
2+
to this little project. :smile:
3+
4+
I want the whole project to be licensed under the permissive **MIT
5+
license**, so that anybody can use it pretty much anyway they want. So
6+
by submitting codes / changes to this project, you agree to license all
7+
of them under the **MIT license** to this project.
8+
9+
--------------
10+
11+
首先,非常感谢你对这个小工具提交的代码/改动。 :smile:
12+
13+
我希望整个项目都是使用\ **MIT授权协议**\ 的,好让每个人使用的时候几乎不受任何限制。所以通过向这个项目提交代码/改动,你同意将它们全部用\ **MIT协议**\ 授权给这个项目。

HISTORY.rst

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
Version History:
2+
~~~~~~~~~~~~~~~~
3+
4+
- 1.2.22: Fix "TypeError: b'xxxxxx' is not JSON serializable" for cache
5+
- 1.2.21: Support aria2 downloading resuming (disable preallocation)
6+
- 1.2.20: Fix an error in upload resuming; Add in retries for aria2
7+
- 1.2.19: Add in aria2 download support
8+
- 1.2.18: Add in upload resuming using slices; Fix Unicode issue with
9+
py2\_jsondump(); Fix the pypi setup package
10+
- 1.2.17: Fix UnicodeEncodeError on redirect; Add in retry on urllib3
11+
TimeOutError
12+
- 1.2.16: Add in proxy prompts
13+
- 1.2.15: Fix a severe bug (accidental directory deletion) in
14+
``download`` command intoduced in 1.2.14
15+
- 1.2.14: Add in ``download`` command
16+
- 1.2.13: Remove argcomplete; Improve encoding handling prompting
17+
- 1.2.12: Add in (optional) argcomplete
18+
- 1.2.11: Fix Exception in error dump introduced in 1.2.10
19+
- 1.2.10: Handle (32, 'EPIPE'); Warn LOUDLY on encoding failures;
20+
Remove 'is\_revision'
21+
- 1.2.9: Fix formatex() Syntax Error; Handle (110, 'ETIMEDOUT')
22+
- 1.2.8: Fix a Syntax Error; Handle {'error\_code': 0, 'error\_msg':
23+
'no error'}
24+
- 1.2.7: Fix Hash Cache JSON saving (need to using string for Hashes)
25+
- 1.2.6: Fix Hash Cache JSON dumping (``Unicode`` again)
26+
- 1.2.5: Add in offline (cloud) download; Fix stack printing
27+
- 1.2.4: Fix command line parsing for Python 3 (``Unicode`` by default)
28+
- 1.2.3: Fix GUI for Python 3
29+
- 1.2.2: Fix division for Python 3
30+
- 1.2.1: Make it ``universal`` (Python 2 & 3 compatible)
31+
- 1.0.20: Initial release

MANIFEST.in

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
include LICENSE
2-
include README.md
3-
include HISTORY.md
4-
include CONTRIBUTING.md
2+
include README.rst
3+
include HISTORY.rst
4+
include CONTRIBUTING.rst

README.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -199,5 +199,9 @@ Tips / Sharing
199199
Please go to [wiki](../../wiki)
200200

201201
===
202-
Copyright 2015: Hou Tianze (GitHub: houtianze)
202+
203+
PCS API Document: http://developer.baidu.com/wiki/index.php?title=docs/pcs/rest/file_data_apis_list
204+
205+
===
206+
Copyright 2015: Hou Tianze and contributors (see https://github.com/houtianze/bypy/graphs/contributors for more details)
203207
License: MIT

0 commit comments

Comments
 (0)