Skip to content

Commit af378c1

Browse files
authored
[Easy] minor edits to setup.py (#5996)
minor edits to setup
1 parent 6ba4c53 commit af378c1

File tree

1 file changed

+2
-23
lines changed

1 file changed

+2
-23
lines changed

setup.py

Lines changed: 2 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -254,8 +254,8 @@ def run(self):
254254
long_description=open("README.md", "r", encoding="utf-8").read(),
255255
long_description_content_type="text/markdown",
256256
keywords="deep learning diffusion jax pytorch stable diffusion audioldm",
257-
license="Apache",
258-
author="The HuggingFace team",
257+
license="Apache 2.0 License",
258+
author="The Hugging Face team (past and future) with the help of all our contributors (https://github.com/huggingface/diffusers/graphs/contributors)",
259259
author_email="[email protected]",
260260
url="https://github.com/huggingface/diffusers",
261261
package_dir={"": "src"},
@@ -279,24 +279,3 @@ def run(self):
279279
+ [f"Programming Language :: Python :: 3.{i}" for i in range(8, version_range_max)],
280280
cmdclass={"deps_table_update": DepsTableUpdateCommand},
281281
)
282-
283-
284-
# Release checklist
285-
# 1. Change the version in __init__.py and setup.py.
286-
# 2. Commit these changes with the message: "Release: Release"
287-
# 3. Add a tag in git to mark the release: "git tag RELEASE -m 'Adds tag RELEASE for PyPI'"
288-
# Push the tag to git: git push --tags origin main
289-
# 4. Run the following commands in the top-level directory:
290-
# python setup.py bdist_wheel
291-
# python setup.py sdist
292-
# 5. Upload the package to the PyPI test server first:
293-
# twine upload dist/* -r pypitest
294-
# twine upload dist/* -r pypitest --repository-url=https://test.pypi.org/legacy/
295-
# 6. Check that you can install it in a virtualenv by running:
296-
# pip install -i https://testpypi.python.org/pypi diffusers
297-
# diffusers env
298-
# diffusers test
299-
# 7. Upload the final version to the actual PyPI:
300-
# twine upload dist/* -r pypi
301-
# 8. Add release notes to the tag in GitHub once everything is looking hunky-dory.
302-
# 9. Update the version in __init__.py, setup.py to the new version "-dev" and push to main.

0 commit comments

Comments
 (0)