Skip to content

Commit

Permalink
Back to md readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Krzysztof Stopa committed May 5, 2019
1 parent 1ee5873 commit 49fe6ea
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 0 additions & 2 deletions README.rst → README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ Or download and type:
You can use the library to get UTC and local time sunrise and sunset times typing:

```python3
import datetime
from suntime import Sun, SunTimeException

Expand Down Expand Up @@ -49,7 +48,6 @@ try:
format(abd, abd_sr.strftime('%H:%M'), abd_ss.strftime('%H:%M')))
except SunTimeException as e:
print("Error: {0}.".format(e))
```

## License
Expand Down
9 changes: 8 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,16 @@
from setuptools import setup


# read the contents of your README file
from os import path
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md')) as f:
long_description = f.read()

setup(name='suntime',
version='1.2.3',
version='1.2.4',
description='Simple sunset and sunrise time calculation python library',
long_description=long_description,
author='Krzysztof Stopa',
url='https://github.com/SatAgro/suntime',
copyright='Copyright 2019 SatAgro',
Expand Down

0 comments on commit 49fe6ea

Please sign in to comment.