Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build wheels #104

Merged
merged 1 commit into from
Nov 2, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,31 @@ init:
- SET PATH=%PYTHON%;%PATH%

install:
- python -m pip install -IU pip
- python -m pip install -IU setuptools wheel tox
- python -m pip install -U pip
- python -m pip install -U setuptools wheel tox

build: false

test_script:
- python -m tox --skip-missing-interpreters=false

after_test:
- python setup.py release bdist_wheel
- python setup.py bdist_wheel

artifacts:
- path: dist\*.whl
type: whl

deploy:
provider: S3
access_key_id:
secure: "KP/pEANcoiWbT6ie9cwmMseUN2Z/VZEmcN2kAlA8rdY="
secret_access_key:
secure: "kaYMEi5krUfR1pKRyXbuL7Lkxwrv6T6qwfhl0bE0BPqKCSOU1REx23OYz97UtAGq"
bucket: pallets-wheels
region: us-east-1
folder: markupsafe

branches:
only:
- master
Expand Down
31 changes: 31 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,42 @@ matrix:
sudo: required
python: "3.7"
- env: TOXENV=docs-html
- stage: wheel
sudo: required
services:
- docker
install:
- pip install cibuildwheel
script: &wheel_script
- cibuildwheel --output-dir wheelhouse
deploy: &wheel_deploy
skip_cleanup: true
provider: s3
access_key_id:
secure: "zAF4qUM+MwCDt1NmMYDgHKldcQi+J2OdC/UCLfJLA/HRzIQoulIRKBcy6IEbf4IPaejwrhPtGG2LX9fIVBWsZs/3IyInf9ywSD88IdLPO0FUHcd6ebAsQSYuG2naVC9r0G6dDZzXT8vSf4Q2OxEsdsUg+NZtOmtv45jGlnuHc5Y="
secret_access_key:
secure: "I6OUM83O0o/N8Zvxk3vI40JDjQKniSUPPyeY5H53I+DtuUfFl0JOYHXr+XKjhM/CCGT3A2lJwugE1YOXch7fc5QRxp30Dl61ASOY3QFRp2EGNPNTBi5l9NYChPSEC96t6LzZJTSqvRmC+STrpinPW03egNKPJbBU8OKYyEyJr+M="
bucket: pallets-wheels
region: us-east-1
local_dir: wheelhouse
upload-dir: markupsafe
- stage: wheel
os: osx
language: generic
install:
- pip2 install cibuildwheel
script: *wheel_script
deploy: *wheel_deploy
allow_failures:
- python: nightly
- python: pypy3
fast_finish: true

stages:
- test
- name: wheel
if: NOT type = pull_request

install:
- pip install tox

Expand Down
6 changes: 0 additions & 6 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
[metadata]
license_file = LICENSE.rst

[egg_info]
tag_build = dev

[aliases]
release = egg_info -Db ''

[tool:pytest]
testpaths = tests

Expand Down
2 changes: 1 addition & 1 deletion src/markupsafe/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
PY2, int_types, iteritems, string_types, text_type, unichr, Mapping
)

__version__ = '1.1'
__version__ = '1.1.dev'

__all__ = ['Markup', 'soft_unicode', 'escape', 'escape_silent']

Expand Down