Merge branch 'master' of github.com:internetarchive/brozzler

* 'master' of github.com:internetarchive/brozzler:
  Ensure job_schema.yaml is installed by pip
This commit is contained in:
Noah Levitt 2016-10-13 15:00:13 -07:00
commit 23b59f8f4e
3 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ import cerberus
import urllib
def load_schema():
schema_file = os.path.join(os.path.dirname(__file__), 'job_schema.yml')
schema_file = os.path.join(os.path.dirname(__file__), 'job_schema.yaml')
with open(schema_file) as f:
return yaml.load(f)

View File

@ -41,7 +41,7 @@ setuptools.setup(
license='Apache License 2.0',
packages=['brozzler', 'brozzler.webconsole'],
package_data={
'brozzler': ['behaviors.d/*.js*', 'behaviors.yaml'],
'brozzler': ['behaviors.d/*.js*', 'behaviors.yaml', 'job_schema.yaml'],
'brozzler.webconsole': find_package_data('brozzler.webconsole'),
},
entry_points={