From 7bfd7198af0fff815188a19f060a348c41529315 Mon Sep 17 00:00:00 2001 From: Victor Westerlund Date: Mon, 1 May 2023 17:17:19 +0200 Subject: [PATCH] feat: add pypi package --- .gitignore | 3 ++- requirements.txt | 1 + setup.py | 13 +++++++++++++ src/__init__.py | 0 4 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 setup.py create mode 100644 src/__init__.py diff --git a/.gitignore b/.gitignore index 5d9c0c8..a5eb7d5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,7 @@ # Bootstrapping # ################# +/dist +/reflect_client.egg-info /node_modules /public/hot /public/storage @@ -14,7 +16,6 @@ npm-debug.log yarn-error.log public/robots.txt - # OS generated files # ###################### .DS_Store diff --git a/requirements.txt b/requirements.txt index 3feabeb..afb0aad 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1,2 @@ +# the "install_requires" array should also be updated when changing this validators \ No newline at end of file diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..2870a51 --- /dev/null +++ b/setup.py @@ -0,0 +1,13 @@ +from setuptools import setup, find_packages + +setup( + name = "reflect-client", + version = "1.0.0", + description = "Python library for communicating with an API built with Reflect over HTTP or UNIX sockets", + author = "Victor Westerlund", + author_email = "victor.vesterlund@gmail.com", + url = "https://github.com/victorwesterlund/reflect-client-python", + packages = find_packages(), + # The requirement.txt file should also be updated when changing this + install_requires = ["validators"] +) \ No newline at end of file diff --git a/src/__init__.py b/src/__init__.py new file mode 100644 index 0000000..e69de29