Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set package long description #834

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@ recursive-include conf/ *
recursive-include distro/ *
exclude conf/*.conf
include LICENSE
include README.md
include lib/carbon/amqp0-8.xml
include MANIFEST.in
6 changes: 5 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@
'distro/redhat/init.d/carbon-aggregator']) ]
install_files += init_scripts

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

try:
setup(
Expand All @@ -82,7 +85,8 @@
author_email='[email protected]',
license='Apache Software License 2.0',
description='Backend data caching and persistence daemon for Graphite',
long_description='Backend data caching and persistence daemon for Graphite',
long_description=read('README.md'),
long_description_content_type='text/markdown',
packages=['carbon', 'carbon.aggregator', 'twisted.plugins'],
package_dir={'' : 'lib'},
scripts=glob('bin/*'),
Expand Down