Menu

Fix for python package 1.46

The PyPI package, version 1.46, had a missing file. The following
patch fixes this (and increments the version to 1.46.3). This version
is now on PyPI and version 1.46 has been removed.

The documentation is still at

http://geographiclib.sourceforge.net/1.46/python/

diff --git a/python/MANIFEST.in b/python/MANIFEST.in
index 2459fc2..9561fb1 100644
--- a/python/MANIFEST.in
+++ b/python/MANIFEST.in
@@ -1 +1 @@
-# empty!
+include README.rst
diff --git a/python/geographiclib/__init__.py b/python/geographiclib/__init__.py
index 4e3507b..d889224 100644
--- a/python/geographiclib/__init__.py
+++ b/python/geographiclib/__init__.py
@@ -1,7 +1,7 @@
 """geographiclib: geodesic routines from GeographicLib"""

-__version_info__ = (1, 46, 0)
+__version_info__ = (1, 46, 3)
 """GeographicLib version as a tuple"""

-__version__ = "1.46"
+__version__ = "1.46.3"
 """GeographicLib version as a string"""
diff --git a/python/setup.py b/python/setup.py
index 2baa5b2..9a6fa69 100644
--- a/python/setup.py
+++ b/python/setup.py
@@ -38,7 +38,7 @@ class TestCommand(Command):
                                           ]))

 name = "geographiclib"
-version = "1.46"
+version = "1.46.3"

 setup(name = name,
       version = version,
@@ -46,7 +46,7 @@ setup(name = name,
       long_description = open("README.rst").read(),
       author = "Charles Karney",
       author_email = "charles@karney.com",
-      url = "http://geographiclib.sourceforge.net/" + version + "/python",
+      url = "http://geographiclib.sourceforge.net/" + "1.46" + "/python",
       packages = ["geographiclib", "geographiclib/test"],
       data_files = [],
       license = "MIT",
Posted by Charles Karney 2016-02-16

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.