forked from yupix/MiPA
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
42 lines (36 loc) · 1.17 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
33
34
35
36
37
38
39
40
41
42
import pathlib
from setuptools import setup
import versioneer
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:
long_description = fh.read()
with open('requirements.txt', 'r') as f:
requirements = f.read().splitlines()
extras_require = {
'dev': ['axblack', 'isort', 'mypy', 'flake8'],
'ci': ['flake8', 'mypy'],
}
packages = ['mipa', 'mipa.ext', 'mipa.ext.commands', 'mipa.ext.tasks']
setup(
name='mipa',
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
install_requires=requirements,
url='https://github.com/yupix/MiPA',
author='yupix',
author_email='[email protected]',
license='MIT',
python_requires='>=3.11, <4.0',
description=description,
long_description=long_description,
long_description_content_type='text/markdown',
packages=packages,
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Programming Language :: Python :: 3.11',
'Natural Language :: Japanese',
'License :: OSI Approved :: MIT License',
],
extras_require=extras_require,
)