forked from anki-code/xontrib-rc-awesome
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
47 lines (44 loc) · 2.22 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#!/usr/bin/env python
import setuptools
try:
with open('README.md', 'r', encoding='utf-8') as fh:
long_description = fh.read()
except (IOError, OSError):
long_description = ''
setuptools.setup(
name='xontrib-rc-awesome',
version='0.14.0.1',
license='MIT',
author='anki-code',
author_email='[email protected]',
description="Awesome snippets of code for xonshrc in xonsh shell.",
long_description=long_description,
long_description_content_type='text/markdown',
python_requires='>=3.6',
install_requires=[
'xonsh[full]', # The awesome shell.
'xontrib-prompt-bar', # The bar prompt for xonsh shell with customizable sections and Starship support.
'xontrib-back2dir', # Return to the most recently used directory when starting the xonsh shell.
'xontrib-sh', # Paste and run commands from bash, zsh, fish, tcsh in xonsh shell.
'xontrib-pipeliner', # Let your pipe lines flow thru the Python code in xonsh.
'xontrib-output-search', # Get identifiers, names, paths, URLs and words from the previous command output and use them for the next command in xonsh.
'xontrib-argcomplete', # Argcomplete support to tab completion of python and xonsh scripts in xonsh shell.
'xontrib-cmd-durations', # Show long running commands durations in prompt with option to send notification when terminal is not focused.
'xontrib-jedi', # Jedi - an awesome autocompletion, static analysis and refactoring library for Python
'xontrib-jump-to-dir', # Jump to used before directory by part of the path. Lightweight zero-dependency implementation of autojump or zoxide projects functionality.
'xontrib-clp', # Copy output to clipboard. URL: https://github.com/anki-code/xontrib-clp
# Get more xontribs:
# * https://github.com/topics/xontrib
# * https://github.com/xonsh/awesome-xontribs
# * https://xon.sh/api/_autosummary/xontribs/xontrib.html
],
extras_require={
"xxh": [
"xxh-xxh" # Using xonsh wherever you go through the ssh.
],
},
packages=['xontrib'],
package_dir={'xontrib': 'xontrib'},
package_data={'xontrib': ['*.py', '*.xsh']},
platforms='any',
)