Skip to content

Commit b4a80dd

Browse files
Merge pull request spotify#24 from tillahoffmann/travis-pypi
Use travis to publish to pypi.
2 parents 6390ba6 + 7780bd9 commit b4a80dd

File tree

4 files changed

+29
-13
lines changed

4 files changed

+29
-13
lines changed

.travis.yml

+10-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
language: python
22
python:
3-
- "3.6"
3+
- '3.6'
44
cache: pip
55
install:
6-
- pip install -r dev-requirements.txt
7-
- pip install -e .
6+
- pip install -r dev-requirements.txt
7+
- pip install -e .
88
script:
9-
- make tests
10-
- make docs
9+
- make tests
10+
- make docs
11+
deploy:
12+
provider: pypi
13+
user: tillahoffmann
14+
password:
15+
secure: o7ANxRWNMV/RlwEw37lvkOngE9UUNQag+gs4PmGy9S8rawKtx3WMf7Wu1kUvVfGYBeAR5cFEpezkEpggAYjmnFVG4HtFCQuvXh8jvfBlYsqtruEWC2YS5JOTI9yCEx3FEpcnsyqxkB7t5TAP5zJxLAZXwH0w60ORpNHoVBlzc0xy0QgUmbmcfFuHJqIqN0qRxGMXwFyakpxHrZP3irD8iBkLgNPY96yy9WqQFIZGCzyQalzsPcjVKoqJsjWjBMaG91u46izHC+8+zHwlmmG7gHjS5L/Zl7TjTlzgt1eGYOKXlHw7TDcPNoL4V5ldB5PX/dh+0LvmoCYmg7TzY2gCD5U0nPapEeWbYWoPRmJXLxRt9pjZmnIsBmluTnDqO18PBVfZw0rupRUQhl2APvSMzqxTAS4QHYxmO5739xYrkL21E4aX+V98FxWL4ujAxNFqHNWun+RKsQN5PO5wRSpQm0GQhUU+agVivBAQFvxgFlVZGaKxOrGDBOopMpgMZeKXc2E7Rle6qEcmTw4OgTUunjOE8YM5yyQjahtJ7zs0IjAx2p8qh2wKqRFZxYQx22adUWltr79YmrQrqJK+a1o+rcVkxvNOsiwRYFvH0HZhaYBOAabJAd7km6nlPEChKmYdqnpvE3JXPHdTyJVVwOo3au5r1+JPO45+OZZQTUOBGYM=

dev-requirements.txt

+9-6
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,22 @@
1-
twine==1.9.1
1+
pyzmq==16.0.3
2+
3+
twine>=1.11.0
4+
setuptools>=38.6.0
5+
26
sphinx==1.6.3
37
sphinx_rtd_theme==0.2.4
8+
nbsphinx==0.2.16
9+
pandoc==1.0.2
10+
411
pytest==3.2.1
512
pytest-cov==2.5.1
613
pylint==1.8.1
14+
715
jupyter>=1.0.0
8-
ipyparallel==6.0.2
9-
tensorflow==1.4.0
10-
nbsphinx==0.2.16
11-
pandoc==1.0.2
1216
scikit-learn==0.19.1
1317
scipy==1.0.0
1418
matplotlib==2.1.0
1519
ipywidgets==7.0.4
1620
tqdm==4.19.4
1721
line_profiler==2.0
18-
pyzmq==16.0.3
1922
imageio==2.2.0

setup.py

+9-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,15 @@
2121
if sys.version_info[0] < 3:
2222
raise RuntimeError("pythonflow requires python3 but you are using %s" % sys.version)
2323

24+
with open('README.md') as fp:
25+
long_description = fp.read()
26+
2427
with open("version.json") as fp:
2528
kwargs = json.load(fp) # pylint: disable=invalid-name
2629

27-
setup(packages=find_packages(), **kwargs)
30+
setup(
31+
packages=find_packages(),
32+
long_description=long_description,
33+
long_description_content_type="text/markdown",
34+
**kwargs,
35+
)

version.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "pythonflow",
33
"description": "Dataflow programming for python",
4-
"version": "0.1.8",
4+
"version": "0.1.9",
55
"author": "Till Hoffmann",
66
"author_email": "till@spotify.com",
77
"license": "License :: OSI Approved :: Apache Software License",

0 commit comments

Comments
 (0)