-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6389 from docker/6386-update-setup-py
Update setup.py for modern pypi /setuptools
- Loading branch information
Showing
5 changed files
with
14 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,12 +26,6 @@ if [ -z "$(command -v jq 2> /dev/null)" ]; then | |
fi | ||
|
||
|
||
if [ -z "$(command -v pandoc 2> /dev/null)" ]; then | ||
>&2 echo "$0 requires http://pandoc.org/" | ||
>&2 echo "Please install it and make sure it is available on your \$PATH." | ||
exit 2 | ||
fi | ||
|
||
API=https://api.github.com/repos | ||
REPO=docker/compose | ||
[email protected]:$REPO | ||
|
@@ -59,8 +53,6 @@ docker push docker/compose-tests:latest | |
docker push docker/compose-tests:$VERSION | ||
|
||
echo "Uploading package to PyPI" | ||
pandoc -f markdown -t rst README.md -o README.rst | ||
sed -i -e 's/logo.png?raw=true/https:\/\/github.com\/docker\/compose\/raw\/master\/logo.png?raw=true/' README.rst | ||
./script/build/write-git-sha | ||
python setup.py sdist bdist_wheel | ||
if [ "$(command -v twine 2> /dev/null)" ]; then | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters