-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
39 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
import os
from setuptools import setup, find_packages
VERSION = '0.1.12'
def read(fname):
file_path = os.path.join(os.path.dirname(__file__), fname)
with open(file_path) as file:
content = file.read()
return content if content else 'no content read'
setup(
name="mkdocs-risonia-theme",
version=VERSION,
url='https://unverbuggt.github.io/mkdocs-risonia-theme/',
description='A simple theme for MkDocs using using the w3.css framework and configurable color schemes',
long_description=read('README.md'),
long_description_content_type='text/markdown',
keywords='mkdocs theme python markdown',
license='MIT',
python_requires='>=3.5',
install_requires=[
'mkdocs',
'beautifulsoup4',
],
author='René Rüthlein',
packages=find_packages(),
include_package_data=True,
entry_points={
'mkdocs.themes': [
'risonia = risonia_theme',
],
'mkdocs.plugins': [
'risonia/color-theme = risonia_theme.plugins.color.plugin:W3cssColorTheme',
'risonia/w3css-classes = risonia_theme.plugins.classes.plugin:W3cssClassesPlugin'
]
},
zip_safe=False
)