From f27eda16e115f46b9872ed8e06a39363b0f92e73 Mon Sep 17 00:00:00 2001 From: Kodi Arfer Date: Sat, 24 Mar 2018 12:33:25 -0700 Subject: [PATCH] Depend on an unstable version of astor We need it for Python 3.7. --- .travis.yml | 2 +- setup.py | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0d2ef6f..e5c9a7b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,7 +13,7 @@ matrix: - python: "3.7-dev" install: - pip install -r requirements-travis.txt - - pip install -e . + - pip install --process-dependency-links -e . script: pytest cache: pip after_success: make coveralls diff --git a/setup.py b/setup.py index c9dcefd..d3b8bbd 100755 --- a/setup.py +++ b/setup.py @@ -30,7 +30,7 @@ class Install(install): "." + filename[:-len(".hy")]) install.run(self) -install_requires = ['rply>=0.7.5', 'astor>=0.6', 'clint>=0.4'] +install_requires = ['rply>=0.7.5', 'astor', 'clint>=0.4'] if os.name == 'nt': install_requires.append('pyreadline>=2.1') @@ -40,6 +40,9 @@ setup( name=PKG, version=__version__, install_requires=install_requires, + dependency_links=[ + 'git+https://github.com/berkerpeksag/astor.git#egg=astor-0.7.0' + ], cmdclass=dict(install=Install), entry_points={ 'console_scripts': [