Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
liberty
tool
Liberty CLI
Commits
8cd48df4
Commit
8cd48df4
authored
Mar 03, 2020
by
David Seaward
Browse files
Move data folder so that it is accessible after packaging.
Signed-off-by:
David Seaward
<
david.seaward@puri.sm
>
parent
7294fd47
Changes
6
Hide whitespace changes
Inline
Side-by-side
Pipfile
View file @
8cd48df4
...
...
@@ -12,6 +12,7 @@ sh = ">=1.12.14, <2.0"
PyGObject
=
">
=
3.32
.
0
,
<
4.0
"
[dev-packages]
setuptools-git
=
"*"
twine
=
"*"
[dev-packages.e1839a8]
...
...
Pipfile.lock
View file @
8cd48df4
{
"_meta"
:
{
"hash"
:
{
"sha256"
:
"
d127c7a1986fe03e454ffe0659028b0a42827324934666ba2a2f0ac3e9f021d0
"
"sha256"
:
"
7ae4a1e6b87f2ab0b8c903bd82a227c037527b0e0d744207e87519e61a42f89b
"
},
"pipfile-spec"
:
6
,
"requires"
:
{},
...
...
@@ -354,6 +354,14 @@
"markers"
:
"sys_platform == 'linux'"
,
"version"
:
"==3.1.2"
},
"setuptools-git"
:
{
"hashes"
:
[
"sha256:e7764dccce7d97b4b5a330d7b966aac6f9ac026385743fd6cedad553f2494cfa"
,
"sha256:ff64136da01aabba76ae88b050e7197918d8b2139ccbf6144e14d472b9c40445"
],
"index"
:
"pypi"
,
"version"
:
"==1.2"
},
"sh"
:
{
"hashes"
:
[
"sha256:ae3258c5249493cebe73cb4e18253a41ed69262484bad36fdb3efcb8ad8870bb"
,
...
...
@@ -400,10 +408,10 @@
},
"zipp"
:
{
"hashes"
:
[
"sha256:
12248a63bbdf7548f89cb4c7cda4681e537031eda29c02ea29674bc6854460c2
"
,
"sha256:
7c0f8e91abc0dc07a5068f315c52cb30c66bfbc581e5b50704c8a2f6ebae794a
"
"sha256:
aa36550ff0c0b7ef7fa639055d797116ee891440eac1a56f378e2d3179e0320b
"
,
"sha256:
c599e4d75c98f6798c509911d08a22e6c021d074469042177c8c86fb92eefd96
"
],
"version"
:
"==3.
0
.0"
"version"
:
"==3.
1
.0"
}
}
}
ldh_client/__init__.py
View file @
8cd48df4
...
...
@@ -6,7 +6,7 @@ import pkg_resources
import
ruamel.yaml
as
yaml
default_yaml
=
pkg_resources
.
resource_string
(
__name__
,
"
../
data/default.strict.yaml"
__name__
,
"data/default.strict.yaml"
).
decode
(
"utf-8"
)
DEFAULT
=
yaml
.
safe_load
(
default_yaml
)
data/default.strict.yaml
→
ldh_client/
data/default.strict.yaml
View file @
8cd48df4
File moved
liberty.py
View file @
8cd48df4
...
...
@@ -17,6 +17,7 @@ def cli(ctx):
@
cli
.
command
()
def
debug
():
"""Display debug info, useful in bug reports."""
import
pkg_resources
import
sys
...
...
setup.cfg
View file @
8cd48df4
[metadata]
name = ldh_client
version = 0.0.
6
version = 0.0.
7
description = Liberty CLI is a user-facing command-line client for interacting with Librem One or another Liberty Deckplan Host (LDH).
long_description = file: README.md
long_description_content_type = text/markdown; charset=UTF-8
...
...
@@ -30,7 +30,3 @@ scripts = liberty.py
[options.entry_points]
console_scripts =
liberty = liberty:cli
[options.data_files]
. =
data/default.strict.yaml
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment