Skip to content

Commit

Permalink
Pass README.md -> long_description on PyPI
Browse files Browse the repository at this point in the history
  • Loading branch information
steinnes committed Jun 27, 2019
1 parent 8a7fdaf commit 4c372ee
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import codecs
import fastentrypoints
import os

from setuptools import setup
import fastentrypoints


try:
# pip >= 10
Expand All @@ -24,10 +27,17 @@ def get_requirements():
return [str(req.req) for req in requirements]


def read(fname):
file_path = os.path.join(os.path.dirname(__file__), fname)
return codecs.open(file_path, encoding='utf-8').read()


setup(
name='ebenv',
version='0.3.0',
description='AWS Elastic Beanstalk environment dumper/extractor.',
long_description=read('README.md'),
long_description_content_type='text/markdown',
url='https://github.com/steinnes/ebenv',
author='Steinn Eldjarn Sigurdarson',
author_email='[email protected]',
Expand Down

0 comments on commit 4c372ee

Please sign in to comment.