added xontribs

This commit is contained in:
Anthony Scopatz 2016-05-09 23:40:45 -04:00
parent 0f328b42d5
commit 88046265dc
3 changed files with 23 additions and 0 deletions

View file

@ -136,6 +136,8 @@ def main():
platforms='Cross Platform',
classifiers=['Programming Language :: Python :: 3'],
packages=['xonsh', 'xonsh.ptk', 'xonsh.parsers', 'xontrib'],
package_dir={'xonsh': 'xonsh', 'xontrib': 'xontrib'},
package_data={'xonsh': ['*.json'], 'xontrib': ['*.xsh']},
cmdclass={'install': xinstall, 'sdist': xsdist},
)
if HAVE_SETUPTOOLS:

20
xonsh/xontribs.json Normal file
View file

@ -0,0 +1,20 @@
{"xontribs": [
{"name": "mpl",
"package": "xonsh",
"url": "http://xon.sh",
"description": ["Matplotlib hooks for xonsh, including the new 'mpl' alias ",
"that dumps the current figure to the screen."]
}
],
"packages": {
"xonsh": {
"license": "BSD 3-clause",
"url": "http://xon.sh",
"install": {
"conda": "conda install -c conda-forge xonsh",
"pip": "pip install xonsh",
"aura": "sudo aura -A xonsh",
"yaourt": "yaourt -Sa xonsh"}
}
}
}

1
xontribs.json Symbolic link
View file

@ -0,0 +1 @@
xonsh/xontribs.json