From 6cef17be27dc386feae78431608857fb6877b85b Mon Sep 17 00:00:00 2001 From: Martin Lindvall Date: Fri, 16 Feb 2024 14:23:56 +0100 Subject: [PATCH] remove setup.py, update readme --- examples/python/ia_app_basic/README.md | 5 ++++ examples/python/ia_app_basic/setup.py | 33 -------------------------- 2 files changed, 5 insertions(+), 33 deletions(-) delete mode 100644 examples/python/ia_app_basic/setup.py diff --git a/examples/python/ia_app_basic/README.md b/examples/python/ia_app_basic/README.md index 2480535..a2ada25 100644 --- a/examples/python/ia_app_basic/README.md +++ b/examples/python/ia_app_basic/README.md @@ -18,6 +18,11 @@ For simplicity, uses no async libraries. For load-scaling, simply run with numbe Should have no trouble scaling as long as number of max simultaneous users are below 1000 or so. +### Prerequisites + +You currently need libgeos to build shapely. On ubuntu `sudo apt install libgeos-dev`. +The shapely dependency will eventually be removed. + ### Install and run You can run this example in a virtualenv using poetry, or directly in the current python environment. diff --git a/examples/python/ia_app_basic/setup.py b/examples/python/ia_app_basic/setup.py deleted file mode 100644 index db5a5e7..0000000 --- a/examples/python/ia_app_basic/setup.py +++ /dev/null @@ -1,33 +0,0 @@ -# -*- coding: utf-8 -*- - -# DO NOT EDIT THIS FILE! -# This file has been autogenerated by dephell <3 -# https://github.com/dephell/dephell - -try: - from setuptools import setup -except ImportError: - from distutils.core import setup - -import os.path - -readme = "" -here = os.path.abspath(os.path.dirname(__file__)) -readme_path = os.path.join(here, "README.md") -if os.path.exists(readme_path): - with open(readme_path, "rb") as stream: - readme = stream.read().decode("utf8") - -setup( - long_description=readme, - name="pcaddemo", - version="0.1.0", - description="pcad demo", - python_requires="<4,>=3.6", - author="Martin Lindvall", - author_email="martin.lindvall@sectra.com", - entry_points={"console_scripts": ["dephell = dephell.cli:entrypoint"]}, - packages=["pcaddemo"], - package_data={}, - install_requires=["flask>=1.0", "minilog>=1.2", "requests>=2.22", "shapely>=1.6"], -)