Skip to content

Commit b232780

Browse files
committed
update README and setup.py to reflect new release 1.0.3 and new maintainer; add entries to .gitignore
1 parent cfedc7a commit b232780

File tree

3 files changed

+16
-12
lines changed

3 files changed

+16
-12
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@
22
*.swp
33
*.pyc
44
ENV/
5+
dist/
6+
twitter_text_python.egg-info/

README.rst

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,12 @@ twitter-text-conformance_ plus some additional ones. Note that the conformance t
2424

2525

2626

27-
Usage::
27+
Usage
28+
-----
2829

2930
>>> from ttp import ttp
3031
>>> p = ttp.Parser()
31-
>>> result = p.parse("@ianozsvald, you now support #IvoWertzel's tweet parser! https://github.com/ianozsvald/")
32+
>>> result = p.parse("@burnettedmond, you now support #IvoWertzel's tweet parser! https://github.com/ianozsvald/")
3233
>>> result.reply
3334
'ianozsvald'
3435
>>> result.users
@@ -45,9 +46,9 @@ If you need different HTML output just subclass and override the ``format_*`` me
4546
You can also ask for the span tags to be returned for each entity::
4647

4748
>>> p = ttp.Parser(include_spans=True)
48-
>>> result = p.parse("@ianozsvald, you now support #IvoWertzel's tweet parser! https://github.com/ianozsvald/")
49+
>>> result = p.parse("@burnettedmond, you now support #IvoWertzel's tweet parser! https://github.com/edburnett/")
4950
>>> result.urls
50-
[('https://github.com/ianozsvald/', (57, 87))]
51+
[('https://github.com/burnettedmond/', (57, 87))]
5152

5253

5354
To use the shortlink follower:
@@ -74,8 +75,9 @@ pip and easy_install will do the job::
7475
Changelog
7576
---------
7677

77-
* 2013/2/11 1.0.0.2 released to PyPI
78-
* 2013/6/1 1.0.1 new working version, adding comma parse fix (thanks https://github.com/muckrack), used autopep8 to clean the src, added a shortlink expander
78+
* 2014/7/30 1.0.3 Update parsed URLs for Twitter API 1.1 compatibility
79+
* 2013/6/1 1.0.1 new working version, adding comma parse fix (thanks https://github.com/muckrack), used autopep8 to clean the src, added a shortlink expander
80+
* 2013/2/11 1.0.0.2 released to PyPI
7981

8082

8183
Tests
@@ -116,7 +118,7 @@ In parent directory on Edmond's machine see USE_THIS_FOR_PYPI_RELEASE.txt. The s
116118
$ # edit setup.py to bump the version number
117119
$ git tag -a v1.0.1 -m 'v1.0.1 release'
118120
$ git push origin --tags
119-
$ ianozsvald-twitter-text-python $ python setup.py sdist register upload -r http://pypi.python.org/pypi
121+
$ twitter-text-python $ python setup.py sdist register upload
120122
$ # this uses ~/.pypirc with cached login details
121123

122124

setup.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
setup(
44
name='twitter-text-python',
5-
version='1.0.1',
5+
version='1.0.3',
66
description='Twitter Tweet parser and formatter',
7-
long_description="Extract @users, #hashtags and URLs (and unwind shortened links) from tweets including entity locations, also generate HTML for output. Visit https://github.com/ianozsvald/twitter-text-python for examples.",
7+
long_description="Extract @users, #hashtags and URLs (and unwind shortened links) from tweets including entity locations, also generate HTML for output. Visit https://github.com/edburnett/twitter-text-python for examples.",
88
#open('README.rst').read(),
9-
author='Maintained by Ian Ozsvald (originally by Ivo Wetzel)',
10-
author_email='ian@ianozsvald.com',
11-
url='https://github.com/ianozsvald/twitter-text-python',
9+
author='Maintained by Edmond Burnett (previously Ian Ozsvald; originally Ivo Wetzel)',
10+
author_email='_@edmondburnett.com',
11+
url='https://github.com/edburnett/twitter-text-python',
1212
license='MIT',
1313
packages=['ttp'],
1414
include_package_data=True,

0 commit comments

Comments
 (0)