summaryrefslogtreecommitdiff
path: root/setup.py
blob: 54b3ae27d698229bed77cd3ebc976f087d5554a7 (plain)
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
import setuptools

with open("README.md", "r") as f:
    long_description = f.read()


def requirements():
    lines = []
    with open("requirements.txt") as f:
        for line in f.readlines():
            line = line.strip()
            lines.append(line)

    return sorted(list(set(lines)))


setuptools.setup(
    name="frest",
    version="0.1.5-1",
    author="Santo Cariotti",
    description="Write REST API quickly",
    long_description=long_description,
    long_description_content_type="text/markdown",
    url="https://github.com/dcariotti/frest",
    packages=setuptools.find_packages(),
    install_requires=requirements(),
    package_data={"frest": ["templates/*.txt"]},
    classifiers=[
        "Programming Language :: Python :: 3",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
    ],
    python_requires=">=3.6",
    scripts=["bin/frest"],
)