Skip to content

Commit 6646969

Browse files
committed
Add __version__ to scrapely.__init__.py
1 parent 22dea95 commit 6646969

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

.bumpversion.cfg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,7 @@ tag_name = v{new_version}
66

77
[bumpversion:file:setup.py]
88

9+
[bumpversion:file:scrapely/version.py]
10+
search = __version__ = '{current_version}'
11+
replace = __version__ = '{new_version}'
12+

scrapely/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
from scrapely.htmlpage import HtmlPage, page_to_dict, url_to_page
66
from scrapely.template import TemplateMaker, best_match
77
from scrapely.extraction import InstanceBasedLearningExtractor
8+
from scrapely.version import __version__
89

910

1011
class Scraper(object):

scrapely/version.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__version__ = '0.13.2'

0 commit comments

Comments
 (0)