1# setup.py, config file for distutils 2# 3# To install this package, execute 4# 5# python setup.py install 6# 7# in this directory. To run the unit tests, execute 8# 9# python setup.py test 10# 11# To update the HTML page for this version, run 12# 13# python setup.py register 14# 15# To upload the latest version to the python repository, run 16# 17# python setup.py sdist --formats gztar,zip upload 18# 19# The initial version of this file was provided by 20# Andrew MacIntyre <Andrew.MacIntyre@acma.gov.au>. 21 22import setuptools 23 24name = "geographiclib" 25version = "1.52" 26 27with open("README.md", "r") as fh: 28 long_description = fh.read() 29 30setuptools.setup( 31 name = name, 32 version = version, 33 author = "Charles Karney", 34 author_email = "charles@karney.com", 35 description = "The geodesic routines from GeographicLib", 36 long_description = long_description, 37 long_description_content_type = "text/markdown", 38 url = "https://geographiclib.sourceforge.io/" + version + "/python", 39 include_package_data = True, 40 packages = setuptools.find_packages(), 41 license = "MIT", 42 keywords = "gis geographical earth distance geodesic", 43 classifiers = [ 44 "Development Status :: 5 - Production/Stable", 45 "Intended Audience :: Developers", 46 "Intended Audience :: Science/Research", 47 "License :: OSI Approved :: MIT License", 48 "Operating System :: OS Independent", 49 "Programming Language :: Python", 50 "Topic :: Scientific/Engineering :: GIS", 51 "Topic :: Software Development :: Libraries :: Python Modules", 52 ], 53 test_suite = "geographiclib.test.test_geodesic", 54) 55