Skip to content

Commit

Permalink
ref #7, enrich setup.py to be decent on pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
ace-han committed Sep 15, 2021
1 parent d14ddf2 commit 3a61200
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
@@ -1,2 +1,3 @@
# social_auth
Social auth plugin (wx, alipay & etc.) for Saleor
> More details will come as the development goes on...
20 changes: 19 additions & 1 deletion setup.py
Expand Up @@ -16,13 +16,31 @@
]
}

README = 'file README.md'
with open("README.md") as readme:
README = readme.read()

setup(
name="social_auth",
name="saleor-social-auth",
version="0.1.0",
description="Social auth plugin (wx, alipay & etc.) for Saleor",
long_description=README,
long_description_content_type="text/markdown",
url="https://github.com/ace-han/social_auth",
author="Ace Han",
author_email="ace.jl.han@gmail.com",
license="MIT",
classifiers=[
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Operating System :: OS Independent",
],
packages=["social_auth"],
package_dir={"social_auth": "social_auth"},
install_requires=install_requires,
extras_require=social_core_extras_require,
zip_safe=True,
entry_points={
"saleor.plugins": ["social_auth = social_auth.plugin:SocialAuthPlugin"]
},
Expand Down

0 comments on commit 3a61200

Please sign in to comment.