Skip to content

Commit

Permalink
Fix formatting error in README.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
jonas-eschle committed Nov 17, 2020
1 parent 221a600 commit 0f24b03
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
4 changes: 0 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -225,13 +225,9 @@ The results of all physics validation performed by the ``tests_physics.py`` test
.. _RapidSim: https://github.com/gcowan/RapidSim/



Contributing
============

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

.. _Contributing guide: CONTRIBUTING.rst



2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ maintainer_email = [email protected]
description = TensorFlow implementation of the Raubold and Lynch method for n-body events
;install_requires = file: requirements.txt
license = BSD 3-Clause
long_description = file: README.rst, CHANGELOG.rst
;long_description = file: README.rst
keywords = TensorFlow, phasespace, HEP
url = https://github.com/zfit/phasespace
classifiers =
Expand Down
7 changes: 7 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@

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

with open(os.path.join(here, 'README.rst'), encoding='utf-8') as readme_file:
readme = readme_file.read()

with open(os.path.join(here, 'CHANGELOG.rst'), encoding='utf-8') as history_file:
history = history_file.read()

with open(os.path.join(here, 'requirements.txt'), encoding='utf-8') as requirements_file:
requirements = requirements_file.read().splitlines()

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

setup(
long_description=readme.replace(":math:", "") + '\n\n' + history,
install_requires=requirements,
tests_require=test_requirements,
extras_require={
Expand Down

0 comments on commit 0f24b03

Please sign in to comment.