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]
41
41
42
42
## Installation:
43
43
44
+ #### from pip
45
+ ``` bash
46
+ pip install tiling
47
+ ```
48
+
49
+ #### from sources
44
50
Package installation is very simple
45
51
``` bash
46
52
pip install git+https://github.com/vfdev-5/ImageTilingUtils.git
Original file line number Diff line number Diff line change 12
12
# add these directories to sys.path here. If the directory is relative to the
13
13
# documentation root, use os.path.abspath to make it absolute, like shown here.
14
14
#
15
- import os
16
- import sys
17
- sys .path .insert (0 , os .path .abspath ('../..' ))
18
15
import tiling
19
16
import sphinx_rtd_theme
20
17
from recommonmark .parser import CommonMarkParser
27
24
author = 'vfdev-5'
28
25
29
26
# The short X.Y version
30
- version = 'master (' + tiling .__version__ + ' )'
27
+ version = tiling .__version__
31
28
# The full version, including alpha/beta/rc tags
32
- release = 'master'
29
+ release = tiling . __version__
33
30
34
31
35
32
# -- General configuration ---------------------------------------------------
Original file line number Diff line number Diff line change 12
12
13
13
class TestConstStrideTiles (unittest .TestCase ):
14
14
15
+ def test_get_version (self ):
16
+ from tiling import __version__
17
+ self .assertTrue (isinstance (__version__ , str ))
18
+
15
19
def test_wrong_args (self ):
16
20
17
21
with self .assertRaises (AssertionError ):
Original file line number Diff line number Diff line change 1
1
from __future__ import absolute_import
2
2
from abc import ABCMeta , abstractmethod
3
-
4
3
import numpy as np
5
4
6
5
7
- __version__ = '0.1.1 '
6
+ __version__ = '0.1.2 '
8
7
9
8
10
9
class BaseTiles (object ):
You can’t perform that action at this time.
0 commit comments