666ebfcf8f
Pymetar is a python module and command line tool designed to fetch Metar reports from the NOAA (http://www.noaa.gov) and allow access to the included weather information.
23 lines
830 B
Text
23 lines
830 B
Text
$NetBSD: patch-aa,v 1.1 2014/01/21 13:33:31 wiz Exp $
|
|
|
|
--- setup.py.orig 2012-01-25 14:01:19.000000000 +0000
|
|
+++ setup.py
|
|
@@ -16,6 +16,7 @@
|
|
from distutils.core import setup
|
|
|
|
import pymetar
|
|
+import sys
|
|
|
|
setup(name = "pymetar", version = pymetar.__version__,
|
|
license = "GNU GPL",
|
|
@@ -25,8 +26,8 @@ setup(name = "pymetar", version = pymeta
|
|
url = "http://www.schwarzvogel.de/software-pymetar.shtml",
|
|
packages= [ "" ],
|
|
py_modules=["pymetar"],
|
|
- scripts = [ "bin/pymetar" ],
|
|
- data_files = [("share/doc/pymetar-%s"%pymetar.__version__,
|
|
+ scripts = [ "bin/pymetar" + sys.version[0:3] ],
|
|
+ data_files = [("share/doc/pymetar-%s-%s"%(sys.version[0:3],pymetar.__version__),
|
|
['README', 'COPYING', 'THANKS', 'librarydoc.txt']),
|
|
("share/man/man1", ['pymetar.1'])]
|
|
)
|