Unverified Commit af378c1d authored by Sayak Paul's avatar Sayak Paul Committed by GitHub
Browse files

[Easy] minor edits to setup.py (#5996)

minor edits to setup
parent 6ba4c539
...@@ -254,8 +254,8 @@ setup( ...@@ -254,8 +254,8 @@ setup(
long_description=open("README.md", "r", encoding="utf-8").read(), long_description=open("README.md", "r", encoding="utf-8").read(),
long_description_content_type="text/markdown", long_description_content_type="text/markdown",
keywords="deep learning diffusion jax pytorch stable diffusion audioldm", keywords="deep learning diffusion jax pytorch stable diffusion audioldm",
license="Apache", license="Apache 2.0 License",
author="The HuggingFace team", author="The Hugging Face team (past and future) with the help of all our contributors (https://github.com/huggingface/diffusers/graphs/contributors)",
author_email="patrick@huggingface.co", author_email="patrick@huggingface.co",
url="https://github.com/huggingface/diffusers", url="https://github.com/huggingface/diffusers",
package_dir={"": "src"}, package_dir={"": "src"},
...@@ -279,24 +279,3 @@ setup( ...@@ -279,24 +279,3 @@ setup(
+ [f"Programming Language :: Python :: 3.{i}" for i in range(8, version_range_max)], + [f"Programming Language :: Python :: 3.{i}" for i in range(8, version_range_max)],
cmdclass={"deps_table_update": DepsTableUpdateCommand}, cmdclass={"deps_table_update": DepsTableUpdateCommand},
) )
# Release checklist
# 1. Change the version in __init__.py and setup.py.
# 2. Commit these changes with the message: "Release: Release"
# 3. Add a tag in git to mark the release: "git tag RELEASE -m 'Adds tag RELEASE for PyPI'"
# Push the tag to git: git push --tags origin main
# 4. Run the following commands in the top-level directory:
# python setup.py bdist_wheel
# python setup.py sdist
# 5. Upload the package to the PyPI test server first:
# twine upload dist/* -r pypitest
# twine upload dist/* -r pypitest --repository-url=https://test.pypi.org/legacy/
# 6. Check that you can install it in a virtualenv by running:
# pip install -i https://testpypi.python.org/pypi diffusers
# diffusers env
# diffusers test
# 7. Upload the final version to the actual PyPI:
# twine upload dist/* -r pypi
# 8. Add release notes to the tag in GitHub once everything is looking hunky-dory.
# 9. Update the version in __init__.py, setup.py to the new version "-dev" and push to main.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment