From 817fa261dcf039bf7e650f3b4cb3406836b3a1d4 Mon Sep 17 00:00:00 2001 From: sayakpaul Date: Thu, 30 Nov 2023 15:48:13 +0530 Subject: [PATCH] minor edits to setup --- setup.py | 25 ++----------------------- 1 file changed, 2 insertions(+), 23 deletions(-) diff --git a/setup.py b/setup.py index 1c645d769a5c..9cc481932a02 100644 --- a/setup.py +++ b/setup.py @@ -254,8 +254,8 @@ def run(self): long_description=open("README.md", "r", encoding="utf-8").read(), long_description_content_type="text/markdown", keywords="deep learning diffusion jax pytorch stable diffusion audioldm", - license="Apache", - author="The HuggingFace team", + license="Apache 2.0 License", + 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", url="https://github.com/huggingface/diffusers", package_dir={"": "src"}, @@ -279,24 +279,3 @@ def run(self): + [f"Programming Language :: Python :: 3.{i}" for i in range(8, version_range_max)], 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.