Skip to content

Commit 22e8348

Browse files
set package long description
1 parent c3b06cc commit 22e8348

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
include LICENSE
2+
include README.md
23
include MANIFEST.in
34
include check-dependencies.py
45
include examples/*

setup.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,10 @@
7171
conf_files = [ ('conf', glob('conf/*.example')) ]
7272
examples = [ ('examples', glob('examples/example-*')) ]
7373

74+
def read(fname):
75+
with open(os.path.join(os.path.dirname(__file__), fname)) as f:
76+
return f.read()
77+
7478
try:
7579
setup(
7680
name='graphite-web',
@@ -80,6 +84,8 @@
8084
author_email='[email protected]',
8185
license='Apache Software License 2.0',
8286
description='Enterprise scalable realtime graphing',
87+
long_description=read('README.md'),
88+
long_description_content_type='text/markdown',
8389
package_dir={'' : 'webapp'},
8490
packages=[
8591
'graphite',

0 commit comments

Comments
 (0)