Skip to content

Commit

Permalink
Restructure to support publishing to poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
Joel Lee authored and Joel Lee committed Jan 25, 2021
1 parent 8d7502e commit 65d4b1c
Show file tree
Hide file tree
Showing 13 changed files with 27 additions and 4 deletions.
8 changes: 6 additions & 2 deletions README.md → README.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@

# Gotrue-py
*****
Title
*****
**STATUS**: WIP. DO NOT USE
This is a hacky `gotrue-py` client conceived during a very draggy class. The design mirrors that of [GoTrue-js](https://github.com/supabase/gotrue-js/blob/master/infra/db/00-schema.sql)

## TODOs
*****
TODOS
*****
- [] Support basic methods like auth/signin/signup
- [] Write tests/setup CI using Github Actions + pytest
- []
Expand Down
File renamed without changes.
1 change: 1 addition & 0 deletions gotrue/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__version__ = '0.1.0'
File renamed without changes.
File renamed without changes.
File renamed without changes.
15 changes: 15 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[tool.poetry]
name = "gotrue"
version = "0.1.0"
description = ""
authors = ["Your Name <you@example.com>"]

[tool.poetry.dependencies]
python = "^2.7"

[tool.poetry.dev-dependencies]
pytest = "^4.6"

[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
Empty file removed tests/.gitkeep
Empty file.
File renamed without changes.
Binary file added tests/__pycache__/__init__.cpython-39.pyc
Binary file not shown.
Binary file not shown.
5 changes: 5 additions & 0 deletions tests/test_gotrue.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from gotrue import __version__


def test_version():
assert __version__ == '0.1.0'
2 changes: 0 additions & 2 deletions tests/test_placeholder.py

This file was deleted.

0 comments on commit 65d4b1c

Please sign in to comment.