Browse Source

Rename nilmtools directory to just src

tags/nilmtools-0.5
Jim Paris 8 years ago
parent
commit
ef9277cbff
8 changed files with 8 additions and 7 deletions
  1. +5
    -5
      Makefile
  2. +2
    -1
      setup.py
  3. +0
    -0
      src/__init__.py
  4. +1
    -1
      src/_version.py
  5. +0
    -0
      src/copy.py
  6. +0
    -0
      src/decimate.py
  7. +0
    -0
      src/filter.py
  8. +0
    -0
      src/insert.py

+ 5
- 5
Makefile View File

@@ -1,13 +1,13 @@
all:
@echo "Try 'make install'"

test:
-@nilmtool destroy /lees-compressor/no-leak/raw/4 || true
-@nilmtool destroy /lees-compressor/no-leak/raw/16 || true
-@nilmtool create /lees-compressor/no-leak/raw/4 float32_18 || true
-@nilmtool create /lees-compressor/no-leak/raw/16 float32_18 || true
time python nilmtools/decimate.py -s '2013-02-04 18:10:00' -e '2013-02-04 18:11:00' /lees-compressor/no-leak/raw/1 /lees-compressor/no-leak/raw/4
python nilmtools/decimate.py -s '2013-02-04 18:10:00' -e '2013-02-04 18:11:00' /lees-compressor/no-leak/raw/4 /lees-compressor/no-leak/raw/16

all:
@echo "Try 'make install'"
time python src/decimate.py -s '2013-02-04 18:10:00' -e '2013-02-04 18:11:00' /lees-compressor/no-leak/raw/1 /lees-compressor/no-leak/raw/4
python src/decimate.py -s '2013-02-04 18:10:00' -e '2013-02-04 18:11:00' /lees-compressor/no-leak/raw/4 /lees-compressor/no-leak/raw/16

version:
python setup.py version


+ 2
- 1
setup.py View File

@@ -30,7 +30,7 @@ except ImportError:
# Versioneer manages version numbers from git tags.
# https://github.com/warner/python-versioneer
import versioneer
versioneer.versionfile_source = 'nilmtools/_version.py'
versioneer.versionfile_source = 'src/_version.py'
versioneer.versionfile_build = 'nilmtools/_version.py'
versioneer.tag_prefix = 'nilmtools-'
versioneer.parentdir_prefix = 'nilmtools-'
@@ -65,6 +65,7 @@ setup(name='nilmtools',
],
packages = [ 'nilmtools',
],
package_dir = { 'nilmtools': 'src' },
entry_points = {
'console_scripts': [
'nilm-decimate = nilmtools.decimate:main',


nilmtools/__init__.py → src/__init__.py View File


nilmtools/_version.py → src/_version.py View File

@@ -181,7 +181,7 @@ def versions_from_parentdir(parentdir_prefix, versionfile_source, verbose=False)

tag_prefix = "nilmtools-"
parentdir_prefix = "nilmtools-"
versionfile_source = "nilmtools/_version.py"
versionfile_source = "src/_version.py"

def get_versions(default={"version": "unknown", "full": ""}, verbose=False):
variables = { "refnames": git_refnames, "full": git_full }

nilmtools/copy.py → src/copy.py View File


nilmtools/decimate.py → src/decimate.py View File


nilmtools/filter.py → src/filter.py View File


nilmtools/insert.py → src/insert.py View File


Loading…
Cancel
Save