From 96ee951f5b997e366c651ee7c5d27ef57979b3a5 Mon Sep 17 00:00:00 2001 From: Paul Schweizer Date: Sat, 9 Jul 2022 16:52:20 +0200 Subject: [PATCH] 163 fix broken docs creation (#164) * Trying to get readthedocs to work with poetry * Bringing back setup.py for readthedocs * Add explanation to setup file --- setup.py | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 setup.py diff --git a/setup.py b/setup.py new file mode 100644 index 00000000..e48db089 --- /dev/null +++ b/setup.py @@ -0,0 +1,28 @@ +"""The setup file only exists to be able to build the docs on readthedocs!""" +from setuptools import find_packages, setup + +with open("README.md") as stream: + long_description = stream.read() + +REQUIREMENTS = [ + "ascii-canvas>=1.2.2", + "ordereddict>=1.1", + "strip-hints>=0.1.7", + 'futures; python_version == "2.7"', +] + +setup( + name="flowpipe", + version="0.9.0", + author="Paul Schweizer", + author_email="paulschweizer@gmx.net", + description="Lightweight flow-based programming framework.", + long_description=long_description, + long_description_content_type="text/markdown", + url="https://github.com/PaulSchweizer/flowpipe", + packages=find_packages(), + install_requires=REQUIREMENTS, + classifiers=[ + "Programming Language :: Python", + ], +)