diff --git a/README.rst b/README.rst index 7242194..7c4431f 100644 --- a/README.rst +++ b/README.rst @@ -22,14 +22,14 @@ include this repo in your project's requiremets.txt, or install it from the comm :caption: Python/Django installation cd path/to/your/project 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 :caption: lms.envs.tutor.production.py ADDL_INSTALLED_APPS: - "wp_oauth_backend" THIRD_PARTY_AUTH_BACKENDS: - - "stepwisemath_oauth_backend.wp_oauth.WPOAuth2" + - "wp_oauth_backend.oauth.WPOAuth2" ENABLE_REQUIRE_THIRD_PARTY_AUTH: true add these settings to django.conf: diff --git a/setup.py b/setup.py index fb125c5..8812a70 100644 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ def load_readme(): def load_about(): about = {} with io.open( - os.path.join(HERE, "stepwisemath_oauth_backend", "__about__.py"), + os.path.join(HERE, "wp_oauth_backend", "__about__.py"), "rt", encoding="utf-8", ) as f: @@ -66,18 +66,18 @@ setup( long_description=README, author='Lawrence McDaniel, 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={ - "Code": "https://github.com/StepwiseMath/stepwisemath-oauth-backend", - "Issue tracker": "https://github.com/StepwiseMath/stepwisemath-oauth-backend/issues", + "Code": "https://github.com/StepwiseMath/wp-oauth-backend", + "Issue tracker": "https://github.com/StepwiseMath/wp-oauth-backend/issues", "Community": "https://stepwisemath.ai", }, packages=[ - 'stepwisemath_oauth_backend', + 'wp_oauth_backend', ], packages=find_packages(), 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, keywords='WP OAuth', python_requires=">=3.7", diff --git a/stepwisemath_oauth_backend/__about__.py b/wp_oauth_backend/__about__.py similarity index 100% rename from stepwisemath_oauth_backend/__about__.py rename to wp_oauth_backend/__about__.py diff --git a/stepwisemath_oauth_backend/__init__.py b/wp_oauth_backend/__init__.py similarity index 100% rename from stepwisemath_oauth_backend/__init__.py rename to wp_oauth_backend/__init__.py diff --git a/stepwisemath_oauth_backend/wp_oauth.py b/wp_oauth_backend/oauth.py similarity index 100% rename from stepwisemath_oauth_backend/wp_oauth.py rename to wp_oauth_backend/oauth.py