-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
42 lines (36 loc) · 1.29 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
from setuptools import setup, find_packages
import unittest
import os.path
def get_test_suite():
test_loader = unittest.TestLoader()
test_suite = test_loader.discover('jphelper.tests', pattern='test_*.py')
return test_suite
with open('README.rst', encoding='utf-8') as f:
long_desc = f.read()
setup(
name='jphelper',
packages=find_packages(exclude=['*.tests', '*.tests.*', 'tests.*', 'tests']),
version='0.9.1',
description='A collection of japanese text and number manipulation tools.',
author='Michael Devara',
author_email='michael.devara@gmail.com',
test_suite='setup.get_test_suite',
keywords=['japanese', 'utility', 'utils', 'tools'],
license='MIT',
platforms=['any'],
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'License :: OSI Approved :: MIT License',
'Environment :: Other Environment',
'Natural Language :: Japanese',
'Operating System :: OS Independent',
'Topic :: Utilities'
],
url='https://github.com/michaeldvr/jphelper',
long_description=long_desc,
long_description_content_type='text/markdown; charset=UTF-8; variant=GFM',
python_requires='>=3',
setup_requires=['pytest-runner'],
tests_require=['pytest']
)