File size: 1,559 Bytes
0a54472
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
# setup.py
from setuptools import setup, find_packages

with open("README.md", encoding="utf-8") as f:
    long_description = f.read()

def read_requirements(file_name):
    with open(file_name, "r", encoding="utf-8") as f:
        return [line.strip() for line in f if line.strip() and not line.startswith("#")]

setup(
    name="summarymaker",
    version="0.2.7",  # Updated version number
    packages=find_packages(where="src"),
    package_dir={"": "src"},
    include_package_data=True,  # This is important for including non-Python files
    install_requires=read_requirements('./requirements.txt'),
    extras_require={
        'dev': [
            'pytest>=7.0',
            'pytest-cov>=4.0',
            'pytest-mock>=3.10.0',
            'requests-mock>=1.11.0',
            'black>=22.0.0',
            'twine>=4.0.0',
            'build>=0.10.0',
            'wheel>=0.36.0',
        ],
    },
    entry_points={
        "console_scripts": [
            "summarymaker=summarizer.cli:main",
        ],
    },
    author="Soonwook Hwang",
    author_email="hwang@kisti.re.kr",
    description="A command-line and web application tool for text summarization",
    long_description=long_description,
    long_description_content_type="text/markdown",
    url="https://github.com/hwang2006/summarymaker",
    classifiers=[
        "Programming Language :: Python :: 3",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
    ],
    python_requires=">=3.7",
)