Add DESCRIPTION.rst explicitly to pip package. Was in whl file, but not source zip.

This commit is contained in:
Jim Miller 2015-08-05 09:05:57 -05:00
parent e97f03a680
commit 668fca6f6e

View file

@ -10,13 +10,11 @@ https://github.com/pypa/sampleproject
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
import codecs
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the relevant file
with open(path.join(here, 'DESCRIPTION.rst'), encoding='utf-8') as f:
with codecs.open('DESCRIPTION.rst', encoding='utf-8') as f:
long_description = f.read()
setup(
@ -25,7 +23,7 @@ setup(
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version="2.2.11.post1",
version="2.2.11.post2",
description='A tool for downloading fanfiction to eBook formats',
long_description=long_description,