mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-02-24 08:39:59 -05:00
Ensure job_schema.yaml is installed by pip
Use .yaml file extension for consistency with behaviors.yaml.
This commit is contained in:
parent
59a15d7f5c
commit
0fe2ef9387
@ -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)
|
||||
|
||||
|
2
setup.py
2
setup.py
@ -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={
|
||||
|
Loading…
x
Reference in New Issue
Block a user