From e49c35abc1b16ba2111a14e6e0bddd462e584e59 Mon Sep 17 00:00:00 2001 From: Patrick Kanzler Date: Tue, 8 Mar 2016 18:26:23 +0100 Subject: [PATCH] PCKG fix setup.py and improve Manifest --- MANIFEST | 8 -------- MANIFEST.in | 11 +++++++++++ doc/.gitignore | 2 +- setup.py | 2 +- 4 files changed, 13 insertions(+), 10 deletions(-) delete mode 100644 MANIFEST create mode 100644 MANIFEST.in diff --git a/MANIFEST b/MANIFEST deleted file mode 100644 index 4a00445..0000000 --- a/MANIFEST +++ /dev/null @@ -1,8 +0,0 @@ -# file GENERATED by distutils, do NOT edit -README -setup.py -escpos/__init__.py -escpos/constants.py -escpos/escpos.py -escpos/exceptions.py -escpos/printer.py diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..997ee7b --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,11 @@ +include *.rst +include *.txt +include COPYING +include INSTALL +include tox.ini +recursive-include doc *.bat +recursive-include doc *.ico +recursive-include doc *.py +recursive-include doc *.rst +recursive-include doc *.txt +recursive-include doc Makefile diff --git a/doc/.gitignore b/doc/.gitignore index b2f10c4..69fa449 100644 --- a/doc/.gitignore +++ b/doc/.gitignore @@ -1 +1 @@ -_build +_build/ diff --git a/setup.py b/setup.py index de7cfac..2727221 100755 --- a/setup.py +++ b/setup.py @@ -44,7 +44,7 @@ setup( download_url='https://github.com/python-escpos/python-escpos/archive/master.zip', description='Python library to manipulate ESC/POS Printers', license='GNU GPL v3', - long_description=read('README'), + long_description=read('README.rst'), author='Manuel F Martinez', author_email='manpaz@bashlinux.com', platforms=['linux'],