-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathsetup.py
40 lines (34 loc) · 1.21 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
import codecs
from setuptools import setup, find_packages
def read_file(filename, cb):
with codecs.open(filename, 'r', 'utf8') as f:
return cb(f)
with open('README.md', encoding='utf-8') as f:
long_description = f.read()
setup(
name='kocrawl',
version='1.0.9',
description='Korean web crawler collections',
long_description=long_description,
long_description_content_type='text/markdown',
author='Hyunwoong Ko',
author_email='[email protected]',
url='https://github.com/Kochat-framework/kocrawl',
packages=find_packages(exclude=[]),
keywords=['crawler', 'korean crawler', 'kochat'],
install_requires=read_file('requirements.txt', lambda f: list(
filter(bool, map(str.strip, f)))),
python_requires='>=3',
package_data={},
zip_safe=False,
classifiers=[
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
],
)