<gh_stars>0
# -*- coding: utf-8 -*-
from setuptools import find_packages, setup
from os import path as os_path
import time
this_directory = os_path.abspath(os_path.dirname(__file__))

# 读取文件内容
def read_file(filename):
    with open(os_path.join(this_directory, filename), encoding='utf-8') as f:
        long_description = f.read()
    return long_description

# 获取依赖
def read_requirements(filename):
    return [line.strip() for line in read_file(filename).splitlines()
            if not line.startswith('#')]
# long_description="""

# 这里是说明
# 一个从ｈｔｍｌ中提取正文的库

# """

long_description=read_file("README.md")
setup(
    name='tkitreadability', #修改包名字
    version='0.0.0.3',
    description='Terry toolkit tkitreadability',
    author='<NAME>',
    author_email='<EMAIL>',
    url='https://www.terrychan.org/tkitreadability/',
    # install_requires=read_requirements('requirements.txt'),  # 指定需要安装的依赖
    long_description=long_description,
    long_description_content_type="text/markdown",
    install_requires=[
        'html2text==2020.1.16',
        'readability_lxml==0.8.1'


    ],
    packages=['tkitreadability'])

"""
pip freeze > requirements.txt

python3 setup.py sdist
#python3 setup.py install
python3 setup.py sdist upload
"""
# -*- coding: utf-8 -*-
from setuptools import find_packages, setup
from os import path as os_path
import time
this_directory = os_path.abspath(os_path.dirname(__file__))

# 读取文件内容
def read_file(filename):
    with open(os_path.join(this_directory, filename), encoding='utf-8') as f:
        long_description = f.read()
    return long_description

# 获取依赖
def read_requirements(filename):
    return [line.strip() for line in read_file(filename).splitlines()
            if not line.startswith('#')]
# long_description="""

# 这里是说明
# 一个从ｈｔｍｌ中提取正文的库

# """

long_description=read_file("README.md")
setup(
    name='tkitreadability', #修改包名字
    version='0.0.0.3',
    description='Terry toolkit tkitreadability',
    author='<NAME>',
    author_email='<EMAIL>',
    url='https://www.terrychan.org/tkitreadability/',
    # install_requires=read_requirements('requirements.txt'),  # 指定需要安装的依赖
    long_description=long_description,
    long_description_content_type="text/markdown",
    install_requires=[
        'html2text==2020.1.16',
        'readability_lxml==0.8.1'


    ],
    packages=['tkitreadability'])

"""
pip freeze > requirements.txt

python3 setup.py sdist
#python3 setup.py install
python3 setup.py sdist upload
"""
# -*- coding: utf-8 -*- # 读取文件内容 # 获取依赖 # long_description=""" # 这里是说明 # 一个从ｈｔｍｌ中提取正文的库 # """ #修改包名字 # install_requires=read_requirements('requirements.txt'),  # 指定需要安装的依赖 pip freeze > requirements.txt
 
 python3 setup.py sdist
 #python3 setup.py install
 python3 setup.py sdist upload