scaffold build/release tools

This commit is contained in:
lpm0073 2022-10-06 20:00:15 -05:00
parent 088c0c038d
commit 2614bb2c6a
5 changed files with 43 additions and 1 deletions

3
.gitignore vendored
View File

@ -1,3 +1,6 @@
.venv
venv
# Compiled python modules.
*.py[cod]
*.pyc

View File

@ -1,3 +1,22 @@
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta:__legacy__"
[project]
name = "wp-oauth-backend_lpm0073"
version = "1.0.0"
authors = [
{ name="Lawrence McDaniel", email="lpm0073@gmail.com" },
]
description = "A WP Oauth Python Social Auth backend for Open edX"
readme = "README.rst"
requires-python = ">=3.7"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
[project.urls]
"Homepage" = "https://github.com/lpm0073/wp-oauth-backend"
"Bug Tracker" = "https://github.com/lpm0073/wp-oauth-backend/issues"

16
release.sh Normal file
View File

@ -0,0 +1,16 @@
#!/bin/sh
#------------------------------------------------------------------------------
# written by: Lawrence McDaniel
# https://lawrencemcdaniel.com
#
# date: oct-2022
#
# usage: a work in progress. build package and upload to PyPi.
#------------------------------------------------------------------------------
python -m pip install --upgrade build
python3 -m build --sdist ./
python3 -m build --wheel ./
python3 -m pip install --upgrade twine
python3 -m twine upload --repository testpypi dist/*

View File

@ -1,3 +1,5 @@
# Latest Python Social Auth
social-auth-app-django
social-auth-core
twine
build

View File

@ -1,3 +1,5 @@
# Stable Python Social Auth, found in Open edX Nutmeg
social-auth-app-django==5.0.0
social-auth-core==4.2.0
social-auth-core==4.2.0
twine
build