1# Copyright 2009-2019, Simon Kennedy, sffjunkie+code@gmail.com
2
3import io
4import os
5from setuptools import setup
6
7import monkeypatch  # noqa: F401
8
9
10def read_contents(*names, **kwargs):
11    return io.open(os.path.join(*names), encoding=kwargs.get("encoding", "utf8")).read()
12
13
14description = "Calculations for the position of the sun and moon."
15try:
16    long_description = read_contents(os.path.dirname(__file__), "README.rst")
17except:  # noqa
18    long_description = description
19
20setup(long_description=long_description)
21