Skip to content

Commit

Permalink
fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jachinlin committed Dec 18, 2018
1 parent 37aa48c commit f3d3a71
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![travis](https://travis-ci.org/jachinlin/geektime_dl.svg?branch=master)](https://travis-ci.org/jachinlin/geektime_dl)
[![codecov](https://codecov.io/gh/jachinlin/geektime_dl/branch/master/graph/badge.svg)](https://codecov.io/gh/jachinlin/geektime_dl)
[![Python 3](![](https://img.shields.io/pypi/pyversions/geektime-dl.svg))](https://www.python.org/downloads/release/python-356/)
[![Python versions](https://img.shields.io/pypi/pyversions/geektime-dl.svg)](https://pypi.org/project/geektime-dl/)
[![PyPI - Downloads](https://img.shields.io/pypi/dd/geektime-dl.svg)](https://pypi.org/project/geektime-dl/)
[![PyPI](https://img.shields.io/pypi/v/geektime-dl.svg)](https://pypi.org/project/geektime-dl/)

Expand Down
2 changes: 1 addition & 1 deletion geektime_dl/cli/ebook.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def _title(c):
elif c['update_frequency'] == '全集':
t = c['column_title'] + '[更新完毕]'
else:
t = c['column_title'] + '[未完待续]'
t = c['column_title'] + '[未完待续{}]'.format(datetime.date.today())
return t

def render_column_source_files(self, course_intro, course_content, out_dir, force=False):
Expand Down
19 changes: 18 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
#!/usr/bin/env python
# coding: utf-8

import os
from setuptools import setup, find_packages

version = 2.1
version = '2.3.1'


def read(fname):
with open(os.path.join(os.path.dirname(__file__), fname)) as f:
return f.read()


setup(
name='geektime_dl',
Expand All @@ -12,7 +19,17 @@
author_email='[email protected]',
url='https://github.com/jachinlin/geektime_dl',
description='把极客时间装进Kindle',
long_description=read('README.md'),
long_description_content_type='text/markdown',
license='MIT',
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3 :: Only'
],
keywords='kindle ebook mobi geektime',
packages=find_packages(exclude=['examples', 'tests']),
package_data={'geektime_dl': ['geektime_ebook/templates/*']},
Expand Down

0 comments on commit f3d3a71

Please sign in to comment.