forked from clayrisser/sphinx-jekyll-builder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
65 lines (47 loc) · 1.75 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
53
54
55
56
57
58
59
60
61
62
63
64
65
from codecs import open
from os import path
from setuptools import setup, find_packages
from subprocess import check_output
here = path.abspath(path.dirname(__file__))
check_output(
'pandoc --from=markdown --to=rst --output=' + path.join(here, 'README.rst') + ' ' + path.join(here, 'README.md'),
shell=True
)
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
install_requires = list()
with open(path.join(here, 'requirements.txt'), 'r', encoding='utf-8') as f:
for line in f.readlines():
install_requires.append(line)
setup(
name='sphinx-jekyll-builder',
version='0.3.0',
description='sphinx builder that outputs jekyll compatible markdown files with frontmatter',
long_description=long_description,
url='https://github.com/codejamninja/sphinx-jekyll-builder',
author='Jam Risser',
author_email='jam@codejam.ninja',
license='MIT',
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Topic :: Utilities',
'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',
],
keywords='sphinx docs documentation jekyll',
packages=find_packages(exclude=['contrib', 'docs', 'tests']),
install_requires=install_requires,
include_package_data=True,
entry_points = {
'sphinx.builders': [
'jekyll = sphinx_jekyll_builder',
],
}
)