mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-06-20 12:54:23 -04:00
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:
commit
23b59f8f4e
3 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@ import cerberus
|
||||||
import urllib
|
import urllib
|
||||||
|
|
||||||
def load_schema():
|
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:
|
with open(schema_file) as f:
|
||||||
return yaml.load(f)
|
return yaml.load(f)
|
||||||
|
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -41,7 +41,7 @@ setuptools.setup(
|
||||||
license='Apache License 2.0',
|
license='Apache License 2.0',
|
||||||
packages=['brozzler', 'brozzler.webconsole'],
|
packages=['brozzler', 'brozzler.webconsole'],
|
||||||
package_data={
|
package_data={
|
||||||
'brozzler': ['behaviors.d/*.js*', 'behaviors.yaml'],
|
'brozzler': ['behaviors.d/*.js*', 'behaviors.yaml', 'job_schema.yaml'],
|
||||||
'brozzler.webconsole': find_package_data('brozzler.webconsole'),
|
'brozzler.webconsole': find_package_data('brozzler.webconsole'),
|
||||||
},
|
},
|
||||||
entry_points={
|
entry_points={
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue