From 2eeec0c610b655fd96a4f6fe959b1efd441db28b Mon Sep 17 00:00:00 2001 From: marceloprates Date: Wed, 15 Feb 2023 16:48:08 -0300 Subject: [PATCH] Updated version number (v0.2-beta.2 -> v0.2-beta.3) in setup.py, removed unnecessary dependencies, updated README.md --- README.md | 47 ++++++++++++++++++----------------------------- requirements.txt | 4 +--- setup.py | 2 +- 3 files changed, 20 insertions(+), 33 deletions(-) diff --git a/README.md b/README.md index ea166a9..3a391cc 100644 --- a/README.md +++ b/README.md @@ -1,47 +1,36 @@ # prettymaps -A minimal Python library to draw customized maps from [OpenStreetMap](https://www.openstreetmap.org/#map=12/11.0733/106.3078) created using the [osmnx](https://github.com/gboeing/osmnx), [matplotlib](https://matplotlib.org/), [shapely](https://shapely.readthedocs.io/en/stable/index.html) and [vsketch](https://github.com/abey79/vsketch) packages. +A Python package to draw maps with customizable styles from [OpenStreetMap](https://www.openstreetmap.org/#map=12/11.0733/106.3078) data. Created using the [osmnx](https://github.com/gboeing/osmnx), [matplotlib](https://matplotlib.org/), [shapely](https://shapely.readthedocs.io/en/stable/index.html) and [vsketch](https://github.com/abey79/vsketch) packages. + +> **This work is [licensed](LICENSE) under a GNU Affero General Public License v3.0 (you can make commercial use, distribute and modify this project, but must **disclose** the source code with the license and copyright notice)** + +Buy Me a Coffee at ko-fi.com + +# Installation + +### Install using with [pip](https://pypi.org): + +``` +pip install prettymaps +``` + +# [Google Colab Demo](https://colab.research.google.com/github/marceloprates/prettymaps/blob/master/notebooks/examples.ipynb) ![](https://github.com/marceloprates/prettymaps/raw/main/prints/heerhugowaard.png) -This work is [licensed](LICENSE) under a GNU Affero General Public License v3.0 (you can make commercial use, distribute and modify this project, but must **disclose** the source code with the license and copyright notice) - -## Note about crediting and NFTs: +# Note about crediting and NFTs: - Please keep the printed message on the figures crediting my repository and OpenStreetMap ([mandatory by their license](https://www.openstreetmap.org/copyright)). - I am personally **against** NFTs for their [environmental impact](https://earth.org/nfts-environmental-impact/), the fact that they're a [giant money-laundering pyramid scheme](https://twitter.com/smdiehl/status/1445795667826208770) and the structural incentives they create for [theft](https://twitter.com/NFTtheft) in the open source and generative art communities. - **I do not authorize in any way this project to be used for selling NFTs**, although I cannot legally enforce it. **Respect the creator**. - The [AeternaCivitas](https://magiceden.io/marketplace/aeterna_civitas) and [geoartnft](https://www.geo-nft.com/) projects have used this work to sell NFTs and refused to credit it. See how they reacted after being exposed: [AeternaCivitas](etc/NFT_theft_AeternaCivitas.jpg), [geoartnft](etc/NFT_theft_geoart.jpg). - **I have closed my other generative art projects on Github and won't be sharing new ones as open source to protect me from the NFT community**. -Buy Me a Coffee at ko-fi.com - -## As seen on [Hacker News](https://web.archive.org/web/20210825160918/https://news.ycombinator.com/news): +# As seen on [Hacker News](https://web.archive.org/web/20210825160918/https://news.ycombinator.com/news): ![](https://github.com/marceloprates/prettymaps/raw/main/prints/hackernews-prettymaps.png) -## [prettymaps subreddit](https://www.reddit.com/r/prettymaps_/) -## [Google Colaboratory Demo](https://colab.research.google.com/github/marceloprates/prettymaps/blob/master/notebooks/examples.ipynb) +# [prettymaps subreddit](https://www.reddit.com/r/prettymaps_/) -# Installation - -OBS. I'm trying to solve a dependency issue with [vsketch](https://vsketch.readthedocs.io/en/latest/install.html) before publishing prettymaps v0.1.3, so, for now, please install directly from GitHub. - -### Install locally: -Install prettymaps with: - -``` -pip install git+https://github.com/marceloprates/prettymaps -``` - -### Install on Google Colaboratory: - -Install prettymaps with: - -``` -!pip install -e "git+https://github.com/marceloprates/prettymaps#egg=prettymaps" -``` - -Then **restart the runtime** (Runtime -> Restart Runtime) before importing prettymaps # Tutorial diff --git a/requirements.txt b/requirements.txt index b0044a4..959b06b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,3 @@ -osmnx==1.1.2 -tabulate==0.8.9 +osmnx==1.2.2 Shapely>=1.8,<2.0 -descartes==1.1.0 pyyaml==6.0.0 \ No newline at end of file diff --git a/setup.py b/setup.py index aae3366..d747c0c 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ presets_dir = os.path.abspath(os.path.join(os.path.pardir, 'presets')) setup( name="prettymaps", - version="v0.2-beta.2", + version="v0.2-beta.3", 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",