Skip to content

Commit

Permalink
template
Browse files Browse the repository at this point in the history
  • Loading branch information
scivision committed Nov 16, 2017
2 parents fafceca + 8a67102 commit e7f528c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
14 changes: 7 additions & 7 deletions .travis.yml
Expand Up @@ -3,15 +3,14 @@ fast_finish: true

python:
- 3.5
- 3.7-dev
- 3.6

os:
- linux

sudo: required
dist: trusty
group: edge

env: FC=gfortran-6

notifications:
email: false
Expand All @@ -26,11 +25,12 @@ addons:
packages: gfortran-6

before_install:
- pip -q install coveralls
# temp for pip < 9.1
- pip -q install numpy
- sudo update-alternatives --install /usr/bin/gfortran gfortran /usr/bin/gfortran-6 50
- pip -q install coveralls
# temp for pip < 9.1
- pip -q install numpy

install: pip install -e .
install: pip install -e .

script:
- coverage run tests/test.py -v
Expand Down
7 changes: 5 additions & 2 deletions setup.py
Expand Up @@ -4,6 +4,10 @@
from setuptools import find_packages
from numpy.distutils.core import setup,Extension

ext = [Extension(name='lowtran7',
sources=['lowtran7.f'],
f2py_options=['--quiet'])]

setup(name='lowtran',
packages=find_packages(),
author='Michael Hirsch, Ph.D',
Expand All @@ -18,8 +22,7 @@
'Programming Language :: Python',
'Programming Language :: Python :: 3',
],
ext_modules=[Extension(name='lowtran7',sources=['lowtran7.f'],
f2py_options=['--quiet'])],
ext_modules=ext,
install_requires=req,
python_requires='>=3.5',
extras_require={'plot':['matplotlib','seaborn']},
Expand Down

0 comments on commit e7f528c

Please sign in to comment.