Skip to content

Commit e0295d8

Browse files
committed
Release fix to #28 as v0.6.3
* tested fix of #32 also on Python 2.7 * updated the installation instructions in the README (ttws is now available via PyPI)
1 parent 1c25070 commit e0295d8

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,19 +30,19 @@ This will install (and update) *ttws* and also all its depenencies.
3030

3131
### Linux/Mac
3232

33-
$ sudo pip install -U https://github.com/dietmarw/trimtrailingwhitespaces/archive/v0.5.1.tar.gz
33+
$ sudo pip install -U ttws
3434

3535
### Windows
3636

37-
C:\Python27\Scripts>pip.exe install -U https://github.com/dietmarw/trimtrailingwhitespaces/archive/v0.6.0.tar.gz
37+
C:\Python27\Scripts>pip.exe install -U ttws
3838

3939
## Usage:
4040

4141
Usage: ttws [OPTIONS] <directory> [<directory> ...]
4242

43-
This script will recursively scan all text files in a given list of
44-
directories and remove all trailing white space in every line as well
45-
as multiple blank lines at the end of the file. Binary files and files
43+
This script will recursively scan all text files in a given list of
44+
directories and remove all trailing white space in every line as well
45+
as multiple blank lines at the end of the file. Binary files and files
4646
residing in '.bzr', '.cvs', '.git', '.hg', '.svn' directories are skipped.
4747

4848
Since the main application is for Modelica projects it expects all files

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"""
1212

1313
from setuptools import setup, find_packages
14+
from os.path import join, dirname
1415

1516

1617
CLASSIFIERS = """
@@ -24,8 +25,9 @@
2425
META = {
2526
'name': 'ttws',
2627
'url': 'https://github.com/dietmarw/trimtrailingwhitespaces',
27-
'version': '0.6.3-dev',
28+
'version': '0.6.3',
2829
'description': 'Script to remove trailing whitespaces from textfiles.',
30+
'long_description': open(join(dirname(__file__), 'README.md')).read(),
2931
'classifiers': CLASSIFIERS,
3032
'license': 'UNLICENSE',
3133
'author': 'Dietmar Winkler',

0 commit comments

Comments
 (0)