-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
61 lines (49 loc) · 1.67 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
from setuptools import find_packages
def _load_requires_from_file(filepath):
return [pkg_name.rstrip('\n')
for pkg_name in open(filepath).readlines()]
def _install_requires():
requires = _load_requires_from_file('requirements.txt')
return requires
def _test_requires():
test_requires = _load_requires_from_file('test-requirements.txt')
return test_requires
def main():
description = 'Japanese kanji lint'
setup(
name='kanjilint',
version='0.0.1',
description=description,
long_description=description,
classifiers=[
"Development Status :: 1 - Planning",
"Programming Language :: Python",
"Intended Audience :: Developers",
"Operating System :: POSIX",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
],
author='momijiame',
author_email='[email protected]',
url='https://github.com/momijiame/kanjilint',
zip_safe=False,
include_package_data=True,
packages=find_packages(),
install_requires=_install_requires(),
tests_require=_test_requires(),
setup_requires=[],
test_suite='nose.collector',
entry_points={
'console_scripts': [
'kanjilint = kanjilint.cmd.kanjilint_cmd:main',
],
}
)
if __name__ == '__main__':
main()