Skip to content

Commit

Permalink
Use pypandoc to upload README to pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
Cimbali committed Jan 30, 2017
1 parent f89d820 commit d0056f7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions cxfreeze_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

from cx_Freeze import setup, Executable
import os, site, sys, importlib
import pypandoc
import glob

IS_POSIX = os.name == 'posix'
Expand Down Expand Up @@ -127,6 +128,7 @@
setup(name='pympress',
version=pkg_meta.__version__,
description='A simple dual-screen PDF reader designed for presentations',
long_description = pypandoc.convert_file('README.md', 'rst'),
author='Cimbali, Thomas Jost, Christof Rath, Epithumia',
author_email='[email protected]',
url='https://github.com/Cimbali/pympress/',
Expand Down
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[metadata]
description-file = README.md
[bdist_wheel]
universal=1
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,15 @@

from setuptools import setup
import glob, sys, os.path, importlib
import pypandoc

#get version
pkg_meta = importlib.import_module('pympress.__init__')

setup(name='pympress',
version=pkg_meta.__version__,
description='A simple dual-screen PDF reader designed for presentations',
long_description = pypandoc.convert_file('README.md', 'rst'),
author='Cimbali, Thomas Jost, Christof Rath, Epithumia',
author_email='[email protected]',
url='https://github.com/Cimbali/pympress/',
Expand Down

0 comments on commit d0056f7

Please sign in to comment.