Skip to content

Commit 26df682

Browse files
committed
Added long_description parameter to python setup.
1 parent 4c2c3b8 commit 26df682

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

setup.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,23 @@
1+
from codecs import open
2+
from os import path
3+
14
from setuptools import find_packages, setup
25

6+
here = path.abspath(path.dirname(__file__))
7+
8+
# Get the long description from the README file
9+
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
10+
long_description = f.read()
11+
312
setup(
413
name='django-raster',
514
version='0.6',
615
url='https://github.com/geodesign/django-raster',
716
author='Daniel Wiesmann',
817
author_email='[email protected]',
918
description='Raster file implementation for Django based on PostGis',
19+
long_description=long_description,
20+
long_description_content_type='text/x-rst',
1021
license='BSD',
1122
packages=find_packages(exclude=('tests', )),
1223
include_package_data=True,

0 commit comments

Comments
 (0)