Skip to content

Commit bdf7316

Browse files
committed
version bump after fixing up setup.py to use a subdirectory
1 parent 400758b commit bdf7316

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

README.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ https://github.com/BonsaiDen/twitter-text-python
2020

2121
Usage::
2222

23-
>>> import ttp
23+
>>> from ttp import ttp
2424
>>> p = ttp.Parser()
2525
>>> result = p.parse("@ianozsvald, you now support #IvoWertzel's tweet parser! https://github.com/ianozsvald/")
2626
>>> result.reply
@@ -53,14 +53,14 @@ pip and easy_install will do the job::
5353
# via: http://pypi.python.org/pypi/twitter-text-python
5454
$ pip install twitter-text-python
5555
$ python
56-
>>> import ttp
56+
>>> from ttp import ttp
5757
>>> ttp.__version__
58-
'1.0.0'
58+
'1.0.0.2'
5959

6060
Changelog
6161
---------
6262

63-
* 2013/2/11 1.0.0 released to PyPI
63+
* 2013/2/11 1.0.0.2 released to PyPI
6464

6565

6666
Tests

setup.py

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

33
setup(
44
name='twitter-text-python',
5-
version='1.0.0',
5+
version='1.0.0.2',
66
description='Twitter Tweet parser and formatter',
77
long_description="Extract @users, #hashtags and URLs from tweets including entity locations, also generate HTML for output. Visit the github site for full instructions.",
88
#open('README.rst').read(),
99
author='Maintained by Ian Ozsvald (originally by Ivo Wetzel)',
1010
author_email='ian@ianozsvald.com',
1111
url='https://github.com/ianozsvald/twitter-text-python',
1212
license='MIT',
13-
py_modules=['ttp', 'tests'],
13+
packages=['ttp'],
1414
include_package_data=True,
1515
zip_safe=False,
1616
install_requires=[],
17-
#data_files=[('./', ['README.rst'])],
1817
classifiers=[
1918
'Environment :: Console',
2019
'Intended Audience :: Developers',
21-
#'License :: OSI Approved :: GPL License',
20+
'License :: OSI Approved :: MIT License',
2221
'Operating System :: OS Independent',
2322
'Programming Language :: Python',
2423
'Topic :: Software Development :: Libraries :: Python Modules',
24+
'Topic :: Text Processing :: Linguistic',
2525
]
2626
)
File renamed without changes.

tests.py renamed to ttp/tests.py

File renamed without changes.

ttp.py renamed to ttp/ttp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
import re
2424
import urllib
2525

26-
__version__ = "1.0.0"
26+
__version__ = "1.0.0.2"
2727

2828
# Some of this code has been translated from the twitter-text-java library:
2929
# <http://github.com/mzsanford/twitter-text-java>

0 commit comments

Comments
 (0)