Skip to content

Commit

Permalink
v0.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ikegami-yukino committed Oct 28, 2016
1 parent 1196fa2 commit 4d2028e
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 14 deletions.
5 changes: 5 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
CHANGES
=======

0.3.2 (2016-10-28)
----------------

- FMIndex.search() returns list

0.3 (2014-11-24)
----------------

Expand Down
26 changes: 14 additions & 12 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# -*- coding: utf-8 -*-
from codecs import open
import os
import re
from setuptools import setup, Extension
Expand All @@ -7,27 +8,28 @@

shellinford_cc = glob.glob('cpp_src/*.cc')
shellinford_headers = glob.glob('cpp_src/*.h')
with open(os.path.join('shellinford', '__init__.py'), 'r') as f:
with open(os.path.join('shellinford', '__init__.py'), 'r', encoding='utf8') as f:
version = re.compile(
r".*__version__ = '(.*?)'", re.S).match(f.read()).group(1)
r".*__version__ = '(.*?)'", re.S).match(f.read()).group(1)

setup (
name = 'shellinford',
version = version,
author = "Yukino Ikegami",
setup(
name='shellinford',
version=version,
author="Yukino Ikegami",
author_email='[email protected]',
url='https://github.com/ikegami-yukino/shellinford-python',
description = """Wavelet Matrix/Tree succinct data structure for full text search (using shellinford C++ library)""",
long_description = open('README.rst').read() + "\n" + open('CHANGES.rst').read(),
keywords = ['full text search', 'FM-index', 'Wavelet Matrix'],
description="""Wavelet Matrix/Tree succinct data structure for full text search (using shellinford C++ library)""",
long_description='%s\n\n%s' % (open('README.rst', encoding='utf8').read(),
open('CHANGES.rst', encoding='utf8').read()),
keywords=['full text search', 'FM-index', 'Wavelet Matrix'],

ext_modules = [
ext_modules=[
Extension(
'_shellinford',
sources=['shellinford_wrap.cxx'] + shellinford_cc,
include_dirs=['cpp_src'],
depends=shellinford_headers,
language = "c++"
language="c++"
),
],

Expand All @@ -48,5 +50,5 @@
'Topic :: Scientific/Engineering :: Information Analysis',
'Topic :: Text Processing :: Linguistic',
'Topic :: Text Processing :: Indexing'
],
],
)
4 changes: 2 additions & 2 deletions shellinford/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from . import shellinford

VERSION = (0, 3, 1)
__version__ = '0.3.1'
VERSION = (0, 3, 2)
__version__ = '0.3.2'
__all__ = ['FMIndex', 'bit_vector', 'bwt']

FMIndex = shellinford.FMIndex
Expand Down

0 comments on commit 4d2028e

Please sign in to comment.