Skip to content

Commit

Permalink
Add long description to setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
klarh committed May 13, 2018
1 parent 44245dd commit 260df77
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@
with open('pythia/version.py') as version_file:
exec(version_file.read())

long_description_lines = []
with open('README.rst', 'r') as readme:
for line in readme:
if line.startswith('Contents'):
break
long_description_lines.append(line)
long_description = ''.join(long_description_lines)

setup(name='pythia-learn',
author='Matthew Spellings',
author_email='mspells@umich.edu',
Expand All @@ -18,6 +26,7 @@
description='Machine learning fingerprints for particle environments',
install_requires=['numpy', 'scipy'],
license='BSD',
long_description=long_description,
package_dir={'pythia': 'pythia'},
packages=['pythia'],
project_urls={
Expand Down

0 comments on commit 260df77

Please sign in to comment.