Imported from archive.
* Release 1.3. * FAQ: Update to clarify that specifying an id won't automatically provide a city and st to get the accompanying forecast. * weather: Provided a consistent means for relocating weather.py to a private location; thanks to Mark Tran for pointing out a conflict with pyweather in ArchLinux (and presumably other distros as well). * weather.py: Upped the version to 1.3.
This commit is contained in:
8
weather
8
weather
@@ -1,11 +1,17 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
# weather version 1.2, http://fungi.yuggoth.org/weather/
|
||||
# weather version 1.3, http://fungi.yuggoth.org/weather/
|
||||
# Copyright (c) 2006 Jeremy Stanley <fungi@yuggoth.org>, all rights reserved.
|
||||
# Licensed per terms in the LICENSE file distributed with this software.
|
||||
|
||||
"""Wrapper utility using the weather.py module."""
|
||||
|
||||
# added so distributors can consistently specify a private module location
|
||||
private_module_path = None
|
||||
if private_module_path:
|
||||
import sys
|
||||
sys.path.insert(1, private_module_path)
|
||||
|
||||
import weather
|
||||
|
||||
# initialize options and configs
|
||||
|
||||
Reference in New Issue
Block a user