pillar-server → pillar
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
from pillar_server.extension import PillarExtension
|
from pillar.extension import PillarExtension
|
||||||
|
|
||||||
from .modules import blueprint
|
from .modules import blueprint
|
||||||
|
|
||||||
@@ -6,7 +6,7 @@ from .modules import blueprint
|
|||||||
class AttractExtension(PillarExtension):
|
class AttractExtension(PillarExtension):
|
||||||
@property
|
@property
|
||||||
def name(self):
|
def name(self):
|
||||||
return 'attract'
|
return 'Attract'
|
||||||
|
|
||||||
def flask_config(self):
|
def flask_config(self):
|
||||||
"""Returns extension-specific defaults for the Flask configuration.
|
"""Returns extension-specific defaults for the Flask configuration.
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
from flask import Blueprint
|
from flask import Blueprint
|
||||||
from pillar_server.utils import jsonify
|
from pillar.api.utils import jsonify
|
||||||
|
|
||||||
blueprint = Blueprint('attract', __name__)
|
blueprint = Blueprint('attract', __name__)
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
# Primary requirements:
|
# Primary requirements:
|
||||||
pillar-server==2.0
|
pillar
|
||||||
|
|
||||||
# Testing requirements:
|
# Testing requirements:
|
||||||
pytest==2.9.2
|
pytest==2.9.2
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
from pillar_server import PillarServer
|
from pillar import PillarServer
|
||||||
from attract_server import AttractExtension
|
from attract_server import AttractExtension
|
||||||
|
|
||||||
app = PillarServer('.')
|
app = PillarServer('.')
|
||||||
|
2
setup.py
2
setup.py
@@ -9,7 +9,7 @@ setuptools.setup(
|
|||||||
version='1.0',
|
version='1.0',
|
||||||
packages=setuptools.find_packages('.', exclude=['test']),
|
packages=setuptools.find_packages('.', exclude=['test']),
|
||||||
install_requires=[
|
install_requires=[
|
||||||
'pillar-server>=2.0',
|
'pillar>=2.0',
|
||||||
],
|
],
|
||||||
tests_require=[
|
tests_require=[
|
||||||
'pytest>=2.9.1',
|
'pytest>=2.9.1',
|
||||||
|
Reference in New Issue
Block a user