Skip to content

Commit

Permalink
update v0.2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
taishi-i committed Jul 6, 2020
1 parent 569aa41 commit 21f2413
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 22 deletions.
6 changes: 3 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@
# -- Project information -----------------------------------------------------

project = 'nagisa'
copyright = '2019, Taishi Ikeda'
copyright = '2020, Taishi Ikeda'
author = 'Taishi Ikeda'

# The short X.Y version
version = '0.2.6'
version = '0.2.7'
# The full version, including alpha/beta/rc tags
release = '0.2.6'
release = '0.2.7'


# -- General configuration ---------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion nagisa/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from nagisa.tagger import Tagger
from nagisa.train import fit

version = '0.2.6'
version = '0.2.7'
# Initialize instance
tagger = Tagger()
# Functions
Expand Down
38 changes: 20 additions & 18 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,31 +57,33 @@ def __getitem__(self, ii):
def __len__(self):
return len(self.c_list())


def extensions():
from Cython.Build import cythonize
import numpy
extensions = [Extension('nagisa_utils',
['nagisa/nagisa_utils.pyx'],
include_dirs = [numpy.get_include()])]
include_dirs=[numpy.get_include()])]
return cythonize(extensions)


setup(
name = 'nagisa',
name='nagisa',
packages=['nagisa'],
author = 'Taishi Ikeda',
author_email = 'taishi.ikeda.0323@gmail.com',
version = '0.2.6',
description = 'A Japanese tokenizer based on recurrent neural networks',
long_description_content_type = "text/markdown",
long_description = long_description,
url = 'https://github.com/taishi-i/nagisa',
download_url = 'https://github.com/taishi-i/nagisa/archive/0.2.6.tar.gz',
license = 'MIT License',
platforms = 'Unix',
setup_requires=['six', 'cython', 'numpy',],
install_requires = ['six', 'numpy','DyNet'],
classifiers = classifiers,
include_package_data = True,
test_suite = 'test.nagisa_test.suite',
ext_modules = defer_cythonize(extensions)
author='Taishi Ikeda',
author_email='taishi.ikeda.0323@gmail.com',
version='0.2.7',
description='A Japanese tokenizer based on recurrent neural networks',
long_description_content_type="text/markdown",
long_description=long_description,
url='https://github.com/taishi-i/nagisa',
download_url='https://github.com/taishi-i/nagisa/archive/0.2.7.tar.gz',
license='MIT License',
platforms='Unix',
setup_requires=['six', 'cython', 'numpy'],
install_requires=['six', 'numpy', 'DyNet'],
classifiers=classifiers,
include_package_data=True,
test_suite='test.nagisa_test.suite',
ext_modules=defer_cythonize(extensions)
)

0 comments on commit 21f2413

Please sign in to comment.