Skip to content

Commit 5dd09fc

Browse files
committed
Add basic files
1 parent 843da22 commit 5dd09fc

File tree

6 files changed

+24
-0
lines changed

6 files changed

+24
-0
lines changed

bin/mcps

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/usr/bin/python2
2+
3+
import click
4+
5+
# vim: ft=python

minicps/ui/__init__.py

Whitespace-only changes.

minicps/ui/commands.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
"""
2+
This file contains the commands that can be used (with parameters) both by cli
3+
and gui packages. For example the mcps click cli is using them as subcommands.
4+
5+
This it the list of supported commands:
6+
7+
- init
8+
"""
9+
10+
class Init(object):
11+
12+
"""Docstring for Init. """
13+
14+
def __init__(self):
15+
"""TODO: to be defined. """
16+
pass

requirements-dev.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ cryptography
66
pyasn1
77
pymodbus
88
cpppo
9+
click
910

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ cryptography
44
pyasn1
55
pymodbus
66
cpppo
7+
click

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
# packages=find_packages(exclude=['docs', 'tests*', 'examples', 'temp',
4040
# 'bin']),
4141
# NOTE: for the uses, see requirements for the developer
42+
scripts = ['bin/mcps'],
4243
install_requires=[
4344
'cryptography',
4445
'pyasn1',

0 commit comments

Comments
 (0)