-
Notifications
You must be signed in to change notification settings - Fork 35
/
Copy pathsetup.py
47 lines (43 loc) · 1.36 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#! /usr/bin/env python
#
# PyWeather
# (c) 2010 Patrick C. McGinty <[email protected]>
# (c) 2005 Christopher Blunck <[email protected]>
#
# You're welcome to redistribute this software under the
# terms of the GNU General Public Licence version 2.0
# or, at your option, any higher version.
#
# You can read the complete GNU GPL in the file COPYING
# which should come along with this software, or visit
# the Free Software Foundation's WEB site http://www.fsf.org
#
import os
from distutils.core import setup
from pathlib import Path
import weather as pkg
name = pkg.__name__
this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text()
setup(name=name,
version=pkg.__version__,
license="GNU GPL",
description=pkg.__doc__,
long_description = long_description,
long_description_content_type="text/markdown",
author="Patrick C. McGinty, Christopher Blunck",
author_email="[email protected], [email protected]",
url="http://github.com/cmcginty/PyWeather",
download_url="https://github.com/cmcginty/PyWeather/archive/%s.zip" %
pkg.__version__,
packages=[
name,
name + '.services',
name + '.stations',
name + '.units',
],
install_requires=[
'pyserial==3.5'
],
scripts=['scripts/weatherpub.py'],
)