Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
renzhc
diffusers_dcu
Commits
af378c1d
Unverified
Commit
af378c1d
authored
Dec 01, 2023
by
Sayak Paul
Committed by
GitHub
Dec 01, 2023
Browse files
[Easy] minor edits to setup.py (#5996)
minor edits to setup
parent
6ba4c539
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
23 deletions
+2
-23
setup.py
setup.py
+2
-23
No files found.
setup.py
View file @
af378c1d
...
@@ -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.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment