Skip to content

Commit 15f669e

Browse files
committed
Update tox/travis; add Python 3.6 support.
1 parent f834236 commit 15f669e

File tree

4 files changed

+38
-37
lines changed

4 files changed

+38
-37
lines changed

.travis.yml

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,15 @@
11
language: python
22
python:
3-
- 3.5
4-
5-
env:
6-
- TOXENV=py26
7-
- TOXENV=py27
8-
- TOXENV=py33
9-
- TOXENV=py34
10-
- TOXENV=py35
11-
- TOXENV=lxml23
12-
3+
- "2.6"
4+
- "2.7"
5+
- "3.3"
6+
- "3.4"
7+
- "3.5"
8+
- "3.6"
139
install:
14-
- pip install -U tox
15-
10+
- pip install tox-travis
1611
script:
1712
- tox
18-
1913
notifications:
2014
email:
2115
- stix-commits-list@lists.mitre.org

requirements.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
1-
-e .[docs,test]
1+
maec>=4.1.0.13.dev4,<4.1.1.0 # For tests that include MAEC
2+
nose==1.3.7
3+
sphinx==1.3.6
4+
sphinx_rtd_theme==0.2.4
5+
tox==2.7.0
6+
7+
-e .

setup.py

Lines changed: 12 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,6 @@ def get_version():
2424
with open('README.rst') as f:
2525
readme = f.read()
2626

27-
extras_require = {
28-
'docs': [
29-
'Sphinx==1.3.1',
30-
'sphinx_rtd_theme==0.1.8',
31-
],
32-
'test': [
33-
'nose==1.3.0',
34-
'tox==1.6.1',
35-
'maec>=4.1.0.13,<4.1.1.0'
36-
],
37-
}
38-
3927

4028
install_requires = [
4129
'lxml>=2.3',
@@ -55,12 +43,18 @@ def get_version():
5543
url="http://stix.mitre.org",
5644
packages=find_packages(),
5745
install_requires=install_requires,
58-
extras_require=extras_require,
5946
classifiers=[
60-
"Programming Language :: Python",
61-
"Development Status :: 4 - Beta",
62-
"Intended Audience :: Developers",
63-
"License :: OSI Approved :: BSD License",
64-
"Operating System :: OS Independent",
47+
'Development Status :: 5 - Production/Stable',
48+
'Intended Audience :: Developers',
49+
'License :: OSI Approved :: BSD License',
50+
'Operating System :: OS Independent',
51+
'Programming Language :: Python :: 2',
52+
'Programming Language :: Python :: 2.6',
53+
'Programming Language :: Python :: 2.7',
54+
'Programming Language :: Python :: 3',
55+
'Programming Language :: Python :: 3.3',
56+
'Programming Language :: Python :: 3.4',
57+
'Programming Language :: Python :: 3.5',
58+
'Programming Language :: Python :: 3.6',
6559
]
6660
)

tox.ini

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py26, py27, py33, py34, py35, lxml23
2+
envlist = py26, py27, py33, py34, py35, py36, lxml23
33

44
[testenv]
55
commands =
@@ -18,9 +18,16 @@ basepython =
1818
commands =
1919
nosetests stix
2020
deps =
21+
# Pin specific versions of LXML and python-dateutil
2122
lxml==2.3
2223
python-dateutil==1.4.1
23-
mixbox>=1.0.1
24-
cybox>=2.1.0.13,<2.1.1.0
25-
maec>=4.1.0.13,<4.1.1.0
26-
nose
24+
-rrequirements.txt
25+
26+
[travis]
27+
python =
28+
2.6: py26, lxml23
29+
2.7: py27, docs
30+
3.3: py33
31+
3.4: py34
32+
3.5: py35
33+
3.6: py36

0 commit comments

Comments
 (0)