Skip to content

Commit 0f24b03

Browse files
committed
Fix formatting error in README.rst
1 parent 221a600 commit 0f24b03

3 files changed

Lines changed: 8 additions & 5 deletions

File tree

README.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -225,13 +225,9 @@ The results of all physics validation performed by the ``tests_physics.py`` test
225225
.. _RapidSim: https://github.com/gcowan/RapidSim/
226226

227227

228-
229228
Contributing
230229
============
231230

232231
Contributions are always welcome, please have a look at the `Contributing guide`_.
233232

234233
.. _Contributing guide: CONTRIBUTING.rst
235-
236-
237-

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ maintainer_email = zfit@physik.uzh.ch
2929
description = TensorFlow implementation of the Raubold and Lynch method for n-body events
3030
;install_requires = file: requirements.txt
3131
license = BSD 3-Clause
32-
long_description = file: README.rst, CHANGELOG.rst
32+
;long_description = file: README.rst
3333
keywords = TensorFlow, phasespace, HEP
3434
url = https://github.com/zfit/phasespace
3535
classifiers =

setup.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@
99

1010
here = os.path.abspath(os.path.dirname(__file__))
1111

12+
with open(os.path.join(here, 'README.rst'), encoding='utf-8') as readme_file:
13+
readme = readme_file.read()
14+
15+
with open(os.path.join(here, 'CHANGELOG.rst'), encoding='utf-8') as history_file:
16+
history = history_file.read()
17+
1218
with open(os.path.join(here, 'requirements.txt'), encoding='utf-8') as requirements_file:
1319
requirements = requirements_file.read().splitlines()
1420

@@ -24,6 +30,7 @@
2430
test_requirements = requirements_dev[requirements_dev_split + 1:] # +1: skip empty line
2531

2632
setup(
33+
long_description=readme.replace(":math:", "") + '\n\n' + history,
2734
install_requires=requirements,
2835
tests_require=test_requirements,
2936
extras_require={

0 commit comments

Comments
 (0)