Skip to content

Commit 48c4dcb

Browse files
authored
Merge pull request #38 from m3dev/add_desc
add long description
2 parents 1e956fe + 684ffd2 commit 48c4dcb

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

setup.py

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
11
from setuptools import setup, find_packages
2+
from codecs import open
3+
from os import path
24

3-
readme_note = """\
4-
.. note::
5-
6-
For the latest source, discussion, etc, please visit the
7-
`GitHub repository <https://github.com/m3dev/redshells>`_\n\n
8-
"""
9-
10-
with open('README.md') as f:
11-
long_description = readme_note + f.read()
5+
here = path.abspath(path.dirname(__file__))
6+
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
7+
long_description = f.read()
128

139
install_requires = [
1410
'luigi',
@@ -30,6 +26,7 @@
3026
setup_requires=['setuptools_scm'],
3127
description='Tasks which are defined using gokart.TaskOnKart. The tasks can be used with data pipeline library "luigi".',
3228
long_description=long_description,
29+
long_description_content_type="text/markdown",
3330
author='M3, inc.',
3431
url='https://github.com/m3dev/redshells',
3532
license='MIT License',

0 commit comments

Comments
 (0)