2020-08-05 17:04:28 -04:00
|
|
|
#!/usr/bin/env python3
|
2013-03-11 18:06:55 -04:00
|
|
|
|
|
|
|
# To release a new version, tag it:
|
|
|
|
# git tag -a nilmtools-1.1 -m "Version 1.1"
|
|
|
|
# git push --tags
|
|
|
|
# Then just package it up:
|
|
|
|
# python setup.py sdist
|
|
|
|
|
|
|
|
import sys
|
|
|
|
import os
|
2020-08-04 10:42:00 -04:00
|
|
|
from setuptools import setup
|
2013-03-11 18:06:55 -04:00
|
|
|
|
|
|
|
# Versioneer manages version numbers from git tags.
|
|
|
|
# https://github.com/warner/python-versioneer
|
|
|
|
import versioneer
|
|
|
|
|
2020-08-04 10:42:00 -04:00
|
|
|
# Get list of requirements to use in `install_requires` below. Note
|
|
|
|
# that we don't make a distinction between things that are actually
|
|
|
|
# required for end-users vs developers (or use `test_requires` or
|
|
|
|
# anything else) -- just install everything for simplicity.
|
|
|
|
install_requires = open('requirements.txt').readlines()
|
2013-03-11 18:06:55 -04:00
|
|
|
|
|
|
|
# Run setup
|
|
|
|
setup(name='nilmtools',
|
|
|
|
version = versioneer.get_version(),
|
|
|
|
cmdclass = versioneer.get_cmdclass(),
|
2020-08-04 10:42:00 -04:00
|
|
|
url = 'https://git.jim.sh/nilm/nilmtools.git',
|
2013-03-11 18:06:55 -04:00
|
|
|
author = 'Jim Paris',
|
|
|
|
description = "NILM Database Tools",
|
|
|
|
long_description = "NILM Database Tools",
|
|
|
|
license = "Proprietary",
|
|
|
|
author_email = 'jim@jtan.com',
|
2020-08-04 10:42:00 -04:00
|
|
|
install_requires = install_requires,
|
2013-03-11 18:06:55 -04:00
|
|
|
packages = [ 'nilmtools',
|
|
|
|
],
|
|
|
|
entry_points = {
|
|
|
|
'console_scripts': [
|
|
|
|
'nilm-decimate = nilmtools.decimate:main',
|
2013-04-02 16:13:44 -04:00
|
|
|
'nilm-decimate-auto = nilmtools.decimate_auto:main',
|
2013-03-11 18:06:55 -04:00
|
|
|
'nilm-insert = nilmtools.insert:main',
|
2013-04-04 14:52:27 -04:00
|
|
|
'nilm-copy = nilmtools.copy_one:main',
|
2013-04-04 19:07:15 -04:00
|
|
|
'nilm-prep = nilmtools.prep:main',
|
2013-04-04 14:53:30 -04:00
|
|
|
'nilm-copy-wildcard = nilmtools.copy_wildcard:main',
|
2013-03-30 22:53:29 -04:00
|
|
|
'nilm-sinefit = nilmtools.sinefit:main',
|
2013-04-09 19:43:41 -04:00
|
|
|
'nilm-cleanup = nilmtools.cleanup:main',
|
2013-05-08 23:36:50 -04:00
|
|
|
'nilm-median = nilmtools.median:main',
|
2013-07-09 16:53:47 -04:00
|
|
|
'nilm-trainola = nilmtools.trainola:main',
|
2013-07-29 14:58:15 -04:00
|
|
|
'nilm-pipewatch = nilmtools.pipewatch:main',
|
2013-03-11 18:06:55 -04:00
|
|
|
],
|
|
|
|
},
|
|
|
|
zip_safe = False,
|
|
|
|
)
|