Skip to content

Commit bdbd941

Browse files
committed
Be explicit about packages and README
1 parent e70f0a5 commit bdbd941

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

setup.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,21 @@
1+
"""Setup script for realpython-reader"""
2+
13
import pathlib
2-
from setuptools import find_packages, setup
4+
from setuptools import setup
35

46
# The directory containing this file
57
HERE = pathlib.Path(__file__).parent
68

9+
# The text of the README file
10+
README = (HERE / "README.md").read_text()
11+
712

13+
# This call to setup() does all the work
814
setup(
915
name="realpython-reader",
1016
version="0.0.1",
1117
description="Read Real Python Tutorials",
12-
long_description=(HERE / "README.md").read_text(),
18+
long_description=README,
1319
long_description_content_type="text/markdown",
1420
url="https://github.com/realpython/reader",
1521
author="Real Python",
@@ -20,7 +26,7 @@
2026
"Programming Language :: Python",
2127
"Programming Language :: Python :: 3",
2228
],
23-
packages=find_packages(exclude=("tests",)),
29+
packages=["reader"],
2430
install_requires=["feedparser", "html2text"],
2531
entry_points={
2632
"console_scripts": [

0 commit comments

Comments
 (0)