Skip to content

Commit

Permalink
setup: Add long_description (readme)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdraw committed May 1, 2023
1 parent 6cd8382 commit 9222e83
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
from setuptools import setup, find_packages


def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()


on_rtd = os.environ.get('READTHEDOCS') == 'True'
if on_rtd:
install_requires = []
Expand All @@ -30,6 +34,8 @@
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
description='Utilities for 3D CNNs in PyTorch',
long_description=read('README.md'),
long_description_content_type='text/markdown',
url='https://github.com/ELEKTRONN/elektronn3',
author='ELEKTRONN team',
license='MIT',
Expand Down

0 comments on commit 9222e83

Please sign in to comment.