File tree Expand file tree Collapse file tree 4 files changed +13
-7
lines changed
Expand file tree Collapse file tree 4 files changed +13
-7
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,12 @@ extent, out_size = tiles[i]
4141
4242## Installation:
4343
44+ #### from pip
45+ ``` bash
46+ pip install tiling
47+ ```
48+
49+ #### from sources
4450Package installation is very simple
4551``` bash
4652pip install git+https://github.com/vfdev-5/ImageTilingUtils.git
Original file line number Diff line number Diff line change 1212# add these directories to sys.path here. If the directory is relative to the
1313# documentation root, use os.path.abspath to make it absolute, like shown here.
1414#
15- import os
16- import sys
17- sys .path .insert (0 , os .path .abspath ('../..' ))
1815import tiling
1916import sphinx_rtd_theme
2017from recommonmark .parser import CommonMarkParser
2724author = 'vfdev-5'
2825
2926# The short X.Y version
30- version = 'master (' + tiling .__version__ + ' )'
27+ version = tiling .__version__
3128# The full version, including alpha/beta/rc tags
32- release = 'master'
29+ release = tiling . __version__
3330
3431
3532# -- General configuration ---------------------------------------------------
Original file line number Diff line number Diff line change 1212
1313class TestConstStrideTiles (unittest .TestCase ):
1414
15+ def test_get_version (self ):
16+ from tiling import __version__
17+ self .assertTrue (isinstance (__version__ , str ))
18+
1519 def test_wrong_args (self ):
1620
1721 with self .assertRaises (AssertionError ):
Original file line number Diff line number Diff line change 11from __future__ import absolute_import
22from abc import ABCMeta , abstractmethod
3-
43import numpy as np
54
65
7- __version__ = '0.1.1 '
6+ __version__ = '0.1.2 '
87
98
109class BaseTiles (object ):
You can’t perform that action at this time.
0 commit comments