Commit 591d86a9 by Muddasser

Changed setup.py to ensure page objects have all the files needed when installed

parent a240780b
......@@ -12,10 +12,10 @@ DESCRIPTION = "Bok-choy page objects for edx-platform"
# Pip 1.5 will try to install this package from outside
# the directory containing setup.py, so we need to use an absolute path.
PAGES_PACKAGE_DIR = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'pages')
ACCEPTANCE_PACKAGE_DIR = os.path.join(os.path.dirname(os.path.realpath(__file__)))
setup(
name='edxapp-pages',
name='edxapp-acceptance',
version=VERSION,
author='edX',
url='http://github.com/edx/edx-platform',
......@@ -30,6 +30,11 @@ setup(
'Topic :: Software Development :: Testing',
'Topic :: Software Development :: Quality Assurance'
],
package_dir={'edxapp_pages': PAGES_PACKAGE_DIR},
packages=['edxapp_pages', 'edxapp_pages.lms', 'edxapp_pages.studio']
package_dir={'edxapp_acceptance': ACCEPTANCE_PACKAGE_DIR},
packages=['edxapp_acceptance',
'edxapp_acceptance.pages',
'edxapp_acceptance.pages.lms',
'edxapp_acceptance.pages.studio',
'edxapp_acceptance.pages.common',
'edxapp_acceptance.tests']
)
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