Skip to content

Commit ba12dcc

Browse files
committed
Use the RADME on PyPI
1 parent e087a3b commit ba12dcc

3 files changed

Lines changed: 7 additions & 29 deletions

File tree

.github/workflows/python-app.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- name: Build docs with sphinx
3434
if: "matrix.python-version == '3.8'"
3535
run: |
36-
pip install -U sphinx sphinx_rtd_theme
36+
pip install -r docs/requirements.txt
3737
sphinx-build -W -b html docs docs/_build/html
3838
- name: Build packages
3939
if: "matrix.python-version == '3.8'"

docs/requirements.txt

Lines changed: 2 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,2 @@
1-
# What we want
2-
Sphinx==6.2.1
3-
4-
# What we get
5-
alabaster==0.7.13
6-
Babel==2.12.1
7-
certifi==2023.7.22
8-
charset-normalizer==3.2.0
9-
docutils==0.19
10-
idna==3.4
11-
imagesize==1.4.1
12-
importlib-metadata==6.8.0
13-
Jinja2==3.1.3
14-
MarkupSafe==2.1.3
15-
packaging==23.1
16-
Pygments==2.16.1
17-
pytz==2023.3
18-
requests==2.31.0
19-
snowballstemmer==2.2.0
20-
sphinxcontrib-applehelp==1.0.4
21-
sphinxcontrib-devhelp==1.0.2
22-
sphinxcontrib-htmlhelp==2.0.1
23-
sphinxcontrib-jsmath==1.0.1
24-
sphinxcontrib-qthelp==1.0.3
25-
sphinxcontrib-serializinghtml==1.1.5
26-
urllib3==2.0.7
27-
zipp==3.16.2
1+
Sphinx
2+
sphinx_rtd_theme

setup.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,14 @@
1515

1616
description = "Pure Python reader/writer for Dan J. Berstein's CDB format."
1717

18+
with open('README.rst', 'rt') as f:
19+
long_description = f.read()
20+
1821
setup(
1922
author='David Wilson',
2023
author_email='dw@botanicus.net',
2124
description=description,
22-
long_description=description,
25+
long_description=long_description,
2326
long_description_content_type='text/x-rst',
2427
download_url='https://github.com/dw/python-pure-cdb',
2528
keywords='cdb file format appengine database db',

0 commit comments

Comments
 (0)