From 1da63ae4c6dc000ef2e0e546846788077530eb7b Mon Sep 17 00:00:00 2001 From: Christoph Rieke Date: Sat, 28 Aug 2021 22:03:13 +0200 Subject: [PATCH 1/4] add req.txt --- requirements.txt | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 requirements.txt diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..abea28c --- /dev/null +++ b/requirements.txt @@ -0,0 +1,4 @@ +osmnx==1.0.1 +tabulate==0.8.9 +jupyter==1.0.0 +#vsketch==1.0.0 \ No newline at end of file From 572c1b54df2a870d3c1e5fbd9868230c8658c7ab Mon Sep 17 00:00:00 2001 From: Christoph Rieke Date: Sat, 28 Aug 2021 22:03:21 +0200 Subject: [PATCH 2/4] adjust setup.py --- setup.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/setup.py b/setup.py index 398d2e5..e20adc6 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,7 @@ from setuptools import setup +from pathlib import Path + +parent_dir = Path(__file__).resolve().parent setup( name='prettymaps', @@ -9,12 +12,7 @@ setup( author_email='marceloorp@gmail.com', license='MIT License', packages=['prettymaps'], - install_requires=[ - 'osmnx==1.0.1', - 'tabulate==0.8.9', - 'jupyter==1.0.0', - #'vsketch==1.0.0' - ], + install_requires=parent_dir.joinpath("requirements.txt").read_text().splitlines(), classifiers=[ 'Intended Audience :: Science/Research', From d1ca94b3d0c64f933520ebe50e726e49f8176a55 Mon Sep 17 00:00:00 2001 From: Christoph Rieke Date: Sat, 28 Aug 2021 22:11:09 +0200 Subject: [PATCH 3/4] add description --- setup.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup.py b/setup.py index e20adc6..233d354 100644 --- a/setup.py +++ b/setup.py @@ -7,6 +7,8 @@ setup( name='prettymaps', version='1.0.0', 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", url='https://github.com/marceloprates/prettymaps', author='Marcelo Prates', author_email='marceloorp@gmail.com', From b1a86679b710ce30df1440b170cc83bb10fec94d Mon Sep 17 00:00:00 2001 From: Christoph Rieke Date: Sat, 28 Aug 2021 22:11:23 +0200 Subject: [PATCH 4/4] exclude unneccesary folders --- setup.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index 233d354..a523242 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,4 @@ -from setuptools import setup +from setuptools import setup, find_packages from pathlib import Path parent_dir = Path(__file__).resolve().parent @@ -13,9 +13,8 @@ setup( author='Marcelo Prates', author_email='marceloorp@gmail.com', license='MIT License', - packages=['prettymaps'], + packages=find_packages(exclude=("assets", "notebooks", "prints", "script")), install_requires=parent_dir.joinpath("requirements.txt").read_text().splitlines(), - classifiers=[ 'Intended Audience :: Science/Research', ],