forked from snowballstem/pystemmer
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Some tidying up, and support python 2.3 by avoiding use of the "set" …
…object; thanks to Thomas Waldmann for pointing that out. git-svn-id: svn+userv://snowball.tartarus.org/snowball/trunk/pystemmer@383 633ccae0-01f4-0310-8c99-d3591da6f01f
- Loading branch information
Showing
6 changed files
with
50 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Mon Jun 19 07:51:38 BST 2006 Richard Boulton <[email protected]> | ||
|
||
* setup.py: fix setup.py to work with python 2.3: don't use "set", | ||
which doesn't exist before python 2.4. | ||
* Stemmer.pyx: Add module-level "version()" function, to determine | ||
version of Stemmer. General tidying up, too. | ||
* Bump version number to 1.0.1 | ||
|
||
Sun Jun 11 22:22:00 BST 2006 Richard Boulton <[email protected]> | ||
|
||
* Release initial package of PyStemmer, version 1.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
Release checklist | ||
================= | ||
|
||
* Update ChangeLog to describe what's changed. | ||
|
||
* Increase the version number. | ||
|
||
* Check that version string in setup.py matches that in Stemmer.pyx | ||
|
||
* Run ./makedist.sh to build and test package. | ||
|
||
* Copy generated package to website, in wrappers subdirectory. | ||
|
||
* Update the following pages to point to the latest package: | ||
* download.php | ||
* wrappers/guide.html | ||
|
||
* Update the package entry on PyPI, using "python setup.py register" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,16 +11,18 @@ | |
|
||
# Directory which libstemmer sources are unpacked in. | ||
library_dir = 'libstemmer_c' | ||
|
||
# Directories in libstemmer which contain libstemmer sources (ie, not | ||
# examples, etc). | ||
library_core_dirs = set(('src_c', 'runtime', 'libstemmer', 'include')) | ||
library_core_dirs = ('src_c', 'runtime', 'libstemmer', 'include') | ||
|
||
# Read the manifest of files in libstemmer. | ||
src_files = [os.path.join(library_dir, line.strip()) | ||
for line in open(os.path.join(library_dir, 'MANIFEST')) | ||
if len(line.strip()) > 2 | ||
and line.strip()[-2:] == '.c' | ||
and os.path.split(line.strip())[0] in library_core_dirs] | ||
|
||
# Set the include path to include libstemmer. | ||
include_dirs = ('src', os.path.join(library_dir, 'include')) | ||
|
||
|
@@ -57,14 +59,15 @@ | |
""".strip() | ||
|
||
version_str = '1.0.1' | ||
setup(name = 'PyStemmer', | ||
version = '1.0', | ||
version = version_str, | ||
author = 'Richard Boulton', | ||
author_email = '[email protected]', | ||
maintainer = 'Richard Boulton', | ||
maintainer_email = '[email protected]', | ||
url = 'http://snowball.tartarus.org/', | ||
download_url = 'http://snowball.tartarus.org/wrappers/PyStemmer-1.0.tar.gz', | ||
download_url = 'http://snowball.tartarus.org/wrappers/PyStemmer-%s.tar.gz' % version_str, | ||
description = 'Snowball stemming algorithms, for information retrieval', | ||
long_description = long_description, | ||
platforms = ["any"], | ||
|
@@ -108,3 +111,4 @@ | |
include_dirs = include_dirs)], | ||
cmdclass = cmdclass | ||
) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters