Skip to content

Commit 1ee5873

Browse files
author
Krzysztof Stopa
committed
Solved issue with setup
1 parent 45190ff commit 1ee5873

File tree

4 files changed

+7
-9
lines changed

4 files changed

+7
-9
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.idea/
2+
.eggs/
23
build/
34
dist/
45
example.py

README.md README.rst

+3-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ Or download and type:
1515

1616
You can use the library to get UTC and local time sunrise and sunset times typing:
1717

18-
```python
18+
```python3
19+
1920
import datetime
2021
from suntime import Sun, SunTimeException
2122
@@ -48,6 +49,7 @@ try:
4849
format(abd, abd_sr.strftime('%H:%M'), abd_ss.strftime('%H:%M')))
4950
except SunTimeException as e:
5051
print("Error: {0}.".format(e))
52+
5153
```
5254

5355
## License

setup.py

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
#!/usr/bin/env python
22

33
from setuptools import setup
4-
import suntime
4+
55

66
setup(name='suntime',
7-
version=suntime.__version__,
7+
version='1.2.3',
88
description='Simple sunset and sunrise time calculation python library',
9-
author=suntime.__author__,
10-
author_email=suntime.__email__,
9+
author='Krzysztof Stopa',
1110
url='https://github.com/SatAgro/suntime',
1211
copyright='Copyright 2019 SatAgro',
1312
license='LGPLv3',

suntime/__init__.py

-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1 @@
11
from .suntime import Sun, SunTimeException
2-
3-
__author__ = 'Krzysztof Stopa'
4-
__version__ = '1.2.2'
5-
__email__ = '[email protected]'

0 commit comments

Comments
 (0)