mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 00:14:41 +01:00
tweaks to use subtree PLY master
This commit is contained in:
parent
dc968ad7ee
commit
423d9397f5
5 changed files with 5 additions and 5 deletions
2
setup.py
2
setup.py
|
@ -291,7 +291,7 @@ def main():
|
|||
url='https://github.com/xonsh/xonsh',
|
||||
platforms='Cross Platform',
|
||||
classifiers=['Programming Language :: Python :: 3'],
|
||||
packages=['xonsh', 'xonsh.ply', 'xonsh.ptk', 'xonsh.parsers',
|
||||
packages=['xonsh', 'xonsh.ply.ply', 'xonsh.ptk', 'xonsh.parsers',
|
||||
'xonsh.xoreutils', 'xontrib',
|
||||
'xonsh.completers', 'xonsh.prompt'],
|
||||
package_dir={'xonsh': 'xonsh', 'xontrib': 'xontrib'},
|
||||
|
|
|
@ -12,7 +12,7 @@ import pytest
|
|||
try:
|
||||
from ply.lex import LexToken
|
||||
except ImportError:
|
||||
from xonsh.ply.lex import LexToken
|
||||
from xonsh.ply.ply.lex import LexToken
|
||||
|
||||
|
||||
from xonsh.lexer import Lexer
|
||||
|
|
|
@ -9,7 +9,7 @@ import keyword as kwmod
|
|||
try:
|
||||
from ply.lex import LexToken
|
||||
except ImportError:
|
||||
from xonsh.ply.lex import LexToken
|
||||
from xonsh.ply.ply.lex import LexToken
|
||||
|
||||
from xonsh.lazyasd import lazyobject
|
||||
from xonsh.platform import PYTHON_VERSION_INFO
|
||||
|
|
|
@ -10,7 +10,7 @@ from collections import Iterable, Sequence, Mapping
|
|||
try:
|
||||
from ply import yacc
|
||||
except ImportError:
|
||||
from xonsh.ply import yacc
|
||||
from xonsh.ply.ply import yacc
|
||||
|
||||
from xonsh import ast
|
||||
from xonsh.ast import has_elts, xonsh_call
|
||||
|
|
|
@ -13,7 +13,7 @@ import contextlib
|
|||
try:
|
||||
import ply
|
||||
except ImportError:
|
||||
from xonsh import ply
|
||||
from xonsh.ply import ply
|
||||
|
||||
import xonsh.wizard as wiz
|
||||
from xonsh import __version__ as XONSH_VERSION
|
||||
|
|
Loading…
Add table
Reference in a new issue