forked from purarue/HPI_API
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
32 lines (29 loc) · 1.07 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
import io
from setuptools import setup, find_packages
from typing import List
requirements: List[str] = ["logzero", "click", "flask", "more_itertools", "orjson"]
# Use the README.md content for the long description:
with io.open("README.md", encoding="utf-8") as fo:
long_description = fo.read()
setup(
name="my_api",
version="0.1.0",
url="https://github.com/seanbreckenridge/HPI_API",
author="Sean Breckenridge",
author_email="[email protected]",
description=("""An automatic JSON API for HPI"""),
long_description=long_description,
long_description_content_type="text/markdown",
license="MIT",
packages=find_packages(include=["my_api"]),
install_requires=requirements,
keywords="data server",
entry_points={"console_scripts": ["hpi_api = my_api.__main__:main"]},
classifiers=[
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
],
)