Skip to content

Commit 124b710

Browse files
committed
py27
1 parent 03d1496 commit 124b710

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
language: python
22

33
python:
4+
- 2.7
5+
- 3.4
46
- 3.5
57
- 3.6
68

pymap3d/vincenty.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22
Ported by Michael Hirsch to Python.
33
Original work by Joaquim Luis (LGPL), Michael Kleder, et al.
44
"""
5+
from __future__ import print_function
56
from sys import stderr
67
from numpy import (atleast_1d,arctan,sqrt,tan,sign,sin,cos,arctan2,arcsin,
7-
ones,empty,zeros,radians,degrees,tile)
8-
from math import pi,nan
8+
ones,empty,zeros,radians,degrees,tile,nan)
9+
from math import pi
910

1011
def vdist(lat1,lon1,lat2,lon2):
1112
"""

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import conda.cli
77
conda.cli.main('install',*req)
88
except Exception as e:
9-
pip.main(['install',*req])
9+
pip.main(['install'] + req)
1010
# %%
1111
from setuptools import setup
1212

@@ -21,8 +21,8 @@
2121
'Development Status :: 5 - Production/Stable',
2222
'License :: OSI Approved :: BSD License',
2323
'Topic :: Scientific/Engineering :: GIS',
24-
'Programming Language :: Python :: 3.5',
25-
'Programming Language :: Python :: 3.6',
24+
'Programming Language :: Python :: 3',
25+
'Programming Language :: Python',
2626
],
2727
install_requires=req,
2828
)

0 commit comments

Comments
 (0)