Skip to content

Commit

Permalink
Attempt to fix travis deployment
Browse files Browse the repository at this point in the history
Explicitely state included packages and included files for wheel and sdist builds
  • Loading branch information
ashleysommer committed Jul 10, 2020
1 parent 6e0237e commit fd0f72b
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .travis.yml
Expand Up @@ -30,14 +30,19 @@ matrix:


install:
- pip3 install --upgrade pip
- pip3 install --upgrade tox
- pip3 install --upgrade pip "poetry>=1.0.9" tox
script: travis_retry tox -e $TOX_ENV
before_deploy:
- poetry build
deploy:
provider: pypi
user: ashleysommer
skip_cleanup: true #Need skip cleanup because we build the artifacts in before_deploy
password:
secure: lq8L1Rc6jJW6URaZcmu5YOa9z8MqQkCiIxfivZlYBjbCkZLenU4/Hc7bK/ORVg+TPJZiyrfxobStFp1cX460zgQRw+3OW8f7whtRmj0qxLq9SF9szpORLrDcvSzHV/xU8GF6xAyJ83VS5UWC2TiA4yHIQyi7YkLYh9zdC370xkXMwKLQ+G2Bmqx5Y84h1wKYtpNU6RdrZiwcBTZEvZdWaoEjw5gZsd5wW8RmWDewS2SE2P6m7FXZwShB9XRGKkeC+UAXzDkp9DpZa94PQTktwXaM2yRo5Y2t1N2BBKzTT72ikFv/xr8vov157z0pdcOiEx7Xkd7Dov1fsy00KZ7If+opMgIWHaw/UnC5jwzILTAubBuFopV+SNJnLZ1EMMPsINpJF7eecj0/OoC+bEu/5Oxk8BeFO1UOoXZ4aOlzzDU6TpXP/0ULyoRtskc2UpXETRH2rapam41tbDX0JuXlfrrOFkPrB9O4jNMrm+6e9ldorGkpzKHKzZvOjp2WykMjiPzFk7GIordK96jmctwiEWG2N0HayLGsgdyT8YrhHatCZk51HZ+Jhk05zrmfPQqa+MhskIpcPfplei/sUcMD3TCN8Qw5mhyZPTbC6m/a6E3+wqw++Wos4ZMwcp71BiChdcIb/XhjG6oy/JHYV3Bth4ZuyRN1vnVzm4VDmdb5b2c=
on:
tags: true
python: 3.6
distributions: "sdist bdist_wheel"
skip_existing: true

16 changes: 16 additions & 0 deletions pyproject.toml
Expand Up @@ -24,6 +24,22 @@ classifiers = [
"Topic :: Software Development :: Libraries :: Python Modules",
"Operating System :: OS Independent"
]
packages = [
{ include = "pyshacl" },
{ include = "examples", format = "sdist" },
{ include = "benchmarks", format = "sdist" },
{ include = "test", format = "sdist" }
]
# Note, when Poetry 1.1.0 is released, we can include some of these only in the sdist
include = [
"*.md",
"*.txt",
"pyproject.toml",
"MANIFEST.in",
"pyshacl/*.pickle",
"pyshacl/*.spec"
]


[tool.poetry.dependencies]
python = "^3.6" # Compatible python versions must be declared here
Expand Down

0 comments on commit fd0f72b

Please sign in to comment.