Skip to content

Commit fb5d7b2

Browse files
committed
Update tox/travis; add Python 3.6 support.
1 parent 7aaa2ae commit fb5d7b2

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
- gback@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
@@ -23,18 +23,6 @@ def get_version():
2323
with open('README.rst') as f:
2424
readme = f.read()
2525

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

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

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 =
@@ -17,9 +17,16 @@ basepython=python2.6
1717
commands =
1818
nosetests stix
1919
deps =
20+
# Pin specific versions of LXML and python-dateutil
2021
lxml==2.3
2122
python-dateutil==1.4.1
22-
mixbox>=1.0.1
23-
cybox>=2.1.0.13.dev1
24-
maec>=4.1.0.13.dev4
25-
nose
23+
-rrequirements.txt
24+
25+
[travis]
26+
python =
27+
2.6: py26, lxml23
28+
2.7: py27, docs
29+
3.3: py33
30+
3.4: py34
31+
3.5: py35
32+
3.6: py36

0 commit comments

Comments
 (0)