diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index 5aef279..0000000 --- a/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[metadata] -description-file = README.rst diff --git a/setup.py b/setup.py index fee33b8..93c3af9 100644 --- a/setup.py +++ b/setup.py @@ -1,9 +1,14 @@ #!/usr/bin/env python -from os.path import join +from os.path import dirname, join from setuptools import setup, find_packages +def read(file_name): + with open(join(dirname(__file__), file_name)) as file_object: + return file_object.read() + + name = 'geokey-cartodb' version = __import__(name.replace('-', '_')).__version__ repository = join('https://github.com/ExCiteS', name) @@ -12,6 +17,7 @@ name=name, version=version, description='Provides API endpoints for CartoDB', + long_description=read('README.rst'), url=repository, download_url=join(repository, 'tarball', version), author='ExCiteS',