mirror of
https://github.com/marceloprates/prettymaps.git
synced 2025-01-16 20:48:13 +01:00
Changed version number (v0.1.7 -> v0.1.8), added shapely, ipykernel and pyyaml dependencies to requirements.txt, removed unused imports from draw.py and fetch.py
This commit is contained in:
parent
d024b83954
commit
c0eb528301
@ -37,8 +37,8 @@ from matplotlib import pyplot as plt
|
||||
from matplotlib.colors import hex2color
|
||||
from matplotlib.patches import Path, PathPatch
|
||||
from typing import Optional, Union, Tuple, List, Dict, Any, Iterable
|
||||
from shapely.geometry import Point, LineString, MultiLineString, Polygon, MultiPolygon, GeometryCollection, box
|
||||
from shapely.geometry.base import BaseGeometry
|
||||
from shapely.geometry import Point, LineString, MultiLineString, Polygon, MultiPolygon, GeometryCollection, box
|
||||
|
||||
#import vsketch
|
||||
|
||||
|
@ -16,19 +16,11 @@ You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
"""
|
||||
|
||||
from ast import Dict
|
||||
from functools import reduce
|
||||
from tokenize import Number, String
|
||||
from typing import Optional, Union, Tuple
|
||||
|
||||
# from unittest.runner import _ResultClassType
|
||||
from xmlrpc.client import Boolean
|
||||
|
||||
import re
|
||||
import osmnx as ox
|
||||
from osmnx import utils_geo
|
||||
from osmnx._errors import EmptyOverpassResponse
|
||||
import warnings
|
||||
import numpy as np
|
||||
import osmnx as ox
|
||||
from copy import deepcopy
|
||||
from shapely.geometry import (
|
||||
box,
|
||||
Point,
|
||||
@ -37,12 +29,10 @@ from shapely.geometry import (
|
||||
LineString,
|
||||
MultiLineString,
|
||||
)
|
||||
from geopandas import GeoDataFrame
|
||||
from shapely.affinity import rotate
|
||||
from shapely.ops import unary_union
|
||||
from geopandas import GeoDataFrame, read_file
|
||||
import warnings
|
||||
from shapely.errors import ShapelyDeprecationWarning
|
||||
from copy import deepcopy
|
||||
|
||||
|
||||
# Parse query (by coordinates, OSMId or name)
|
||||
|
@ -1 +1,4 @@
|
||||
osmnx==1.1.2
|
||||
osmnx==1.1.2
|
||||
Shapely>=1.8,<2.0
|
||||
ipykernel==5.3.4
|
||||
pyyaml==6.0.0
|
2
setup.py
2
setup.py
@ -7,7 +7,7 @@ presets_dir = os.path.abspath(os.path.join(os.path.pardir, 'presets'))
|
||||
|
||||
setup(
|
||||
name="prettymaps",
|
||||
version="v0.1.7",
|
||||
version="v0.1.8",
|
||||
description="A simple python library to draw pretty maps from OpenStreetMap data",
|
||||
long_description=parent_dir.joinpath("README.md").read_text(),
|
||||
long_description_content_type="text/markdown",
|
||||
|
Loading…
x
Reference in New Issue
Block a user