Skip to content

Commit

Permalink
Merge pull request #483 from mesosphere/fix-#482
Browse files Browse the repository at this point in the history
remove dcos dependency on dcoscli
  • Loading branch information
tamarrow committed Feb 22, 2016
2 parents 83bdfa1 + cf4d53d commit b8a9395
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dcos/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def _save_auth_keys(key_dict):
section = 'core'
config_schema = json.loads(
pkg_resources.resource_string(
'dcoscli',
'dcos',
'data/config-schema/core.json').decode('utf-8'))
for k, v in iteritems(key_dict):
python_value = jsonitem.parse_json_value(k, v, config_schema)
Expand Down
2 changes: 1 addition & 1 deletion dcos/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ def get_config_schema(command):
if command == "core":
return json.loads(
pkg_resources.resource_string(
'dcoscli',
'dcos',
'data/config-schema/core.json').decode('utf-8'))

executable = subcommand.command_executables(command)
Expand Down
File renamed without changes.
6 changes: 6 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,10 @@
'six>=1.9, <2.0',
'toml>=0.9, <1.0',
],

package_data={
'dcos': [
'data/config-schema/core.json',
],
},
)

0 comments on commit b8a9395

Please sign in to comment.