Skip to content

Commit

Permalink
fixed import errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jgoldverg committed Sep 24, 2024
1 parent 853d7ba commit 8eb3c0c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions odscli/sdk/measure.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import click
import logging
import os
from odscli.sdk.measure.measure_carbon import traceroute, compute_carbon_per_ip, geo_locate_ips
from odscli.sdk.measure.measure_host_network import begin_measuring
logging.getLogger("scapy.runtime").setLevel(logging.ERROR)
from odscli.sdk.metrics.measure_carbon import traceroute, compute_carbon_per_ip, geo_locate_ips
from odscli.sdk.metrics.measure_host_network import begin_measuring



@click.group('measure_cli')
Expand Down
2 changes: 1 addition & 1 deletion odscli/sdk/metrics/measure_host_network.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from datetime import datetime, timedelta

from odscli.sdk.measure.metrics_pojo import ODS_Metrics
from odscli.sdk.metrics.metrics_pojo import ODS_Metrics


def begin_measuring(file_path, interface, measure_tcp=True, measure_udp=True,
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

setuptools.setup(
name="odscli",
version="1.0.1",
version=version,
author="OneDataShare",
author_email="[email protected]",
description="The onedatashare.org cli",
Expand All @@ -25,7 +25,7 @@
packages=setuptools.find_packages(exclude=['tests']),
entry_points={
'console_scripts': [
'ods = odscli.odscli:main'
'ods = odscli.ods_cli:main'
]
},
install_requires=requirements,
Expand Down

0 comments on commit 8eb3c0c

Please sign in to comment.