Skip to content
This repository has been archived by the owner on Dec 23, 2021. It is now read-only.

Commit

Permalink
fixed setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
cehbrecht committed Jul 8, 2019
1 parent ab8a41a commit 82d628d
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,16 @@

from setuptools import setup, find_packages

with open('README.rst') as readme_file:
readme = readme_file.read()

with open('CHANGES.rst') as changes_file:
changes = changes_file.read()
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
CHANGES = open(os.path.join(here, 'CHANGES.rst')).read()

about = {}
with open(os.path.join(here, 'owslib_esgfwps', '__version__.py'), 'r') as f:
exec(f.read(), about)

requirements = [line.strip() for line in open('requirements.txt')]
reqs = [line.strip() for line in open('requirements.txt')]
extra_reqs = [line.strip() for line in open('requirements_dev.txt')]


setup(
Expand All @@ -31,12 +30,14 @@
'Programming Language :: Python :: 3.6',
],
description="OWSLib extension for the ESGF compute WPS profile",
install_requires=requirements,
license="Apache Software License 2.0",
long_description=readme + '\n\n' + changes,
long_description=README + '\n\n' + CHANGES,
url='https://github.com/bird-house/OWSLib-esgfwps',
keywords='owslib extension wps esgf cwt',
author=about['__author__'],
author_email=about['__email__'],
py_modules=['owslib_esgfwps'],
packages=find_packages(),
include_package_data=True,
install_requires=reqs,
extra_requires=extra_reqs,
)

0 comments on commit 82d628d

Please sign in to comment.