Skip to content

Commit 2171e11

Browse files
authored
Merge pull request #631 from ocefpaf/versioneer
Use versioneer
2 parents 89c76a0 + 12bfe9e commit 2171e11

9 files changed

Lines changed: 2396 additions & 61 deletions

File tree

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
folium/_version.py export-subst

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ script:
5454

5555
- if [[ $TEST_TARGET == 'latest_branca' ]]; then
5656
pip install git+https://github.com/python-visualization/branca.git ;
57-
python setup.py test ;
57+
py.test -vv --ignore=tests/notebooks/test_notebooks.py ;
5858
fi
5959

6060
- if [[ $TEST_TARGET == 'notebooks' ]]; then

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ recursive-include folium *.py
44
recursive-include folium *.js
55
recursive-include folium/plugins *
66
recursive-include folium/templates *
7+
include versioneer.py
78
prune examples/

docs/contributing.rst

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,10 @@
1-
Contributing
2-
============
1+
Contributing to folium
2+
======================
33

4-
Choose the sandbox folder of your choice (`~/sandbox` for example)
5-
::
4+
We welcome contributions to folum in many forms.
65

7-
$ cd ~/sandbox
6+
Examples of contributions include:
87

9-
Clone `folium` from github:
10-
::
11-
12-
$ git clone https://github.com/python-visualization/folium
13-
14-
Push code to your fors, and write a pull request.
15-
16-
TODO: end up this section.
8+
* Code patches
9+
* Documentation improvements
10+
* Bug reports and patch reviews

folium/__init__.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,11 @@
1717
TopoJson, WmsTileLayer
1818
)
1919

20-
__version__ = '0.4.0.dev0'
20+
21+
from ._version import get_versions
22+
23+
__version__ = get_versions()['version']
24+
del get_versions
2125

2226
__all__ = [
2327
'CssLink',

0 commit comments

Comments
 (0)