Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
gtsam
3rdparty
GeographicLib
python
gtsam/3rdparty/GeographicLib/python/setup.py
Go to the documentation of this file.
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
22
from
distutils.core
import
setup
23
from
distutils.cmd
import
Command
24
25
class
TestCommand
(Command):
26
user_options = []
27
def
initialize_options
(self):
28
pass
29
def
finalize_options
(self):
30
pass
31
def
run
(self):
32
import
sys, subprocess
33
raise
SystemExit(subprocess.call([sys.executable,
34
'-m'
,
35
'unittest'
,
36
'-v'
,
37
'geographiclib.test.test_geodesic'
38
]))
39
40
name =
"geographiclib"
41
version =
"1.49"
42
43
setup
(name = name,
44
version = version,
45
description =
"The geodesic routines from GeographicLib"
,
46
long_description = open(
"README.rst"
).
read
(),
47
author =
"Charles Karney"
,
48
author_email =
"charles@karney.com"
,
49
url =
"https://geographiclib.sourceforge.io/"
+ version +
"/python"
,
50
packages = [
"geographiclib"
,
"geographiclib/test"
],
51
data_files = [],
52
license =
"MIT"
,
53
keywords =
"gis geographical earth distance geodesic"
,
54
classifiers = [
55
"Development Status :: 5 - Production/Stable"
,
56
"Intended Audience :: Developers"
,
57
"Intended Audience :: Science/Research"
,
58
"License :: OSI Approved :: MIT License"
,
59
"Operating System :: OS Independent"
,
60
"Programming Language :: Python"
,
61
"Topic :: Scientific/Engineering :: GIS"
,
62
"Topic :: Software Development :: Libraries :: Python Modules"
,
63
],
64
cmdclass={
65
'test'
: TestCommand,
66
},
67
)
setup
Definition:
gtsam/3rdparty/GeographicLib/python/setup.py:1
read
static GaussianFactorGraph read(const string &name)
Definition:
testSubgraphPreconditioner.cpp:206
setup.TestCommand
Definition:
gtsam/3rdparty/GeographicLib/python/setup.py:25
setup.TestCommand.finalize_options
def finalize_options(self)
Definition:
gtsam/3rdparty/GeographicLib/python/setup.py:29
setup.TestCommand.run
def run(self)
Definition:
gtsam/3rdparty/GeographicLib/python/setup.py:31
setup.TestCommand.initialize_options
def initialize_options(self)
Definition:
gtsam/3rdparty/GeographicLib/python/setup.py:27
gtsam
Author(s):
autogenerated on Sat May 8 2021 02:44:01