Skip to content

Commit

Permalink
Merge pull request #46 from Nextdoor/pypi
Browse files Browse the repository at this point in the history
Publish to PyPI when we cut a release
  • Loading branch information
mrterry authored Nov 27, 2018
2 parents 7c229b2 + 13b8b59 commit c410df8
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 4 deletions.
14 changes: 13 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
language: python
dist: xenial

os:
- linux
Expand All @@ -7,9 +8,9 @@ os:

python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "3.6"

install:
- make init
Expand All @@ -19,3 +20,14 @@ before_script:
- make flake8

script: make test

deploy:
- provider: pypi
user: nextdoor
password:
secure: "DwbX/dZcX9e1/UmmQiT+tUdlrBzZKpDGXLiN8d5Vb2L8WBZmW3OP22GUHSGqpwmo5gmJZbVng04F0YoUnwutoj3ipOQFFo2Xsq0AVqiiMc9OFUa4HbfpxU2WzsRdIE71nkbgMNplHPKvOgswqci97e7OhDGPDtX4ZOWAjOn7ctmcHWhD6CweIiZffcL4cNARD22zZAaUtru8pWloPoHoYHY37aDCZJJR/8YmYrqG5V1zkadmWU1SaDvFfd/mlnEhEEtM5X3auEmty7PI+AOyfyfAQLt1GsiHeAq15CCUf/VBrKdn0j/PVYYbM4d7+CJgtxUI5k8rOgT4s3qXzU4NFlip2uf3FxqRSKKKQWDOmzEgXm4ohcYcRpVXgFqkFgM6jLPoObORzcYcm9PN9qgQTtDyfMy97gDDJmx43EN0ZDdctCFmbh0RTwchMV2/EWzl13tflB7Bv8qZocZZS80dSloknsnDfHlhYl9PHkXzzkTofCp0/8PQy54xW8whkiphEKZEpW9uoWQVzfcJiXWelBIYV+V2gCsI5ltX+AGPwGCLGlTT8XBT6wqR+0WbWydn4RWAPnlRymz6Wp1+uusobyNbQRfSjt2/Na/X4lzUFMu3tq2kpfeCBwV8t6yFrcoraMDYJSmBTqWDHstb+Ndoz8AChPkohtRZnsdik8kLWNI="
on:
tags: true
all_branches: true
condition: $TRAVIS_TAG =~ ^v[0-9]+.[0-9]+.[0-9]+[a-z]?$
distributions: "sdist bdist_wheel"
3 changes: 3 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
[metadata]
description-file = README.md

[bdist_wheel]
universal=1
7 changes: 4 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ def maybe_rm(path):
Programming Language :: Python :: 3.3
Programming Language :: Python :: 3.4
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
Programming Language :: Python :: Implementation :: CPython
Operating System :: OS Independent
"""
Expand All @@ -71,16 +72,16 @@ def maybe_rm(path):
keywords='scheduler nextdoor cron python',
packages=find_packages(),
include_package_data=True,
extras_require={
'python_version<"3.3"': ['funcsigs']
},
extras_require={'python_version<"3.3"': ['funcsigs']},
tests_require=[
'funcsigs',
'mock == 1.1.2',
'nose',
],
test_suite='nose.collector',
install_requires=[
# Note ndscheduler *only* works with 3.0.x. See the docs for more detail.
# https://apscheduler.readthedocs.io/en/latest/migration.html#from-v3-0-to-v3-2
'APScheduler == 3.0.0',
'SQLAlchemy == 1.0.0',
'future == 0.15.2',
Expand Down

0 comments on commit c410df8

Please sign in to comment.