Commit 5f86255c by Carlos Andrés Rocha

Merge pull request #1 from rocha/rename-package

Rename package to be consistent with the service
parents 7fc47722 41c8bd98
ROOT = $(shell echo "$$PWD")
COVERAGE = $(ROOT)/build/coverage
PACKAGE = edx_analytics_api_client
PACKAGE = analyticsclient
DATABASES = default analytics
validate: test.requirements test quality
......
......@@ -13,7 +13,7 @@ class Course(object):
Arguments:
client (edx_analytics_api_client.client.Client): The client to use to access remote resources.
client (analyticsclient.client.Client): The client to use to access remote resources.
course_key (mixed): An object that when passed to unicode() returns the unique identifier for the course as
it is represented in the data pipeline results.
......
from edx_analytics_api_client.client import ClientError
from analyticsclient.client import ClientError
class Status(object):
......@@ -8,7 +8,7 @@ class Status(object):
Arguments:
client (edx_analytics_api_client.client.Client): The client to use to access remote resources.
client (analyticsclient.client.Client): The client to use to access remote resources.
"""
......@@ -18,7 +18,7 @@ class Status(object):
Arguments:
client (edx_analytics_api_client.client.Client): The client to use to access remote resources.
client (analyticsclient.client.Client): The client to use to access remote resources.
"""
self.client = client
......
from edx_analytics_api_client.client import Client, ClientError
from analyticsclient.client import Client, ClientError
class InMemoryClient(Client):
......
......@@ -3,7 +3,7 @@ from unittest import TestCase
import httpretty
from edx_analytics_api_client.client import RestClient, ClientError
from analyticsclient.client import RestClient, ClientError
class RestClientTest(TestCase):
......
from unittest import TestCase
from edx_analytics_api_client.course import Course
from edx_analytics_api_client.tests import InMemoryClient
from analyticsclient.course import Course
from analyticsclient.tests import InMemoryClient
class CourseTest(TestCase):
......
from unittest import TestCase
from edx_analytics_api_client.status import Status
from edx_analytics_api_client.tests import InMemoryClient
from analyticsclient.status import Status
from analyticsclient.tests import InMemoryClient
class StatusTest(TestCase):
......
......@@ -3,7 +3,7 @@ from distutils.core import setup
setup(
name='edx-analytics-api-client',
version='0.1.0',
packages=['edx_analytics_api_client'],
packages=['analyticsclient'],
url='https://github.com/edx/edx-analytics-api-client',
description='Client used to access edX analytics data warehouse',
long_description=open('README.rst').read(),
......
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