Browse Source

Fix #! at top of shell scripts for py3 and venvs

tags/nilmtools-2.0.0
Jim Paris 11 months ago
parent
commit
78dc640444
15 changed files with 15 additions and 15 deletions
  1. +1
    -1
      nilmtools/cleanup.py
  2. +1
    -1
      nilmtools/copy_one.py
  3. +1
    -1
      nilmtools/copy_wildcard.py
  4. +1
    -1
      nilmtools/decimate.py
  5. +1
    -1
      nilmtools/decimate_auto.py
  6. +1
    -1
      nilmtools/filter.py
  7. +1
    -1
      nilmtools/insert.py
  8. +1
    -1
      nilmtools/math.py
  9. +1
    -1
      nilmtools/median.py
  10. +1
    -1
      nilmtools/pipewatch.py
  11. +1
    -1
      nilmtools/prep.py
  12. +1
    -1
      nilmtools/sinefit.py
  13. +1
    -1
      nilmtools/trainola.py
  14. +1
    -1
      setup.py
  15. +1
    -1
      tests/runtests.py

+ 1
- 1
nilmtools/cleanup.py View File

@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3

from nilmdb.utils.printf import *
from nilmdb.utils.time import (parse_time, timestamp_to_human,


+ 1
- 1
nilmtools/copy_one.py View File

@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3

# This is called copy_one instead of copy to avoid name conflicts with
# the Python standard library.


+ 1
- 1
nilmtools/copy_wildcard.py View File

@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3

# Copy streams between NilmDB servers with wildcards



+ 1
- 1
nilmtools/decimate.py View File

@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3

import nilmtools.filter
import nilmdb.client


+ 1
- 1
nilmtools/decimate_auto.py View File

@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3

import os
import nilmtools.filter


+ 1
- 1
nilmtools/filter.py View File

@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3

import nilmdb.client
from nilmdb.client import Client


+ 1
- 1
nilmtools/insert.py View File

@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3

import nilmdb.client
from nilmdb.utils.printf import *


+ 1
- 1
nilmtools/math.py View File

@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3

# Miscellaenous useful mathematical functions
from nilmdb.utils.printf import *


+ 1
- 1
nilmtools/median.py View File

@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3
import nilmtools.filter, scipy.signal

def main(argv = None):


+ 1
- 1
nilmtools/pipewatch.py View File

@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3

import nilmdb.client
from nilmdb.utils.printf import *


+ 1
- 1
nilmtools/prep.py View File

@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3

# Spectral envelope preprocessor.
# Requires two streams as input: the original raw data, and sinefit data.


+ 1
- 1
nilmtools/sinefit.py View File

@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3

# Sine wave fitting.
from nilmdb.utils.printf import *


+ 1
- 1
nilmtools/trainola.py View File

@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3

from nilmdb.utils.printf import *
import nilmdb.client


+ 1
- 1
setup.py View File

@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3

# To release a new version, tag it:
# git tag -a nilmtools-1.1 -m "Version 1.1"


+ 1
- 1
tests/runtests.py View File

@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3

import nose
import os


Loading…
Cancel
Save