Browse Source

upd deployment

python3-testing-appstore
miili 4 years ago
parent
commit
76a3cd9095
  1. 4
      .travis.yml
  2. 3
      MANIFEST.in
  3. 10
      setup.py

4
.travis.yml

@ -60,8 +60,8 @@ install:
script:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then python setup.py test ; fi
# - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then coverage run --source=pyrocko setup.py test ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then coverage run --source=pyrocko test/test_response_plot.py; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then coverage run --source=pyrocko setup.py test ; fi
# - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then coverage run --source=pyrocko test/test_response_plot.py; fi
after_success:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then coveralls; fi

3
MANIFEST.in

@ -0,0 +1,3 @@
recursive-include prerequisites *
recursive-include extras *
include *.md *.tar.gz *.cfg

10
setup.py

@ -105,6 +105,15 @@ def make_prerequisites():
'"sh prerequisites/prerequisites.sh"')
def get_readme():
try:
with open(os.path.join(os.path.basename(__file__),
'README.md')) as readme:
return readme.read()
except:
return 'Failed to get long description'
def check_multiple_install():
found = []
seen = set()
@ -408,6 +417,7 @@ setup(
name=packname,
version=version,
description='A versatile seismology toolkit for Python.',
long_description=get_readme(),
author='The Pyrocko Developers',
author_email='info@pyrocko.org',
url='http://pyrocko.org',

Loading…
Cancel
Save