Skip to content

Commit

Permalink
Read the README.rst when calling the setup
Browse files Browse the repository at this point in the history
  • Loading branch information
fitodic committed Jun 18, 2017
1 parent 55f7124 commit 47924f0
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@
from setuptools import setup
from codecs import open
from os import path


here = path.abspath(path.dirname(__file__))

# Get the long description from the relevant file
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()

setup(
name='centerline',
version='0.2',
version='0.2.1',
description='Calculate the centerline of a polygon',
long_description='README.rst',
long_description=long_description,
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: MIT License',
Expand Down

0 comments on commit 47924f0

Please sign in to comment.