-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathsetup.py
More file actions
50 lines (44 loc) · 1.49 KB
/
Copy pathsetup.py
File metadata and controls
50 lines (44 loc) · 1.49 KB
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
43
44
45
46
47
48
49
50
# Standard library imports
from setuptools import setup, find_packages
# Local imports
import sphinx_reload
def read(filename):
with open(filename) as stream:
return stream.read()
metadata = dict({
"name": "sphinx-reload",
"author": "P. Raj Kumar",
"author_email": "raj.pritvi.kumar@gmail.com",
"version": sphinx_reload.__version__,
"url": "https://github.com/prkumar/sphinx-reload",
"license": "MIT",
"description": "Live preview your Sphinx documentation",
"long_description": read("README.rst"),
"classifiers": [
"Development Status :: 2 - Pre-Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Topic :: Software Development :: Documentation"
],
"keywords": "sphinx live preview sync reload documentation",
"install_requires": [
"livereload >= 2.5.1",
],
"py_modules": ["sphinx_reload"],
"entry_points": {
"console_scripts": [
"sphinx-reload = sphinx_reload:main"
]
}
})
if __name__ == "__main__":
setup(**metadata)