diff options
author | Bernd Zeimetz <bernd@bzed.de> | 2010-04-16 01:18:39 +0200 |
---|---|---|
committer | Bernd Zeimetz <bernd@bzed.de> | 2010-04-16 01:18:39 +0200 |
commit | a7b39ee92ab32385a7985f26906b6055a74074fd (patch) | |
tree | cc21c77f46fa23f6a8f6fb587b63be024f711953 | |
parent | 032f3fa180e4943346b94c5fe23651173d03c5f9 (diff) | |
download | gpsd-a7b39ee92ab32385a7985f26906b6055a74074fd.tar.gz |
Use setup.py to install python scripts.
This ensures that the shebang in the scripts is being updated to the
Python version which was used to run setup.py.
-rw-r--r-- | Makefile.am | 1 | ||||
-rw-r--r-- | setup.py | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index 86f7309c..356b6fbb 100644 --- a/Makefile.am +++ b/Makefile.am @@ -67,7 +67,6 @@ endif PYTHONPAGES_DIST = gpsprof.1 gpsfake.1 gpscat.1 if HAVE_PYTHON -dist_bin_SCRIPTS = gpsprof gpsfake gpscat xgps python_PYTHON = gpscap.py PYTHONPAGES = $(PYTHONPAGES_DIST) endif @@ -63,5 +63,6 @@ setup( name="gpsd", Extension("gps.client", ["gpsclient.c", "geoid.c", "gpsdclient.c", "strl.c"]) ], packages = ['gps'], - data_files=[('bin', ['gpscat','gpsfake','gpsprof'])] + manpages + scripts = ['gpscat','gpsfake','gpsprof', 'xgps'], + data_files= manpages ) |