Skip to content

Commit 26fda80

Browse files
committed
Update README, setup and publish script
1 parent 8b5570b commit 26fda80

File tree

3 files changed

+3
-10
lines changed

3 files changed

+3
-10
lines changed

README.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -846,8 +846,3 @@ TODO
846846

847847
.. |Build Status| image:: https://github.com/Suor/django-cacheops/actions/workflows/ci.yml/badge.svg
848848
:target: https://github.com/Suor/django-cacheops/actions/workflows/ci.yml?query=branch%3Amaster
849-
850-
851-
.. |Gitter| image:: https://badges.gitter.im/JoinChat.svg
852-
:alt: Join the chat at https://gitter.im/Suor/django-cacheops
853-
:target: https://gitter.im/Suor/django-cacheops?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge

publish.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ set -ex
55
NAME=django-cacheops
66
VERSION=`awk '/__version__ = /{gsub(/'\''/, "", $3); print $3}' cacheops/__init__.py`
77

8+
echo "Publishing $NAME-$VERSION..."
89
python setup.py sdist bdist_wheel
910
twine check dist/$NAME-$VERSION*
1011
twine upload --skip-existing -uSuor dist/$NAME-$VERSION*

setup.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
from setuptools import setup
22

33

4-
# Remove build status and move Gitter link under title for PyPi
5-
README = open('README.rst').read() \
6-
.replace('|Build Status|', '', 1) \
7-
.replace('|Gitter|', '', 1) \
8-
.replace('===\n', '===\n\n|Gitter|\n')
4+
# Remove build status
5+
README = open('README.rst').read().replace('|Build Status|', '', 1)
96

107

118
setup(

0 commit comments

Comments
 (0)