Skip to content
Permalink
Browse files

Add license, readme, setup.py

  • Loading branch information...
maxhully committed Feb 6, 2019
1 parent dd8a5f1 commit 35171ac77d1d0fd762bb2e2e9f98bf206a39691b
Showing with 58 additions and 0 deletions.
  1. +21 −0 LICENSE
  2. +10 −0 README.rst
  3. +27 −0 setup.py
21 LICENSE
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2019 Metric Geometry and Gerrymandering Group

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
@@ -0,0 +1,10 @@
===========
Spatial-Ops
===========

Spatial-Ops is a spatial data processing library for working with redistricting
data. Our priorities are to be efficient by using spatial indices whenever possible
and to integrate well with the existing pandas_ and shapely_ ecosystems.

.. _pandas: https://pandas.pydata.org/
.. _shapely: https://shapely.readthedocs.io/en/latest/
@@ -0,0 +1,27 @@
from setuptools import find_packages, setup

import versioneer

with open("./README.rst") as f:
long_description = f.read()

requirements = ["numpy", "scipy", "pandas", "geopandas", "shapely"]

setup(
name="spatial-ops",
version="0.1",
description="Spatial data processing, especially for redistricting",
author="Max Hully",
author_email="max@mggg.org",
long_description=long_description,
long_description_content_type="text/x-rst",
url="https://github.com/mggg/spatial-ops",
packages=find_packages(exclude=("tests",)),
install_requires=requirements,
classifiers=[
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Operating System :: OS Independent",
"License :: OSI Approved :: MIT License",
],
)

0 comments on commit 35171ac

Please sign in to comment.
You can’t perform that action at this time.