Skip to content

Commit d9bc2bc

Browse files
committed
pypi doesnt work when description contains a newline, more RST fixes, version bumped to 1.0.0-dev8
1 parent d2b4b89 commit d9bc2bc

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

README.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ Copy the default config to ``/etc/userdocker/config.py``, then edit the file.
113113
The config contains tons of comments and explanations to help you make the right
114114
decisions for your scenario.
115115

116-
:: code-block:: bash
116+
.. code-block:: bash
117117
118118
sudo cp /etc/userdocker/default.py /etc/userdocker/config.py
119119
@@ -136,7 +136,7 @@ In case you want to grant userdocker rights only to some users, we suggest to
136136
add a ``userdocker`` group and then allow users in that group to execute
137137
``sudo userdocker``:
138138

139-
:: code-block:: bash
139+
.. code-block:: bash
140140
141141
# add a group called userdocker:
142142
sudo addgroup userdocker
@@ -167,3 +167,4 @@ some nodes in your cluster, you can use the Host\_List field:
167167
::
168168

169169
%userdocker node1,node2,node4=(root) /usr/local/bin/userdocker
170+

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
setup(
1515
name='userdocker',
1616
version=__version__,
17-
description=__doc__,
17+
description=__doc__.strip().splitlines()[0].strip(),
1818
long_description=long_description,
1919
url='https://github.com/joernhees/userdocker',
2020
author='Jörn Hees',

userdocker/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
https://github.com/joernhees/userdocker
88
"""
99

10-
__version__ = '1.0.0-dev4'
10+
__version__ = '1.0.0-dev8'

0 commit comments

Comments
 (0)