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

Commit

Permalink
Modify docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Sorosliu1029 committed Apr 4, 2018
1 parent c4f79e0 commit 93a34e8
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 63 deletions.
58 changes: 1 addition & 57 deletions docs/example.html
Original file line number Diff line number Diff line change
Expand Up @@ -513,62 +513,6 @@ <h2 id="&#24215;&#38271;&#21457;&#36710;&#30340;&#26102;&#38388;&#20998;&#24067;
</div>
</div>

</div>
<div class="cell border-box-sizing code_cell rendered">
<div class="input">
<div class="prompt input_prompt">In&nbsp;[16]:</div>
<div class="inner_cell">
<div class="input_area">
<div class=" highlight hl-ipython3"><pre><span></span><span class="n">adjusted_time_periods</span>
</pre></div>

</div>
</div>
</div>

<div class="output_wrapper">
<div class="output">


<div class="output_area">

<div class="prompt output_prompt">Out[16]:</div>




<div class="output_text output_subarea output_execute_result">
<pre>[(0, 0),
(1, 0),
(2, 0),
(3, 0),
(4, 0),
(5, 0),
(6, 0),
(7, 0),
(8, 13),
(9, 20),
(10, 8),
(11, 20),
(12, 33),
(13, 30),
(14, 42),
(15, 71),
(16, 17),
(17, 37),
(18, 41),
(19, 31),
(20, 41),
(21, 38),
(22, 18),
(23, 2)]</pre>
</div>

</div>

</div>
</div>

</div>
<div class="cell border-box-sizing text_cell rendered"><div class="prompt input_prompt">
</div>
Expand All @@ -581,7 +525,7 @@ <h2 id="&#24215;&#38271;&#21457;&#36710;&#30340;&#26102;&#38388;&#20998;&#24067;
</div>
<div class="cell border-box-sizing code_cell rendered">
<div class="input">
<div class="prompt input_prompt">In&nbsp;[17]:</div>
<div class="prompt input_prompt">In&nbsp;[16]:</div>
<div class="inner_cell">
<div class="input_area">
<div class=" highlight hl-ipython3"><pre><span></span><span class="o">%</span><span class="k">matplotlib</span> inline
Expand Down
2 changes: 1 addition & 1 deletion docs/source_notebooks/example.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion jike/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from .client import JikeClient

__title__ = 'jike'
__version__ = '0.3.0'
__version__ = '0.3.1'
__description__ = 'Ⓙ Jike Metro: Unofficial Jike Client'
__url__ = 'https://github.com/Sorosliu1029/Jike-Metro'
__author__ = 'Soros Liu'
Expand Down
15 changes: 11 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,21 @@
import sys
import os
from setuptools import setup, find_packages
from codecs import open
from os import path

here = path.abspath(path.dirname(__file__))
here = os.path.abspath(os.path.dirname(__file__))

with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
# 'setup.py publish' shortcut.
if sys.argv[-1] == 'publish':
os.system('python setup.py bdist_wheel')
os.system('twine upload dist/*')
sys.exit()

with open(os.path.join(here, 'README.rst'), encoding='utf-8') as f:
readme = f.read()

about = {}
with open(path.join(here, 'jike', '__init__.py'), encoding='utf-8') as f:
with open(os.path.join(here, 'jike', '__init__.py'), encoding='utf-8') as f:
exec('\n'.join(filter(lambda l: l.startswith('__'), f.readlines())), about)

setup(
Expand Down

0 comments on commit 93a34e8

Please sign in to comment.