You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

53 lines
1.8 KiB

  1. #!/usr/bin/python
  2. # To release a new version, tag it:
  3. # git tag -a nilmtools-1.1 -m "Version 1.1"
  4. # git push --tags
  5. # Then just package it up:
  6. # python setup.py sdist
  7. import sys
  8. import os
  9. from setuptools import setup
  10. # Versioneer manages version numbers from git tags.
  11. # https://github.com/warner/python-versioneer
  12. import versioneer
  13. # Get list of requirements to use in `install_requires` below. Note
  14. # that we don't make a distinction between things that are actually
  15. # required for end-users vs developers (or use `test_requires` or
  16. # anything else) -- just install everything for simplicity.
  17. install_requires = open('requirements.txt').readlines()
  18. # Run setup
  19. setup(name='nilmtools',
  20. version = versioneer.get_version(),
  21. cmdclass = versioneer.get_cmdclass(),
  22. url = 'https://git.jim.sh/nilm/nilmtools.git',
  23. author = 'Jim Paris',
  24. description = "NILM Database Tools",
  25. long_description = "NILM Database Tools",
  26. license = "Proprietary",
  27. author_email = 'jim@jtan.com',
  28. install_requires = install_requires,
  29. packages = [ 'nilmtools',
  30. ],
  31. entry_points = {
  32. 'console_scripts': [
  33. 'nilm-decimate = nilmtools.decimate:main',
  34. 'nilm-decimate-auto = nilmtools.decimate_auto:main',
  35. 'nilm-insert = nilmtools.insert:main',
  36. 'nilm-copy = nilmtools.copy_one:main',
  37. 'nilm-prep = nilmtools.prep:main',
  38. 'nilm-copy-wildcard = nilmtools.copy_wildcard:main',
  39. 'nilm-sinefit = nilmtools.sinefit:main',
  40. 'nilm-cleanup = nilmtools.cleanup:main',
  41. 'nilm-median = nilmtools.median:main',
  42. 'nilm-trainola = nilmtools.trainola:main',
  43. 'nilm-pipewatch = nilmtools.pipewatch:main',
  44. ],
  45. },
  46. zip_safe = False,
  47. )