forked from myint/rst2beamer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·54 lines (46 loc) · 1.55 KB
/
Copy pathsetup.py
File metadata and controls
executable file
·54 lines (46 loc) · 1.55 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
51
52
53
54
#!/usr/bin/env python
"""Installer for rst2beamer."""
import ast
import os
from setuptools import setup
def version():
"""Return version string."""
with open('rst2beamer.py') as input_file:
for line in input_file:
if line.startswith('__version__'):
return ast.parse(line).body[0].value.s
with open('README.rst') as readme:
with open(os.path.join('docs', 'HISTORY.rst')) as history:
DESCRIPTION = readme.read() + '\n' + history.read()
setup(
name='rst2beamer3k',
version=version(),
description='A docutils writer and script for converting restructured '
'text to the Beamer presentation format',
long_description=DESCRIPTION,
classifiers=[
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: GNU General Public License (GPL)',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Topic :: Text Processing :: Markup',
'Topic :: Utilities',
'Topic :: Multimedia :: Graphics :: Presentation',
],
keywords='presentation docutils rst restructured-text',
author='Ryan Krauss & Paul-Michael Agapow',
author_email='ryanwkrauss@gmail.com, agapow@bbsrc.ac.uk',
url='https://github.com/myint/rst2beamer',
license='GPL',
py_modules=['rst2beamer'],
zip_safe=False,
install_requires=[
'docutils',
],
entry_points={
'console_scripts': [
'rst2beamer = rst2beamer:main',
]
}
)