scaffold build/release tools
This commit is contained in:
parent
088c0c038d
commit
2614bb2c6a
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,3 +1,6 @@
|
|||||||
|
.venv
|
||||||
|
venv
|
||||||
|
|
||||||
# Compiled python modules.
|
# Compiled python modules.
|
||||||
*.py[cod]
|
*.py[cod]
|
||||||
*.pyc
|
*.pyc
|
||||||
|
@ -1,3 +1,22 @@
|
|||||||
[build-system]
|
[build-system]
|
||||||
requires = ["setuptools", "wheel"]
|
requires = ["setuptools", "wheel"]
|
||||||
build-backend = "setuptools.build_meta:__legacy__"
|
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
16
release.sh
Normal 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/*
|
@ -1,3 +1,5 @@
|
|||||||
# Latest Python Social Auth
|
# Latest Python Social Auth
|
||||||
social-auth-app-django
|
social-auth-app-django
|
||||||
social-auth-core
|
social-auth-core
|
||||||
|
twine
|
||||||
|
build
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
# Stable Python Social Auth, found in Open edX Nutmeg
|
# Stable Python Social Auth, found in Open edX Nutmeg
|
||||||
social-auth-app-django==5.0.0
|
social-auth-app-django==5.0.0
|
||||||
social-auth-core==4.2.0
|
social-auth-core==4.2.0
|
||||||
|
twine
|
||||||
|
build
|
||||||
|
Loading…
Reference in New Issue
Block a user