-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsetup.py
52 lines (47 loc) · 1.44 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
43
44
45
46
47
48
49
50
51
52
#!/bin/python3
# coding: utf-8
"""sphinxmark setup file."""
# To use a consistent encoding
from codecs import open
from os import path
from setuptools import setup
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, "README.rst"), encoding="utf-8") as f:
long_description = f.read()
setup(
name="sphinxmark",
version="1.0.0",
description="A Sphinx extension that enables watermarks for HTML output.",
long_description=long_description,
url="https://github.com/kallimachos/sphinxmark",
author="Brian Moss",
author_email="[email protected]",
license="Apache 2.0",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Topic :: Documentation :: Sphinx",
"Framework :: Sphinx :: Extension",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
keywords="sphinx documentation watermark",
packages=["sphinxmark"],
package_data={
"sphinxmark": [
"watermark-draft.png",
"border.tpl",
"watermark.tpl",
"arial.ttf",
],
},
install_requires=[
"bottle",
"Pillow",
"sphinx",
],
)