Mercurial > p > roundup > code
annotate MANIFEST.in @ 5096:e74c3611b138
- issue2550636, issue2550909: Added support for Whoosh indexer.
Also adds new config.ini setting called indexer to select
indexer. See ``doc/upgrading.txt`` for details. Initial patch
done by David Wolever. Patch modified (see ticket or below for
changes), docs updated and committed.
I have an outstanding issue with test/test_indexer.py. I have to
comment out all imports and tests for indexers I don't have (i.e.
mysql, postgres) otherwise no tests run.
With that change made, dbm, sqlite (rdbms), xapian and whoosh indexes
are all passing the indexer tests.
Changes summary:
1) support native back ends dbm and rdbms. (original patch only fell
through to dbm)
2) Developed whoosh stopfilter to not index stopwords or words outside
the the maxlength and minlength limits defined in index_common.py.
Required to pass the extremewords test_indexer test. Also I
removed a call to .lower on the input text as the tokenizer I chose
automatically does the lowercase.
3) Added support for max/min length to find. This was needed to pass
extremewords test.
4) Added back a call to save_index in add_text. This allowed all but
two tests to pass.
5) Fixed a call to:
results = searcher.search(query.Term("identifier", identifier))
which had an extra parameter that is an error under current whoosh.
6) Set limit=None in search call for find() otherwise it only return
10 items. This allowed it to pass manyresults test
Also due to changes in the roundup code removed the call in
indexer_whoosh to
from roundup.anypy.sets_ import set
since we use the python builtin set.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sat, 25 Jun 2016 20:10:03 -0400 |
| parents | 57adf2c4c40f |
| children | 1ee8b7a671e7 |
| rev | line source |
|---|---|
|
4034
39531c28e540
Add 'share' and remove .svn
Stefan Seefeld <stefan@seefeld.name>
parents:
3736
diff
changeset
|
1 recursive-include share * |
|
1591
21312a7564fd
moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
1475
diff
changeset
|
2 recursive-include roundup *.* |
|
1138
4dc74354e8c3
fixed manifest
Richard Jones <richard@users.sourceforge.net>
parents:
795
diff
changeset
|
3 recursive-include frontends *.* |
|
1139
65e9dd4b59e1
pre-beta2 stuff
Richard Jones <richard@users.sourceforge.net>
parents:
1138
diff
changeset
|
4 recursive-include scripts *.* *-* |
|
65e9dd4b59e1
pre-beta2 stuff
Richard Jones <richard@users.sourceforge.net>
parents:
1138
diff
changeset
|
5 recursive-include tools *.* |
|
96
73c52eae999c
Added the distutils manifest template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
6 recursive-include test *.py *.txt |
|
4997
57adf2c4c40f
Cleanup MANIFEST.in (issue2550714)
John Kristensen <john@jerrykan.com>
parents:
4702
diff
changeset
|
7 recursive-include doc *.html *.png *.txt *.css *.example |
|
1475
9f62905246c3
include detectors in distro
Richard Jones <richard@users.sourceforge.net>
parents:
1419
diff
changeset
|
8 recursive-include detectors *.py |
|
4997
57adf2c4c40f
Cleanup MANIFEST.in (issue2550714)
John Kristensen <john@jerrykan.com>
parents:
4702
diff
changeset
|
9 global-exclude *.pyc *.pyo .DS_Store |
|
57adf2c4c40f
Cleanup MANIFEST.in (issue2550714)
John Kristensen <john@jerrykan.com>
parents:
4702
diff
changeset
|
10 include run_tests.py demo.py *.txt |
|
57adf2c4c40f
Cleanup MANIFEST.in (issue2550714)
John Kristensen <john@jerrykan.com>
parents:
4702
diff
changeset
|
11 include doc/conf.py |
|
57adf2c4c40f
Cleanup MANIFEST.in (issue2550714)
John Kristensen <john@jerrykan.com>
parents:
4702
diff
changeset
|
12 exclude 2to3-done.txt |
|
57adf2c4c40f
Cleanup MANIFEST.in (issue2550714)
John Kristensen <john@jerrykan.com>
parents:
4702
diff
changeset
|
13 exclude doc/security.txt |
|
2331
497be1dd5714
source distribution includes compiled message catalogs
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2304
diff
changeset
|
14 include locale/*.po locale/*.mo locale/roundup.pot |
