Skip to content

Commit

Permalink
Python 3.8 setup.py fixes and package build
Browse files Browse the repository at this point in the history
* TODO: Fix asyncio tests

Signed-off-by: Aleksei Stepanov <penguinolog@gmail.com>
  • Loading branch information
penguinolog committed Oct 29, 2019
1 parent 0f7bef4 commit 5ba5553
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -192,7 +192,7 @@ def get_simple_vars_from_src(
if sys.version_info[:2] < (3, 8):
ast_data = (ast.Str, ast.Num, ast.List, ast.Set, ast.Dict, ast.Tuple, ast.Bytes, ast.NameConstant, ast.Ellipsis)
else:
ast_data = ast.Constant
ast_data = (ast.Constant, ast.List, ast.Set, ast.Dict, ast.Tuple)

tree = ast.parse(src)

Expand Down
2 changes: 1 addition & 1 deletion tools/build-wheels.sh
@@ -1,6 +1,6 @@
#!/bin/bash
set -e
PYTHON_VERSIONS="cp36-cp36m cp37-cp37m"
PYTHON_VERSIONS="cp36-cp36m cp37-cp37m cp38-cp38"

# Avoid creation of __pycache__/*.py[c|o]
export PYTHONDONTWRITEBYTECODE=1
Expand Down

0 comments on commit 5ba5553

Please sign in to comment.