|
8 | 8 | install_requires = [] if pkgutil.find_loader('MeCab') else ['mecab']
|
9 | 9 |
|
10 | 10 | with open(os.path.join('oseti', '__init__.py'), 'r', encoding='utf8') as f:
|
11 |
| - version = re.compile( |
12 |
| - r".*__version__ = '(.*?)'", re.S).match(f.read()).group(1) |
| 11 | + version = re.compile(r".*__version__ = '(.*?)'", |
| 12 | + re.S).match(f.read()).group(1) |
13 | 13 |
|
14 |
| -setup( |
15 |
| - name='oseti', |
16 |
| - packages=['oseti'], |
17 |
| - version=version, |
18 |
| - license='MIT License', |
19 |
| - platforms=['POSIX', 'Windows', 'Unix', 'MacOS'], |
20 |
| - description='Dictionary based Sentiment Analysis for Japanese', |
21 |
| - author='Yukino Ikegami', |
22 |
| - |
23 |
| - url='https://github.com/ikegami-yukino/oseti', |
24 |
| - keywords=['sentiment analysis'], |
25 |
| - classifiers=[ |
26 |
| - 'Development Status :: 3 - Alpha', |
27 |
| - 'Intended Audience :: Developers', |
28 |
| - 'Intended Audience :: Information Technology', |
29 |
| - 'License :: OSI Approved :: MIT License', |
30 |
| - 'Natural Language :: Japanese', |
31 |
| - 'Programming Language :: Python :: 3.4', |
32 |
| - 'Programming Language :: Python :: 3.5', |
33 |
| - 'Programming Language :: Python :: 3.6', |
34 |
| - 'Programming Language :: Python :: 3.7', |
35 |
| - 'Programming Language :: Python :: 3.8', |
36 |
| - 'Programming Language :: Python :: 3.9', |
37 |
| - 'Programming Language :: Python :: 3.10', |
38 |
| - 'Topic :: Text Processing :: Linguistic' |
39 |
| - ], |
40 |
| - long_description='%s\n\n%s' % (open('README.rst', encoding='utf8').read(), |
41 |
| - open('CHANGES.rst', encoding='utf8').read() |
42 |
| - ), |
43 |
| - package_data={'oseti': ['dic/*.json']}, |
44 |
| - install_requires=['bunkai'] + install_requires, |
45 |
| - tests_require=['pytest'], |
46 |
| - test_suite='pytest' |
47 |
| -) |
| 14 | +setup(name='oseti', |
| 15 | + packages=['oseti'], |
| 16 | + version=version, |
| 17 | + license='MIT License', |
| 18 | + platforms=['POSIX', 'Windows', 'Unix', 'MacOS'], |
| 19 | + description='Dictionary based Sentiment Analysis for Japanese', |
| 20 | + author='Yukino Ikegami', |
| 21 | + |
| 22 | + url='https://github.com/ikegami-yukino/oseti', |
| 23 | + keywords=['sentiment analysis'], |
| 24 | + classifiers=[ |
| 25 | + 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', |
| 26 | + 'Intended Audience :: Information Technology', |
| 27 | + 'License :: OSI Approved :: MIT License', |
| 28 | + 'Natural Language :: Japanese', |
| 29 | + 'Programming Language :: Python :: 3.4', |
| 30 | + 'Programming Language :: Python :: 3.5', |
| 31 | + 'Programming Language :: Python :: 3.6', |
| 32 | + 'Programming Language :: Python :: 3.7', |
| 33 | + 'Programming Language :: Python :: 3.8', |
| 34 | + 'Programming Language :: Python :: 3.9', |
| 35 | + 'Programming Language :: Python :: 3.10', |
| 36 | + 'Programming Language :: Python :: 3.11', |
| 37 | + 'Topic :: Text Processing :: Linguistic' |
| 38 | + ], |
| 39 | + long_description='%s\n\n%s' % |
| 40 | + (open('README.rst', encoding='utf8').read(), |
| 41 | + open('CHANGES.rst', encoding='utf8').read()), |
| 42 | + package_data={'oseti': ['dic/*.json']}, |
| 43 | + install_requires=['bunkai'] + install_requires, |
| 44 | + tests_require=['pytest'], |
| 45 | + test_suite='pytest') |
0 commit comments