Skip to content

Commit

Permalink
add setup.py to enable "pip install -e . " installs
Browse files Browse the repository at this point in the history
  • Loading branch information
fedden committed Feb 6, 2021
1 parent 30b486a commit 7edf954
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
import supabase_py

import setuptools


def get_package_description() -> str:
"""Returns a description of this package from the markdown files."""
with open("README.md", "r") as stream:
readme: str = stream.read()
return readme


setuptools.setup(
name="mitto",
version=supabase_py.__version__,
author="Joel Lee, Leon Fedden",
author_email="joel@joellee.org",
description="Supabase client for Python.",
long_description=get_package_description(),
long_description_content_type="text/markdown",
url="https://github.com/supabase/supabase-py",
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires=">=3.7",
)

0 comments on commit 7edf954

Please sign in to comment.