-
Notifications
You must be signed in to change notification settings - Fork 20
/
setup.py
38 lines (34 loc) · 1.22 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
import os
from setuptools import setup
with open(os.path.join(os.path.abspath(os.path.dirname(__file__)), "README.rst")) as f:
long_description = f.read()
version = {}
with open(os.path.join(os.path.abspath(os.path.dirname(__file__)), "rstfmt/_version.py")) as f:
exec(f.read(), version)
setup(
name="rstfmt",
version=version["__version__"],
author="Danny Zhu",
author_email="[email protected]",
url="https://github.com/dzhu/rstfmt",
description="A formatter for reStructuredText",
long_description=long_description,
long_description_content_type="text/x-rst",
license="MIT",
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Topic :: Documentation",
"Topic :: Documentation :: Sphinx",
"Topic :: Software Development :: Documentation",
],
packages=["rstfmt"],
python_requires=">=3.7",
install_requires=["black>=22.1.0", "docutils>=0.12", "sphinx>=2.4.0"],
extras_require={"d": ["aiohttp>=3.3.2"]},
entry_points={
"console_scripts": ["rstfmt = rstfmt.__main__:main", "rstfmtd = rstfmt.server:main [d]"]
},
)