Skip to content

Commit

Permalink
Merge pull request #32 from uw-it-aca/qa
Browse files Browse the repository at this point in the history
Qa
  • Loading branch information
jlaney committed May 11, 2017
2 parents 2d6fcdc + 627c279 commit 079f234
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 27 deletions.
39 changes: 26 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,31 @@
sudo: false
language: python
python:
- "2.7"
- "3.6"
before_install:
- cp travis-ci/test_requirements.txt requirements.txt
install: pip install -r requirements.txt
- '2.7'
- '3.4'
- '3.5'
- '3.6'
before_script:
- pip install coverage
- pip install python-coveralls
- pip install pep8
- cp travis-ci/manage.py manage.py
- pip install -e .
- pip install pep8
- pip install coverage
- pip install python-coveralls
- cp travis-ci/manage.py manage.py
script:
- pep8 blti/
- coverage run --source=blti manage.py test blti
after_script:
- coveralls
- pep8 blti/
- coverage run --source=blti manage.py test blti
after_success:
- coveralls
before_deploy:
- find blti/ -name \*.pyc -exec rm {} \;
- echo $TRAVIS_TAG > blti/VERSION
deploy:
provider: pypi
server: https://pypi.python.org/pypi
user: uw-it-aca
skip_cleanup: true
password:
secure: dy9zyEUl6vrWeshxQoXpKBPVEofXfKQqHMpKpNyqKTcct1vVNimKeN2cuM7bOy9mDpZKVGIJKci+xdGAZfZ16DOJ/9Lg6tg2EcNjXM3CnT2Vw3HbFa5OZRRoWgOJbEejVDCTYGQyXSP8ekdgv92iXeSagq3MqJzZ1Xa9jGn1ykU=
on:
tags: true
python: '3.5'
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
include blti/VERSION
recursive-include blti *
1 change: 1 addition & 0 deletions blti/VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.1
31 changes: 18 additions & 13 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,38 +1,43 @@
#!/usr/bin/env python

import os
from setuptools import setup

README = open(os.path.join(os.path.dirname(__file__), 'README.md')).read()
README = """
See the README on `GitHub
<https://github.com/uw-it-aca/django-blti>`_.
"""

# The VERSION file is created by travis-ci, based on the tag name
version_path = 'blti/VERSION'
VERSION = open(os.path.join(os.path.dirname(__file__), version_path)).read()
VERSION = VERSION.replace("\n", "")

# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))

setup(
name='django-blti',
version='0.5',
version=VERSION,
packages=['blti'],
include_package_data=True,
install_requires = [
'setuptools',
'django',
install_requires=[
'Django>=1.10,<1.11',
'oauth2',
'PyCrypto'
'PyCrypto',
],
license='Apache License, Version 2.0', # example license
license='Apache License, Version 2.0',
description='A Django Application on which to build IMS BLTI Tool Providers',
long_description=README,
url='https://github.com/uw-it-aca/django-blti',
author = "UW-IT ACA",
author_email = "mikes@uw.edu",
author="UW-IT AXDD",
author_email="aca-it@uw.edu",
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License', # example license
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.6',
],
)
1 change: 0 additions & 1 deletion travis-ci/test_requirements.txt

This file was deleted.

0 comments on commit 079f234

Please sign in to comment.