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") ROOT = $(shell echo "$$PWD")
COVERAGE = $(ROOT)/build/coverage COVERAGE = $(ROOT)/build/coverage
PACKAGE = edx_analytics_api_client PACKAGE = analyticsclient
DATABASES = default analytics DATABASES = default analytics
validate: test.requirements test quality validate: test.requirements test quality
......
...@@ -13,7 +13,7 @@ class Course(object): ...@@ -13,7 +13,7 @@ class Course(object):
Arguments: 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 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. it is represented in the data pipeline results.
......
from edx_analytics_api_client.client import ClientError from analyticsclient.client import ClientError
class Status(object): class Status(object):
...@@ -8,7 +8,7 @@ class Status(object): ...@@ -8,7 +8,7 @@ class Status(object):
Arguments: 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): ...@@ -18,7 +18,7 @@ class Status(object):
Arguments: 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 self.client = client
......
from edx_analytics_api_client.client import Client, ClientError from analyticsclient.client import Client, ClientError
class InMemoryClient(Client): class InMemoryClient(Client):
......
...@@ -3,7 +3,7 @@ from unittest import TestCase ...@@ -3,7 +3,7 @@ from unittest import TestCase
import httpretty import httpretty
from edx_analytics_api_client.client import RestClient, ClientError from analyticsclient.client import RestClient, ClientError
class RestClientTest(TestCase): class RestClientTest(TestCase):
......
from unittest import TestCase from unittest import TestCase
from edx_analytics_api_client.course import Course from analyticsclient.course import Course
from edx_analytics_api_client.tests import InMemoryClient from analyticsclient.tests import InMemoryClient
class CourseTest(TestCase): class CourseTest(TestCase):
......
from unittest import TestCase from unittest import TestCase
from edx_analytics_api_client.status import Status from analyticsclient.status import Status
from edx_analytics_api_client.tests import InMemoryClient from analyticsclient.tests import InMemoryClient
class StatusTest(TestCase): class StatusTest(TestCase):
......
...@@ -3,7 +3,7 @@ from distutils.core import setup ...@@ -3,7 +3,7 @@ from distutils.core import setup
setup( setup(
name='edx-analytics-api-client', name='edx-analytics-api-client',
version='0.1.0', version='0.1.0',
packages=['edx_analytics_api_client'], packages=['analyticsclient'],
url='https://github.com/edx/edx-analytics-api-client', url='https://github.com/edx/edx-analytics-api-client',
description='Client used to access edX analytics data warehouse', description='Client used to access edX analytics data warehouse',
long_description=open('README.rst').read(), 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