-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
55 lines (50 loc) · 1.25 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
from pathlib import Path
from setuptools import find_packages, setup
requirements = [
"pandas<2.0.0,>=1.5.0",
"scipy",
"networkx",
"geopandas",
"Shapely>=2.0.0",
"matplotlib",
"gerrychain",
"sortedcontainers",
"jsonlines",
"opencv-python-headless",
"imageio",
"us",
"pydantic",
"censusdata",
"seaborn",
"maup<=1.1.0",
]
# Set the version --- ensure that the latest tag matches this value.
VERSION = "1.2.0"
# Description.
here = Path(__file__).parent
DESCRIPTION = (here / "README.md").read_text()
setup(
name="gerrytools",
version=VERSION,
author="MGGG Redistricting Lab",
author_email="[email protected]",
description="Tools for processing and visualizing districting plans.",
long_description=DESCRIPTION,
long_description_content_type="text/markdown",
url="https://github.com/mggg/gerrytools",
packages=find_packages(exclude=["tests", "tutorials"]),
install_requires=requirements,
include_package_data=True,
extras_require={
"dev": [
"pdoc3",
"flake8",
"pytest",
"autopep8",
"pytest-cov",
"black",
"isort",
],
"mgrp": ["docker>=7.0.0"],
},
)