tox
This commit is contained in:
parent
352e4d194f
commit
ef882a3040
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
.tox
|
||||
*.pyc
|
||||
__pycache__
|
||||
*.egg-info
|
23
setup.py
Normal file
23
setup.py
Normal file
@ -0,0 +1,23 @@
|
||||
from setuptools import setup
|
||||
|
||||
setup(
|
||||
name='fkreplace',
|
||||
version="0.1.0",
|
||||
package_dir={'fkreplace': 'fkreplace'},
|
||||
packages=['fkreplace'],
|
||||
description='',
|
||||
long_description='',
|
||||
author='James Turk',
|
||||
author_email='james.p.turk@gmail.com',
|
||||
license='BSD',
|
||||
url='https://github.com/jamesturk/fkreplace/',
|
||||
platforms=["any"],
|
||||
classifiers=[
|
||||
'License :: OSI Approved :: BSD License',
|
||||
'Programming Language :: Python',
|
||||
'Programming Language :: Python :: 2',
|
||||
'Programming Language :: Python :: 2.7',
|
||||
'Programming Language :: Python :: 3',
|
||||
'Programming Language :: Python :: 3.4',
|
||||
],
|
||||
)
|
34
tox.ini
Normal file
34
tox.ini
Normal file
@ -0,0 +1,34 @@
|
||||
[tox]
|
||||
envlist = py27-django17, py34-django17, py27-django18, py34-django18, flake8
|
||||
|
||||
[testenv:flake8]
|
||||
deps = flake8
|
||||
commands = flake8 --ignore=E402,E731 fkreplace
|
||||
|
||||
[django17]
|
||||
deps = Django==1.7.8
|
||||
|
||||
[django18]
|
||||
deps = Django==1.8.2
|
||||
|
||||
[testenv]
|
||||
commands = python runtests.py
|
||||
|
||||
[testenv:py27-django17]
|
||||
basepython = python2.7
|
||||
deps = {[django17]deps}
|
||||
|
||||
[testenv:py34-django17]
|
||||
basepython = python3.4
|
||||
deps = {[django17]deps}
|
||||
|
||||
[testenv:py27-django18]
|
||||
basepython = python2.7
|
||||
deps = {[django18]deps}
|
||||
|
||||
[testenv:py34-django18]
|
||||
basepython = python3.4
|
||||
deps = {[django18]deps}
|
||||
|
||||
[flake8]
|
||||
max-line-length=99
|
Loading…
Reference in New Issue
Block a user