You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mipac/setup.py

62 lines
1.6 KiB

2 years ago
import pathlib
from setuptools import setup
import versioneer
10 months ago
description = "A Python wrapper for the Misskey API"
readme_file = pathlib.Path(__file__).parent / "README.md"
with readme_file.open(encoding="utf-8") as fh:
2 years ago
long_description = fh.read()
10 months ago
with open("requirements.txt", "r") as f:
2 years ago
requirements = f.read().splitlines()
extras_require = {
10 months ago
"dev": ["isort", "mypy", "pre-commit", "ruff"],
"ci": ["mypy", "ruff"],
"speed": ["orjson"],
"doc": ["sphinx", "furo", "sphinxcontrib_trio", "sphinx-intl", "numpydoc"],
2 years ago
}
packages = [
10 months ago
"mipac",
"mipac.abstract",
"mipac.actions",
"mipac.actions.admins",
"mipac.actions.drive",
"mipac.actions.users",
10 months ago
"mipac.errors",
"mipac.manager",
"mipac.manager.admins",
"mipac.manager.drive",
"mipac.manager.users",
10 months ago
"mipac.models",
"mipac.models.lite",
"mipac.types",
10 months ago
"mipac.utils",
2 years ago
]
setup(
10 months ago
name="mipac",
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
2 years ago
install_requires=requirements,
10 months ago
url="https://github.com/yupix/mipac",
author="yupix",
author_email="yupi0982@outlook.jp",
license="MIT",
python_requires=">=3.12, <4.0",
2 years ago
description=description,
long_description=long_description,
10 months ago
long_description_content_type="text/markdown",
2 years ago
packages=packages,
classifiers=[
10 months ago
"Development Status :: 2 - Pre-Alpha",
"Programming Language :: Python :: 3.12",
10 months ago
"Natural Language :: Japanese",
"License :: OSI Approved :: MIT License",
2 years ago
],
extras_require=extras_require,
)