[Pkg-bitcoin-commits] [python-quamash] 192/269: Travis CI Python 3.3 Configuration
Jonas Smedegaard
dr at jones.dk
Fri Nov 24 11:26:32 UTC 2017
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository python-quamash.
commit 586556a00d4b325884e3e7d8f56e5a8960c34bf0
Author: Mark Harviston <mark.harviston at gmail.com>
Date: Mon Jan 12 19:23:33 2015 -0800
Travis CI Python 3.3 Configuration
---
.travis.yml | 9 +++++----
setup.py | 7 ++++---
wheelhouse/PySide-1.2.2-cp33-cp33m-linux_x86_64.whl | Bin 0 -> 12499240 bytes
3 files changed, 9 insertions(+), 7 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index dea06f0..add67e4 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,14 +1,15 @@
language: python
python:
+ - "3.3"
- "3.4"
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
install:
- - sudo apt-get install libqt4-dev
- - pip install wheelhouse/PySide-1.2.2-cp34-cp34m-linux_x86_64.whl pytest
- # Travis CI servers use virtualenvs, so we need to finish the install by the following
- - python ~/virtualenv/python${TRAVIS_PYTHON_VERSION}/bin/pyside_postinstall.py -install
+ - sudo apt-get install -y libqt4-dev
+ - pip install --find-links wheelhouse/ pyside
+ - python `which pyside_postinstall.py` -install
+ - if echo $TRAVIS_PYTHON_VERSION | grep -q '^3.3'; then pip install asyncio; fi
script: py.test
cache:
directories:
diff --git a/setup.py b/setup.py
index b56223e..15b0e80 100644
--- a/setup.py
+++ b/setup.py
@@ -1,14 +1,14 @@
from setuptools import setup
import quamash
import re
-
-from pathlib import Path # safe (for now) because python 3.4 is only target
+import os.path
groups = re.findall(r'(.+?) <(.+?)>(?:,\s*)?', quamash.__author__)
authors = [x[0].strip() for x in groups]
emails = [x[1].strip() for x in groups]
-with (Path(__file__).parent / 'README.rst').open() as desc_file:
+desc_path = os.path.join(os.path.dirname(__file__), 'README.rst')
+with open(desc_path, encoding='utf8') as desc_file:
long_description = desc_file.read()
setup(
@@ -29,6 +29,7 @@ setup(
'Operating System :: Microsoft :: Windows',
'Operating System :: MacOS :: MacOS X',
'Operating System :: POSIX',
+ 'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3 :: Only',
'Environment :: X11 Applications :: Qt',
diff --git a/wheelhouse/PySide-1.2.2-cp33-cp33m-linux_x86_64.whl b/wheelhouse/PySide-1.2.2-cp33-cp33m-linux_x86_64.whl
new file mode 100644
index 0000000..1197b0a
Binary files /dev/null and b/wheelhouse/PySide-1.2.2-cp33-cp33m-linux_x86_64.whl differ
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-bitcoin/python-quamash.git
More information about the Pkg-bitcoin-commits
mailing list