-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
30 lines (25 loc) · 1.02 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
from os import listdir
import setuptools
def read_text(file_name: str) -> str:
with open(file_name, "r") as f:
return f.read()
setuptools.setup(
name="micropython-typesheds",
version="7.5.3",
url="https://github.com/hlovatt/PyBoardTypeshed",
license="MIT License", # Can only have one line `license`; setuptools bug.
author="Howard C Lovatt",
author_email="[email protected]",
description="Typesheds (a.k.a.: interface stubs, `pyi` files, and type hints) for MicroPython.",
long_description=read_text("README.md"),
long_description_content_type="text/markdown",
py_modules=["micropython_typesheds"],
platforms=["any"],
python_requires=">=3.8",
classifiers=[ # These must have a space either side of `::`, despite PyPI website giving them without!
"Intended Audience :: Developers",
"Programming Language :: Python :: Implementation :: MicroPython",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
)