Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ pptx-template は pptx のテンプレートを元に、別途用意した JSON
- python 3, pandas, pptx に依存しています
- 扱う json や csv の 文字コードは utf-8 前提です

詳細はこちらを参照してください: GitHub: https://github.com/m3dev/pptx-template

### Text substitution

<img src="docs/01.png?raw=true" width="80%" />
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ This helps your routine reporting work that have many manual copy-paste from exc
- requires python envirionment (3), pandas, python-pptx
- for now, only UTF-8 encoding is supported for json, csv

For further information, please visit GitHub: https://github.com/m3dev/pptx-template

### Text substitution

<img src="docs/01.png?raw=true" width="80%" />
Expand Down
1 change: 0 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ This helps your routine reporting work that have many manual copy-paste from exc
- requires python envirionment (2 or 3), pandas, python-pptx
- for now, only UTF-8 encoding is supported for json, csv

For further information, please visit GitHub: https://github.com/m3dev/pptx-template

changelogs
==========
Expand Down
39 changes: 39 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,3 +1,42 @@

[metadata]
name = pptx-template
version = attr: pptx_template.__version__
description = 'The PowerPoint presentation builder using template.pptx and data(json and csv)',
long_description = file: README.md
long_description_content_type = text/markdown
url = http://github.com/m3dev/pptx-template
author = Reki Murakami
author_email = reki2000@gmail.com
license = Apache-2.0
classifiers =
Development Status :: 3 - Alpha
Topic :: Utilities
Programming Language :: Python :: 2
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
Programming Language :: Python :: 3.5
License :: OSI Approved :: Apache Software License
Operating System :: OS Independent

keywords =
powerpoint
ppt
pptx

[options]
test_suite = test
packages =
pptx_template
install_requires =
python-pptx==0.6.6
pandas >=0.22,<=0.24.0
openpyxl>=2.4.7

[entry_points]
console_scripts =
pptx_template = pptx_template.cli:main

[bdist_wheel]
# This flag says that the code is written to work on both Python 2 and Python
# 3. If at all possible, it is good practice to do this. If you cannot, you
Expand Down
34 changes: 1 addition & 33 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,34 +1,2 @@
from setuptools import setup
import io
import re

with io.open("pptx_template/__init__.py") as ver:
metadata = dict(re.findall("__([a-z]+)__\s*=\s*'([^']+)'", ver.read()))

with io.open('README.rst', encoding='ascii') as fp:
long_description = fp.read()

setup(name='pptx-template',
version=metadata['version'],
description='The PowerPoint presentation builder using template.pptx and data(json and csv)',
long_description=long_description,
url='http://github.com/m3dev/pptx-template',
author='Reki Murakami',
author_email='reki2000@gmail.com',
license='Apache-2.0',
packages=['pptx_template'],
test_suite='test',
install_requires=['python-pptx==0.6.6', 'pandas >=0.22,<=0.24.0', 'openpyxl>=2.4.7'],
keywords=['powerpoint', 'ppt', 'pptx'],
entry_points={ "console_scripts": [ "pptx_template=pptx_template.cli:main"]},
classifiers=[
"Development Status :: 3 - Alpha",
"Topic :: Utilities",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent"
]
)
setup()