Skip to content

Commit

Permalink
Merge pull request #2 from jacquerie/deploy-on-pypi
Browse files Browse the repository at this point in the history
travis: add automatic PyPI deployment
  • Loading branch information
jacquerie committed Oct 4, 2017
2 parents 4f57524 + 86c8d7c commit 349b449
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,14 @@ script:

after_success:
- coveralls

deploy:
provider: pypi
user: inspirehep
password:
secure: "TImiF/7uL3hne5ta/ZbZVP0h6qmYD6Ik/yc0QFZ7i1VgRjJDzgsvNDwK0245XZOF1mY86qEJGAr5mumUmRvMOxUhnb76izIrbN1wqoe1RiG1/UZdM0cyCiYlRR0PjvYj48zi+hM/7SDPjSu5FNIAZ7DGoasxYnRYIyXWZQA3ZHW57RTpcddLXAjkOZg1bd7EvU+9+56P7cSQJ6ogJcS8Rr8bpZZmqrnp9/W7NX54WteVXkMHThaNhEv0GWVZ1vkxdM/rgP4fmKQ8KZvtsu0MqEJibHJmPZ8vuRUjiFVyK+WE2KKDaHuv74ESSTBnGGMN0mC+cJbpZZGnRua5KYnKmAUmn/cj7jQsXwJ84+6XTz5YHRiremh+Ar/JBjapT3NHOfajx1MYxMGU9WsVKE0aMRon6fl4bwf0DV+9Zus9WeFaf1zmGag+NWGDclU4bLaubhk08+avELnys8P4E/F4DX88IMV1As9yjtviziHpky44pm0QQezvX1+szsnYuRBjpqUHEV9pabhl3FmZyUVYc91zoRtCPUeZe7S7bz6ImkiHYomAd0mVhlbwbO9vtBrV4gBOu/YG1HX7dTO7H8SiTYOe40OPbucTEOvWkG16wD3U7maxDpLZiSCLjeH3AP4PydwX4PEnToRGT3grs5cUXuF9ZdAXXzKPwv5F3ikbMzg="
on:
branch: master
python: 2.7
distribution: sdist

6 changes: 6 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,17 @@
# granted to it by virtue of its status as an Intergovernmental Organization
# or submit itself to any jurisdiction.

"""Find the records in INSPIRE most similar to a given record or reference."""

from __future__ import absolute_import, division, print_function

from setuptools import find_packages, setup


URL = 'https://github.com/inspirehep/inspire-matcher'

readme = open('README.rst')

setup_requires = [
'autosemver~=0.0,>=0.5.2',
]
Expand Down Expand Up @@ -74,6 +78,8 @@
include_package_data=True,
zip_safe=False,
platforms='any',
description=__doc__,
long_description=readme,
setup_requires=setup_requires,
install_requires=install_requires,
tests_require=tests_require,
Expand Down

0 comments on commit 349b449

Please sign in to comment.