config: Move config file
This commit is contained in:
parent
d0f11e3398
commit
664c1c3189
@ -18,7 +18,7 @@ heat_pin = 26
|
||||
|
||||
heat_state = False
|
||||
|
||||
CONFIG_FILE = "/etc/greenhouse/greenhouse.json"
|
||||
CONFIG_FILE = "config/greenhouse.json"
|
||||
|
||||
GPIO.setwarnings(False)
|
||||
GPIO.setmode(GPIO.BCM)
|
||||
|
2
setup.py
2
setup.py
@ -11,7 +11,7 @@ PACKAGES = ['greenhouse']
|
||||
REQUIRES = ['Flask', 'w1thermsensor', 'RPi.GPIO']
|
||||
CONFIG_FOLDER = '/etc/greenhouse'
|
||||
CONFIG_FILE = 'greenhouse.json'
|
||||
PACKAGE_DATA = {'greenhouse': ['templates/*', 'static/css/*', 'static/scripts/*']}
|
||||
PACKAGE_DATA = {'greenhouse': ['templates/*', 'static/css/*', 'static/scripts/*', 'config/*']}
|
||||
|
||||
setup(name=NAME, version=VERSION, long_description=__doc__, author=AUTHOR, author_email=EMAIL,
|
||||
packages=PACKAGES, include_package_data=True, package_data=PACKAGE_DATA, zip_safe=False,
|
||||
|
Loading…
Reference in New Issue
Block a user