4 Commits

Author SHA1 Message Date
marceloprates
a40c64e25d Changed package_dir location in setup.py 2023-02-13 17:21:33 -03:00
marceloprates
54339657fb Changed version number (v0.1.9 -> v0.2-beta) 2023-02-13 16:41:29 -03:00
marceloprates
dd2fd80544 Added tabulate and descartes dependencies to requirements.txt 2023-02-13 16:33:48 -03:00
marceloprates
e3a176a0b1 Removed ipykernel dependency from requirements.txt due to dependency conflicts 2023-02-13 15:57:13 -03:00
3 changed files with 7 additions and 5 deletions

View File

@@ -20,7 +20,7 @@ import re
import os import os
import json import json
import yaml import yaml
import IPython #import IPython
import pathlib import pathlib
import warnings import warnings
import matplotlib import matplotlib
@@ -78,6 +78,7 @@ class Preset:
""" """
params: dict params: dict
'''
def _ipython_display_(self): def _ipython_display_(self):
""" """
Implements the _ipython_display_() function for the Preset class. Implements the _ipython_display_() function for the Preset class.
@@ -104,7 +105,7 @@ class Preset:
params.iloc[1:, 2:] = '' params.iloc[1:, 2:] = ''
IPython.display.display(IPython.display.Markdown(params.to_markdown())) IPython.display.display(IPython.display.Markdown(params.to_markdown()))
'''
def transform_gdfs( def transform_gdfs(
gdfs: Dict[str, gp.GeoDataFrame], gdfs: Dict[str, gp.GeoDataFrame],

View File

@@ -1,4 +1,5 @@
osmnx==1.1.2 osmnx==1.1.2
tabulate==0.8.9
Shapely>=1.8,<2.0 Shapely>=1.8,<2.0
ipykernel==5.3.4 descartes==1.1.0
pyyaml==6.0.0 pyyaml==6.0.0

View File

@@ -7,7 +7,7 @@ presets_dir = os.path.abspath(os.path.join(os.path.pardir, 'presets'))
setup( setup(
name="prettymaps", name="prettymaps",
version="v0.1.8", version="v0.2-beta",
description="A simple python library to draw pretty maps from OpenStreetMap data", description="A simple python library to draw pretty maps from OpenStreetMap data",
long_description=parent_dir.joinpath("README.md").read_text(), long_description=parent_dir.joinpath("README.md").read_text(),
long_description_content_type="text/markdown", long_description_content_type="text/markdown",
@@ -22,6 +22,6 @@ setup(
classifiers=[ classifiers=[
"Intended Audience :: Science/Research", "Intended Audience :: Science/Research",
], ],
package_dir={'prettymaps': '.'}, package_dir={'prettymaps': 'prettymaps'},
package_data={'prettymaps': ['presets/*.json']}, package_data={'prettymaps': ['presets/*.json']},
) )