Commit 76440756 authored by James Coyle's avatar James Coyle

Renamed all to storjstatus

parent 2cdfb5c3
# StorjStatus Client
[metadata]
description-file = README.md
......@@ -2,17 +2,16 @@
from setuptools import setup
VERSION = '0.1.0'
setup(name='storjalytics-client',
setup(name='storjstatus-client',
version=VERSION,
description='Storj utility for reporting farmer statistics',
license='Apache2',
packages=['storjalytics'],
packages=['storjstatus'],
version='0.2.0',
author='James Coyle',
author_email='[email protected]',
python_requires='>=3.5',
url='https://wwwgit.jamescoyle.net/james.coyle/storjalytics-client',
url='https://www.storjstatus.com/install-client',
install_requires=[
'requests==2.18.4',
'python-crontab==2.2.8',
......@@ -20,8 +19,8 @@ setup(name='storjalytics-client',
],
entry_points={
'console_scripts': [
'storjalytics-register=storjalytics:register',
'storjalytics-send=storjalytics:send'
'storjstatus-register=storjstatus:register',
'storjstatus-send=storjstatus:send'
]
}
)
from storjalytics import storjalytics_send
from storjalytics import storjalytics_register
from storjalytics import storjalytics_common
def send():
storjalytics_send.init_send()
def register():
storjalytics_register.init_register()
from storjstatus import storjstatus_send
from storjstatus import storjstatus_register
from storjstatus import storjstatus_common
def send():
storjstatus_send.init_send()
def register():
storjstatus_register.init_register()
......@@ -2,9 +2,9 @@ import os
import re
import subprocess
VERSION = '0.1.0'
CONFIGFILE = '/etc/storjalytics/config.json'
APIENDPOINT = 'https://storjapi-test.jamescoyle.net/api/'
VERSION = '0.2.0'
CONFIGFILE = '/etc/storjstatus/config.json'
APIENDPOINT = 'https://www.storjstatus.com/api/'
def setup_env():
global ENV
......
......@@ -56,7 +56,7 @@ def init_register():
else:
config_dir = args.arg_config_dir
print('Using config directory :' + config_dir)
# Final check on vars
if not email or len(email) < 5:
print_error('Email address is invalid')
......@@ -114,8 +114,7 @@ def checks():
def header():
print('####################################################')
print('# StorjAlytics Server Registration #')
print('# Written by James Coyle (www.jamescoyle.net) #')
print('# StorjStatus Server Registration #')
print('####################################################')
print()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment