File tree Expand file tree Collapse file tree 3 files changed +49
-27
lines changed
Expand file tree Collapse file tree 3 files changed +49
-27
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env python
2+ # -*- coding: utf-8 -*-
3+ '''
4+ eRFC downloads and formats plain-text RFCs to fit eReaders nicely.
5+
6+ Usage:
7+ erfc get <rfc_numbers>... [--save-to=<path>]
8+
9+ Options:
10+ -h, --help Show this screen.
11+ -s, --save-to=<path> Path to a folder where RFC will be stored
12+ [default: rfcs].
13+
14+ '''
15+ import sys
16+
17+ from docopt import docopt
18+
19+ from erfc .get import get_rfcs
20+
21+
22+ def main ():
23+ args = docopt (__doc__ )
24+ get_rfcs (args )
25+
26+
27+ if __name__ == '__main__' :
28+ sys .exit (main ())
Original file line number Diff line number Diff line change 1+ import setuptools
2+
3+ setuptools .setup (
4+ name = "erfc" ,
5+ version = "0.1.0" ,
6+ author = "Radosław Szalski" ,
7+ description = 'eRFC downloads and formats plain-text RFCs to fit eReaders nicely' ,
8+ url = 'https://github.com/rszalski/erfc' ,
9+ download_url = 'https://github.com/rszalski/erfc/tarball/v0.1.0' ,
10+ packages = setuptools .find_packages (),
11+ keywords = ['rfc' , 'erfc' , 'ebook' ],
12+ install_requires = [
13+ 'docopt>=0.6.1' ,
14+ 'requests>=2.20.1' ,
15+ ],
16+ entry_points = dict (
17+ console_scripts = [
18+ 'erfc = erfc:main' ,
19+ ]
20+ )
21+ )
You can’t perform that action at this time.
0 commit comments