-
-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathsetup.py
43 lines (40 loc) · 1.7 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
#!/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.0.7',
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', # 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.
# 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',
)