Skip to content

Commit

Permalink
Replaces DESCRIPTION.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
hatesmeetings committed Feb 15, 2018
1 parent db7bacb commit f5adc11
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 8 deletions.
4 changes: 0 additions & 4 deletions DESCRIPTION.txt

This file was deleted.

19 changes: 15 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,27 @@
from setuptools import setup

with open('DESCRIPTION.txt') as f:
long_description = f.read()
LONG_DESCRIPTION = """
Ordinal hashing of multidimensonal data and geographic coordinates via Morton coding / Z-ordering.
In mathematical analysis and computer science, `Z-order`, `Morton-order`, or a `Morton-code` is a function
which maps multidimensional data to one dimension while preserving locality of the data points.
It was introduced in 1966 by IBM researcher, G. M. Morton. The z-value of a point in multidimensions is
calculated by interleaving the binary representations of its coordinate values. Once the data are sorted
into this ordering, any one-dimensional data structure can be used, such as binary search trees, B-trees,
skip lists, or hash tables. The resulting ordering can equivalently be described as the order one would
achieve from a depth-first traversal of a quadtree, where `{x, y, ..., K}` are combined into a single
ordinal value that is easily compared, searched, and indexed against other Morton numbers.
"""


def build():
setup(
name='pymorton',
version='1.0.4',
version='1.0.5',
author='Trevor Prater',
author_email='trevor.prater@gmail.com',
description='A lightweight morton coder with lat/long support.',
long_description=long_description,
long_description=LONG_DESCRIPTION,
license='MIT',
keywords='nearest neighbors, geo hashing, geo, z-order, morton coding, hashing',
url='https://github.com/trevorprater/pymorton',
Expand Down

0 comments on commit f5adc11

Please sign in to comment.