Permalink
Browse files

Rename package to openstax-accounts

  • Loading branch information...
1 parent 435dbe4 commit 4872c0d15473c97e77df403cdb26ce9a67697f97 @karenc committed Mar 12, 2014
@@ -1,5 +1,5 @@
[app:main]
-use = egg:openstax-accounts-pyramid
+use = egg:openstax-accounts
openstax_accounts.server_url = https://localhost:3000/
openstax_accounts.application_id = 940128529654aaaa8826654d3da1b992d815cd4bc2563e13dc66e6b18728dedf
@@ -101,11 +101,11 @@ def main(global_config, **settings):
config.add_route('callback', '/callback')
config.add_route('login', '/login')
config.add_route('logout', '/logout')
- config.scan(ignore='openstax_accounts_pyramid.tests')
+ config.scan(ignore='openstax_accounts.tests')
# use the openstax accounts authentication policy
- config.include('openstax_accounts_pyramid.openstax_accounts.main')
- config.include('openstax_accounts_pyramid.authentication_policy.main')
+ config.include('openstax_accounts.openstax_accounts.main')
+ config.include('openstax_accounts.authentication_policy.main')
# authorization policy must be set if an authentication policy is set
config.set_authorization_policy(ACLAuthorizationPolicy())
View
@@ -1,14 +1,14 @@
from setuptools import setup
setup(
- name='openstax-accounts-pyramid',
+ name='openstax-accounts',
version='0.1',
description='An example pyramid app that connects to openstax/accounts',
long_description=open('README.rst').read(),
author='Karen Chan',
author_email='karen@karen-chan.com',
- url='http://github.com/karenc/openstax-accounts-pyramid',
- packages=['openstax_accounts_pyramid'],
+ url='http://github.com/karenc/openstax-accounts',
+ packages=['openstax_accounts'],
install_requires=(
'PasteDeploy',
'pyramid',
@@ -18,10 +18,10 @@
tests_require=(
'selenium',
),
- test_suite='openstax_accounts_pyramid.tests',
+ test_suite='openstax_accounts.tests',
entry_points={
'paste.app_factory': [
- 'main = openstax_accounts_pyramid.example:main',
+ 'main = openstax_accounts.example:main',
],
},
)

0 comments on commit 4872c0d

Please sign in to comment.