rename package
This commit is contained in:
parent
4a8ded2913
commit
e43a336c9d
@ -22,14 +22,14 @@ include this repo in your project's requiremets.txt, or install it from the comm
|
|||||||
:caption: Python/Django installation
|
:caption: Python/Django installation
|
||||||
cd path/to/your/project
|
cd path/to/your/project
|
||||||
source path/to/venv/bin/activate
|
source path/to/venv/bin/activate
|
||||||
pip install https://github.com/StepwiseMath/stepwisemath-oauth-backend
|
pip install https://github.com/StepwiseMath/wp-oauth-backend
|
||||||
|
|
||||||
.. code-block:: yaml
|
.. code-block:: yaml
|
||||||
:caption: lms.envs.tutor.production.py
|
:caption: lms.envs.tutor.production.py
|
||||||
ADDL_INSTALLED_APPS:
|
ADDL_INSTALLED_APPS:
|
||||||
- "wp_oauth_backend"
|
- "wp_oauth_backend"
|
||||||
THIRD_PARTY_AUTH_BACKENDS:
|
THIRD_PARTY_AUTH_BACKENDS:
|
||||||
- "stepwisemath_oauth_backend.wp_oauth.WPOAuth2"
|
- "wp_oauth_backend.oauth.WPOAuth2"
|
||||||
ENABLE_REQUIRE_THIRD_PARTY_AUTH: true
|
ENABLE_REQUIRE_THIRD_PARTY_AUTH: true
|
||||||
|
|
||||||
add these settings to django.conf:
|
add these settings to django.conf:
|
||||||
|
12
setup.py
12
setup.py
@ -18,7 +18,7 @@ def load_readme():
|
|||||||
def load_about():
|
def load_about():
|
||||||
about = {}
|
about = {}
|
||||||
with io.open(
|
with io.open(
|
||||||
os.path.join(HERE, "stepwisemath_oauth_backend", "__about__.py"),
|
os.path.join(HERE, "wp_oauth_backend", "__about__.py"),
|
||||||
"rt",
|
"rt",
|
||||||
encoding="utf-8",
|
encoding="utf-8",
|
||||||
) as f:
|
) as f:
|
||||||
@ -66,18 +66,18 @@ setup(
|
|||||||
long_description=README,
|
long_description=README,
|
||||||
author='Lawrence McDaniel, lpm0073@gmail.com',
|
author='Lawrence McDaniel, lpm0073@gmail.com',
|
||||||
author_email='lpm0073@gmail.com',
|
author_email='lpm0073@gmail.com',
|
||||||
url='https://github.com/StepwiseMath/stepwisemath-oauth-backend',
|
url='https://github.com/StepwiseMath/wp-oauth-backend',
|
||||||
project_urls={
|
project_urls={
|
||||||
"Code": "https://github.com/StepwiseMath/stepwisemath-oauth-backend",
|
"Code": "https://github.com/StepwiseMath/wp-oauth-backend",
|
||||||
"Issue tracker": "https://github.com/StepwiseMath/stepwisemath-oauth-backend/issues",
|
"Issue tracker": "https://github.com/StepwiseMath/wp-oauth-backend/issues",
|
||||||
"Community": "https://stepwisemath.ai",
|
"Community": "https://stepwisemath.ai",
|
||||||
},
|
},
|
||||||
packages=[
|
packages=[
|
||||||
'stepwisemath_oauth_backend',
|
'wp_oauth_backend',
|
||||||
],
|
],
|
||||||
packages=find_packages(),
|
packages=find_packages(),
|
||||||
include_package_data=True,
|
include_package_data=True,
|
||||||
package_data={"": ["*.html"]}, # include any Mako templates found in this repo.
|
package_data={"": ["*.html"]}, # include any templates found in this repo.
|
||||||
zip_safe=False,
|
zip_safe=False,
|
||||||
keywords='WP OAuth',
|
keywords='WP OAuth',
|
||||||
python_requires=">=3.7",
|
python_requires=">=3.7",
|
||||||
|
Loading…
Reference in New Issue
Block a user