Skip to content

Commit 0d19e79

Browse files
Support Python 3.11
1 parent ad23213 commit 0d19e79

File tree

2 files changed

+35
-37
lines changed

2 files changed

+35
-37
lines changed

.circleci/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
# The executor is the environment in which the steps below will be executed - below will use a python 3.10.2 container
2222
# Change the version below to your required version of python
2323
docker:
24-
- image: cimg/python:3.10.2
24+
- image: cimg/python:3.11.2
2525
# Checkout the code as the first step. This is a dedicated CircleCI step.
2626
# The python orb's install-packages step will install the dependencies from a Pipfile via Pipenv by default.
2727
# Here we're making sure we use just use the system-wide pip. By default it uses the project root's requirements.txt.

setup.py

+34-36
Original file line numberDiff line numberDiff line change
@@ -8,40 +8,38 @@
88
install_requires = [] if pkgutil.find_loader('MeCab') else ['mecab']
99

1010
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)
1313

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-
author_email='[email protected]',
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+
author_email='[email protected]',
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

Comments
 (0)