File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121limitations under the License.
2222"""
2323import os
24+ from goose .version import version_info , __version__
2425from goose .configuration import Configuration
2526from goose .crawler import CrawlCandidate
2627from goose .crawler import Crawler
Original file line number Diff line number Diff line change 1+ # -*- coding: utf-8 -*-
2+ """\
3+ This is a python port of "Goose" orignialy licensed to Gravity.com
4+ under one or more contributor license agreements. See the NOTICE file
5+ distributed with this work for additional information
6+ regarding copyright ownership.
7+
8+ Python port was written by Xavier Grangier for Recrutae
9+
10+ Gravity.com licenses this file
11+ to you under the Apache License, Version 2.0 (the "License");
12+ you may not use this file except in compliance
13+ with the License. You may obtain a copy of the License at
14+
15+ http://www.apache.org/licenses/LICENSE-2.0
16+
17+ Unless required by applicable law or agreed to in writing, software
18+ distributed under the License is distributed on an "AS IS" BASIS,
19+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20+ See the License for the specific language governing permissions and
21+ limitations under the License.
22+ """
23+
24+ version_info = (1 , 0 , 0 )
25+ __version__ = "." .join (map (str , version_info ))
Original file line number Diff line number Diff line change 11from setuptools import setup , find_packages
2+ from imp import load_source
3+
4+ version = load_source ("version" , os .path .join ("goose" , "version.py" ))
25
36setup (name = 'goose' ,
4- version = '0.2' ,
7+ version = version . __version__ ,
58 description = "Html Content / Article Extractor" ,
69 long_description = "" ,
710 keywords = '' ,
You can’t perform that action at this time.
0 commit comments