EvaluationEfficiencyOptimiz.../davisAPI/PyWeather/setup.py

48 lines
1.4 KiB
Python
Raw Normal View History

2024-10-08 17:47:23 +04:00
#! /usr/bin/env python
#
# PyWeather
# (c) 2010 Patrick C. McGinty <pyweather@tuxcoder.com>
# (c) 2005 Christopher Blunck <chris@wxnet.org>
#
# 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="pyweather@tuxcoder.com, chris@wxnet.org",
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'],
)