mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2026-05-05 02:51:48 +02:00
Add DESCRIPTION.rst explicitly to pip package. Was in whl file, but not source zip.
This commit is contained in:
parent
e97f03a680
commit
668fca6f6e
1 changed files with 3 additions and 5 deletions
8
setup.py
8
setup.py
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue